acfsutil snap delete

Purpose

Deletes a snapshot of an Oracle ACFS file system.

Syntax and Description

acfsutil snap delete -h
acfsutil snap delete snapshot mount_point

acfsutil snap delete -h displays help text and exits.

Table 16-99 contains the options available with the acfsutil snap delete command.


Table 16-99 Options for the acfsutil snap delete command

Option Description

snapshot

Specifies a name for the snapshot.

mount_point

Specifies the directory where the file system is mounted.


acfsutil snap delete deletes the snapshot named snapshot in the Oracle ACFS mounted on mount_point. After successful completion of the command, the representation of the snapshot in the.ACFS/snaps directory is removed. The command fails if any file within the snapshot is open on any cluster node. The disk space used by the snapshot being deleted is freed by a background task after the completion of the acfsutil snap delete command. If one of these background threads is running to clean up a deleted snapshot, then the acfsutil snap info command shows a pending delete operation. For information about the acfsutil snap info command, refer to "acfsutil snap info".

The acfsutil snap delete operation fails if the cluster is in rolling migration

Administrator privileges are required to use this command or you must be a member of the Oracle ASM administrator group.

Examples

Example 16-94 shows the use of the acfsutil snap delete command.

Example 16-94 Using the acfsutil snap delete command

$ /sbin/acfsutil snap delete midday_test1 /acfsmounts/critical_apps
acfsutil snap delete: Snapshot operation is complete.