5 delete a snapshot, 6 create a view, 7 delete a view – Avago Technologies MegaRAID Fast Path Software User Manual
Page 267

LSI Corporation Confidential
|
July 2011
Page 267
MegaRAID SAS Software User Guide
Chapter 5: MegaRAID Command Tool
|
Recovery (Snapshot)-Related Options
5.20.5
Delete a Snapshot
Use the command in the following table to delete a snapshot.
5.20.6
Create a View
Use the command in the following table to create a view. A view contains the content
from the PiT when the snapshot was made.
5.20.7
Delete a View
Use the command in the following table to a view..
Table 128: 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.
Table 129: 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 130: 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.
- MegaRAID SAS 9240-4i MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SafeStore Software MegaRAID SAS 9361-4i MegaRAID SAS 9361-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID CacheCade Pro 2.0 Software MegaRAID SAS 9341-4i MegaRAID SAS 9341-8i MegaRAID SAS 9380-8e MegaRAID SAS 9380-4i4e