Page 216
MegaRAID SAS Software User GuideChapter 5: MegaRAID Command Tool
| Recovery (Snapshot)-Related Options
5.20.6 Create a View Use the command in the following table to create a view. A view contains the content
from the Point-in-Time [PiT] when the snapshot was made..
5.20.7 Delete a View Use the command in the following table to a view..
5.20.8 Rollback to an Old Snapshot Use the command in the following table to roll the virtual drive back to an older
snapshot..
Table 116: Create a View
Convention MegaCli -Snapshot -CreateView -SnapshotTime yyyymmdd
hh:mm:ss [-viewName NameString] [-RW|RO|Blocked]
[-szXXX] -Lx -aN|-a0,1,2|-aALL \n", appNameP);
Description Creates the view on a particular snapshot.
-SnapshotTime yyyymmdd hh:mm:ss: Creates the view on the
snapshot with the time stamp yyyymmdd hh:mm:ss
-viewName NameString: (Optional) Specifies the name of the view.
-RW|RO|Blocked: (Optional) Specifies the access policy of the view.
-szXXX: (Optional) Specifies the size of the view in MB where XXX is a
decimal number.
-Lx: x specifies the source LD number for the command.
Table 117: Delete a View
Convention MegaCli -Snapshot -DeleteView [-SnapshotTime yyyymmdd
hh:mm:ss] -Lx -aN|-a0,1,2|-aALL
Description Deletes the view.
-SnapshotTime yyyymmdd hh:mm:ss: (Optional) If specified, this
action deletes the view on the snapshot with the time stamp yyyymmdd
hh:mm:ss.
-Lx: x specifies the source LD number for the command.
Table 118: Rollback to an Old Snapshot
Convention MegaCli -Snapshot -Rollback -SnapshotTime yyyymmdd
hh:mm:ss [-Force|-Y] -Lx -aN|-a0,1,2|-aALL
Description Rolls back the virtual drive to an old snapshot.
-SnapshotTime yyyymmdd hh:mm:ss: Specifies the snapshot with
the time stamp yyyymmdd hh:mm:ss to which it has to roll back.
-Force: If specified, this action overrides the warning message and causes
a rollback to an older snapshot.
-Y: If specified, this action overrides the warning message and causes a
rollback to an older snapshot.
-Lx: x specifies the source LD number for the command.