Page 215
MegaRAID SAS Software User Guide Chapter 5: MegaRAID Command Tool
| Recovery (Snapshot)-Related Options
5.20.4 Set the Snapshot Properties Use the command in the following table to set the snapshot properties..
5.20.5 Delete a Snapshot Use the command in the following table to delete a snapshot.
Table 114: Set the Snapshot Properties
Convention MegaCli -Snapshot -SetProp {-AutoSnapshot -val} |
{-AutoDeleteOldestSnapshot -val} -Lx
-aN|-a0,1,2|-aALL
Description Sets the Snapshot properties such as AutoSnapshot and
AutoDeleteOldestSnapshot.
-AutoSnapshot: If the value is 0, this command disables the
AutoSnapshot feature on source virtual drive. If the value is 1, it enables the
AutoSnapshot feature on source virtual drive
-AutoDeleteOldestSnapshot: If the value is 0, this command disables
the AutoDeleteOldestSnapshot feature on the source virtual drive. If the
value is 1, it enables the AutoDeleteOldestSnapshot feature on the source
virtual drive.
-Lx: x specifies the source LD number for the command.
Table 115: Delete a Snapshot
Convention MegaCli -Snapshot -DeleteSnapshot [SnapshotTime
yyyymmdd hh:mm:ss | -all] [-force|-y] -LN| -L0,1,2
-aN|-a0,1,2|-aALL
Description Deletes the snapshot and the associated view if -Force or -Y is specified.
-SnapshotTime yyyymmdd hh:mm:ss: (Optional) If used, this action
deletes the snapshot with the time stamp that is specified in command line,
if it is the oldest PIT.
-force: If specified, this action deletes the snapshot even if it has the view
associated with it.
-y: If specified, this action deletes the snapshot even if it has the view
associated with it.
-LN: N specifies the source LD number for the command.
-L0,1,2: Specifies the command is for LDs 0, 1, and 2. You can select more
than one LD.