beautypg.com

Deleting an automated snapshot scheme, Managing block snapshots, Creating an on-demand snapshot – HP StoreAll Storage User Manual

Page 176: Mounting or unmounting a snapshot, Recovering system resources on snapshot failure, Deleting snapshots

background image

To see details about a specific automated snapshot scheme, use the following command:

ibrix_vs_snap_strategy -i -n NAME

Deleting an automated snapshot scheme

A snapshot scheme can be deleted only from the CLI. Use the following command:

ibrix_vs_snap_strategy -d -n NAME

Managing block snapshots

This section describes how to manage individual snapshots.

Creating an on-demand snapshot

To take an on-demand snapshot from the GUI, select the file system where the snapshot will be
taken, and then select Block Snapshots from the lower Navigator. On the Block Snapshots panel,
click New to display the Create Snapshot dialog box. On the General tab, select Once as the
Snapshot Type and click OK.

Use the following command to create a snapshot from the CLI

ibrix_vs_snap -c -n SNAPFSNAME -f ORIGINFSNAME

For example, to create a snapshot named ifs1_snap for file system ifs1:

ibrix_vs_snap -c -n ifs1_snap -f ifs1

Mounting or unmounting a snapshot

On the GUI, select Block Snapshots from the lower Navigator, select the snapshot on the Block
Snapshots panel, and click Mount or Unmount.

Include the -M option to the create command to automatically mount the snapshot file system after
creating it. This makes the snapshot visible to authorized users. HP recommends that you do not
allow writes to any snapshot file system.

ibrix_vs_snap -c –M –n SNAPFSNAME -f ORIGINFSNAME

For example, to create and mount a snapshot named ifs1_snap for file system ifs1:

ibrix_vs_snap -c -M –n ifs1_snap -f ifs1

Recovering system resources on snapshot failure

If a snapshot encounters insufficient resources when attempting to update its contents due to changes
in the origin file system, the snapshot fails and is marked invalid. Data is no longer accessible in
the snapshot. To clean up records in the configuration database for an invalid snapshot, use the
following command from the CLI:

ibrix_vs_snap -r -f SNAPFSLIST

For example, to clean up database records for a failed snapshot named ifs1_snap:

ibrix_vs_snap -r -f ifs1_snap

On the GUI, select the snapshot on the Block Snapshots panel and click Cleanup.

Deleting snapshots

Delete snapshots to free up resources when the snapshot is no longer needed or to create a new
snapshot when you have already created the maximum allowed for your storage system.

On the GUI, select the snapshot on the Block Snapshots panel and click Delete. On the CLI, use
the following command:

ibrix_vs_snap -d -f SNAPFSLIST

For example, to delete snapshots ifs0_snap and ifs1_snap:

ibrix_vs_snap -d -f ifs0_snap,ifs1_snap

176

Creating block snapshots