6.0 HP StorageWorks X9000 File Serving Software CLI Reference (TA768-96040, October 2011)

ibrix_vs_snap
Creates or deletes file-system snapshots and cleans up after an unsuccessful snapshot session.
Description
ibrix_vs_snap creates a file-system snapshot for clusters that implement supported storage
systems. The snapshot replicates file-system entities and is managed exactly like a standard file
system. A snapshot is active from the moment that it is created.
The first snapshot task is to define the snapshot allocation policy. To do this, run the
ibrix_vs_snap -p command to define the policy type and its parameters. Once set, a snapshot
allocation policy needs to change only if a parameter value changes. When the allocation policy
is in effect, create the snapshot with ibrix_vs_snap -c.
Synopsis
Set the snapshot policy for the specified file system:
ibrix_vs_snap -p -f ORIGINFSNAME [-h HOSTLIST]
By default, the snapshot policy is to mirror the segment ownership. For example, if the file system
has segments 1–6 owned by hosts a, b, c, d, e, and f respectively, the snapshot file system will
have segments 1–6 owned by hosts a, b, c, d, e, and f respectively. The p option allows you to
override the default policy and specify segment owners according to a round robin pattern. The
segment owners are specified with the -h HOSTLIST option. Using the previous example, to
change the ownership of the segments 1–6 in the snapshot file system to hosts a, c, e, a, c, e
respectively, enter this command:
ibrix_vs_snap p f fs2 h a,c,e
Create a file-system snapshot:
ibrix_vs_snap -c -n SNAPFSNAME -f ORIGINFSNAME [-M]
The command creates snapshot SNAPFSNAME from file system ORIGINFSNAME. The -M option
automatically mounts the snapshot file system.
Delete the specified file-system snapshots:
ibrix_vs_snap -d -f SNAPFSLIST
Clean up the specified invalid snapshot file systems:
ibrix_vs_snap -r -f SNAPFSLIST
List information about file-system snapshots:
ibrix_vs_snap -i [-f SNAPFSLIST]
The command reports information for all file systems or only for those specified in SNAPFSLIST.
List file-system snapshots for all file systems on all hosts:
ibrix_vs_snap -l
Enumerate snapshot file systems:
ibrix_vs_snap -l -f ORIGINFSNAME [n STRATEGYNAME]
Run the automated snapshot procedure on a file system using the specified snapshot strategy:
ibrix_vs_snap -A -f ORIGINFSNAME n STRATEGYNAME
Options
DescriptionOption
Runs the automated snapshot procedure.-A
Automatically mounts a snapshot.-M
138 X9000 File Serving Software commands