Page 214
MegaRAID SAS Software User GuideChapter 5: MegaRAID Command Tool
| Recovery (Snapshot)-Related Options
5.20.1 Enable the Snapshot Feature Use the command in the following table to enable the snapshot feature on a selected
virtual drive..
5.20.2 Disable the Snapshot Feature Use the command in the following table to enable the snapshot feature on a selected
virtual drive.
5.20.3 Take Snapshot of Volume Use the command in the following table to take a snapshot of a volume at designated
point in time .
Table 111: Enable the Snapshot Feature
Convention MegaCli -Snapshot -Enbl -szXXX SnapshotRepositoryLD N
[-AutoSnapshot]
[AutoDeleteOldestSnapshot] -Lx -aN|-a0,1,2|-aALL
Description Enables the snapshot on the source virtual drive for the corresponding
snapshot target virtual drive.
-szXXX: Specifies the size in MB on for the virtual drive, where XXX is a
decimal number of MB.
SnapshotRepositoryLD N: Specifies the repository LD number.
-AutoSnapshot: Optional parameter, if specified, enables the
AutoSnapshot for the source virtual drive.
-AutoDeleteOldestSnapshot: Optional parameter, if specified,
enables the AutoDeletOldestSnapshot for the source virtual drive.
-Lx: x specifies the Source LD number on which to enable snapshot.
Table 112: Disable the Snapshot Feature
Convention MegaCli -Snapshot -Dsbl -Lx -aN|-a0,1,2|-aALL
Description Command disables the snapshot on the source virtual drive.
-Lx: x specifies the Source LD number on which to disable snapshot.
Table 113: Take Snapshot of Volume
Convention MegaCli -Snapshot -TakeSnapshot [-snapshotName name]
[-CreateView [-ViewName view_name] [-RW|RO|Blocked]
[-szXXX]] -LN|-L0,1,2 -aN|-a0,1,2|-aALL \n",
appNameP);
Description Takes a snapshot of a volume at designated point in time.
-snapshotName name: (Optional) If specified, the snapshot is created
with the name you enter for it.
-CreateView: (Optional) If specified, this creates a view for the snapshot.
A view contains the content from the Point-in-Time [PiT] when the snapshot
was made.
-ViewName view_name: (Optional) Specifies the name of the view you
created.
-RW|RO|Blocked: Optional Parameter, specifies the access policy of the
view.
-szXXX: Specifies the size of the view in MB where XXX is a decimal number
-LN: N specifies the source LD number for the command.