beautypg.com

Viewing automated snapshot schemes, Deleting an automated snapshot scheme, Managing block snapshots – HP StoreAll Storage User Manual

Page 256: Creating an on-demand snapshot, Mounting or unmounting a snapshot, Recovering system resources on snapshot failure

background image

Viewing automated snapshot schemes

On the Management Console, you can view snapshot schemes on the Create Snapshot dialog
box. Select Recurring as the Snapshot Type, and then select a snapshot scheme. A description of
that scheme will be displayed.

To view all automated snapshot schemes or all schemes of a specific type using the CLI, execute
the following command:

ibrix_vs_snap_strategy -l [-T TYPE]

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 Management Console, 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 Management Console, 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 Management Console, select the snapshot on the Block Snapshots panel and click Cleanup.

256 Creating block snapshots