HP XP7 RAID Manager Reference Guide (T1610-96064)
Options and parameters
DescriptionOption
Specifies the LDEV number to be created the snapshot data. LDEV numbers for P-VOL and
S-VOL must be included.
-ldev_id <ldev#(P)>
<ldev#(S)>
Specifies the pool ID or the pool name created for Snapshot.-pool {<pool ID#> |
<pool naming>}
Specifies a name to be given for snapshot group.-snapshotgroup
<name>
Specifies the mode to create a snapshot group.[-snap_mode <mode>]
The following mode can be specified:
<mode>= CTG: For creating in CTG mode. The CTG number is allocated internally by itself.
If this option is omitted, the snapshot group is created in normal mode.
This option is effective only when a new snapshot group is to be created.
This option is ignored if this is specified for the existing snapshot group.
Examples
Adding a combination of the P-VOL (LDEV number 10:10), the S-VOL (LDEV number 20:20), and
the Pool (SnapPool00) to the snapshot group (db1).
# raidcom add snapshot -ldev_id 0x1010 0x2020 -pool SnapPool00 -snapshotgroup db1
raidcom delete snapshot
Deletes the snapshot data and the snapshot group. The relevant snapshot data of the LDEV is
deleted from the snapshot group by specifying LDEV number. When no snapshot data left in the
snapshot group, the snapshot group is deleted.
Syntax
raidcom delete snapshot {-snapshotgroup <name> | -ldev_id <ldev#>
{-mirror_id <mu#> |-snapshotgroup <name>}}
Options and parameters
DescriptionOption
Specifies the snapshot group in which the target data to be deleted is included.-snapshotgroup
<name>
If the snapshot group is specified as the target, all the snapshot data and the snapshot group
are deleted.
Specifies the LDEV number of P-VOL or S-VOL for the snapshot data to be deleted.-ldev_id <ldev#>
When P-VOL is specified, specify the snapshot data by specifying the MU number or the
snapshot group (Specifying the MU number or the snapshot group is mandatory.).
When you specify the S-VOL, do not specify a MU number or a Snapshot group. If you specify
the MU number or the Snapshot group, the P-VOL of specified LDEV number becomes the
subject of deletion.
Specifies the Mirror ID of the snapshot data to be deleted.-mirror_id <mu#>
Specifies the snapshot group to be deleted.-snapshotgroup
<name>
The smallest number of MU in the snapshot group becomes the subject to be deleted.
Examples
Deleting the snapshot data of the snapshot group (db1).
218 Configuration setting commands