beautypg.com

8 roll back to an older snapshot, 9 display snapshot and view information – Avago Technologies MegaRAID Fast Path Software User Manual

Page 268

background image

Page 268

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Recovery (Snapshot)-Related Options

5.20.8

Roll back to an Older Snapshot

Use the command in the following table to roll the virtual drive back to an older
snapshot..

5.20.9

Display Snapshot and View

Information

Use the command in the following table to display information about the snapshot and
the view..

5.20.10 Clean the Recoverable Free
Space on the Drives in a Virtual Drive

Use the command in the following table to clean the recoverable free space on the
drives in a snapshot repository virtual drive. The free space is unused space on the
drives in a virtual drive.

Table 131: 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. The Rollback option is
supported by Preboot MegaCli not by the OS level MegaCli.

-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 option overrides the warning message and causes

a rollback to an older snapshot.

-Y

: If specified, this option overrides the warning message and causes a

rollback to an older snapshot.

-Lx

: x specifies the source LD number for the command.

Table 132: Display Snapshot and View Information

Convention

MegaCli -Snapshot -Info [-SnapshotTime yyyymmdd
hh:mm:ss | -ViewTime yyyymmdd hh:mm:ss] -Lx
-aN|-a0,1,2|-aALL

Description

Displays snapshot and view information for the source virtual drive. If the
virtual drive is a repository virtual drive, it displays the LD information, the
number of source virtual drives mapped and their target IDs and the
number of holes.

-SnapshotTime yyyymmdd hh:mm:ss

: (Optional) If specified, this

displays the snapshot information for the snapshot with the time stamp
yyyymmdd hh:mm:ss

.

-ViewTime yyyymmdd hh:mm:ss

: (Optional) If specified, this displays

the view information for the view with the time stamp yyyymmdd
hh:mm:ss

and the associated snapshot information.

-Lx

: x specifies the source LD number for the command.

Table 133: Clean the Recoverable Free Space on the Drives in a Virtual Drive

Convention

MegaCli -Snapshot -Clean -Lx -aN|-a0,1,2|-aALL

Description

Cleans the recoverable free space on the drives in a snapshot repository
virtual drive.

-Lx

: x specifies the LD number for the command. The LD must be a

repository virtual drive.