6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_vs_snap_strategy
Creates an automated snapshot strategy for hardware snapshots.
Description
If you will be taking a snapshot of a file system on a regular basis, you can create a snapshot
strategy for that file system. The strategy specifies the number of snapshots to keep and the number
of snapshots to mount on the system. You can also create naming templates for the snapshots and
the snapshot mount points.
After creating a snapshot strategy, use the GUI to create a schedule for taking the snapshots. See
the HP StoreAll Storage File System User Guide for more information.
Synopsis
Create an automated snapshot strategy:
ibrix_vs_snap_strategy -c -n NAME -k KEEP -m MOUNT [-N NAMESPEC] [-M
MOUNTSPEC]
The -c option creates an automated snapshot strategy. The other options are:
The name for the snapshot strategy.-n NAME
The number of snapshots to keep per file system, such as -k 6. For the HP 2000 Modular Smart
Array G2, the maximum is 32 snapshots per file system. For EqualLogic arrays, the maximum
is eight snapshots per file system.
-k KEEP
The number of snapshots to mount per file system, such as -m 7. The maximum number of
snapshots is seven per file system.
-m MOUNT
Snapshot name template. The template specifies a scheme for creating unique names for the
snapshots. Use the variables shown below for the template.
-N NAMESPEC
Snapshot mountpoint template. The template specifies a scheme for creating unique mount points
to the snapshots. Use the variables shown below for the template.
-M MOUNTSPEC
Variables for snapshot name and mountpoint templates. The following variables can be used:
yyyy_mm_dd_HHmmz + GMTfulldate
yyyy_mm_ddshortdate
File system namefsname
You can specify one of or more of these variables, enclosed in brackets ({ }) and separated by
underscores (_). The template can also include text strings. Following are some sample templates.
When a snapshot is created with one of these templates, the variables will be replaced with the
values shown above.
{fsname}_snap_{fulldate}
snap_{shortdate}_{fsname}
Modify an automated snapshot strategy:
ibrix_vs_snap_strategy -e -n NAME -k KEEP -m MOUNT [-N NAMESPEC] [-M
MOUNTSPEC]
Delete an automated snapshot strategy:
ibrix_vs_snap_strategy -d -n NAME
List automated snapshot strategies:
ibrix_vs_snap_strategy -l
Display information about an automated snapshot strategy:
ibrix_vs_snap_strategy -i -n NAME
212 StoreAll commands