beautypg.com

8 virtual drive migration commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 37

background image

LSI Corporation

- 37 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Virtual Drives Commands

4.4.8

Virtual Drive Migration Commands

The Storage Command Line Tool supports the following commands for virtual drive migration (reconstruction):

storcli /cx/vx show migrate

storcli /cx/vx start migrate raidlevel>

[option= disk= ]

The detailed description for each command follows.

storcli /cx/vx show migrate

This command shows the progress of the virtual drive migrate operation in percentage.

Input example:

storcli /c0/v0 show migrate

storcli /cx/vx start migrate raidlevel> [option= disk= ]

This command starts the reconstruction on a virtual drive to the specified RAID level by adding or removing disks
from the existing virtual drive. You can use the following options with the start migrate command:

Virtual drive migration can be done between the following RAID levels.

NOTE The virtual drive migration commands are not supported in Embedded MegaRAID.

Table 16 Virtual Drive Migration Command Options

Options

Value Range

Description

type = RAID level

RAID [0|1|5|6]

The RAID level to which the virtual drive must be
migrated.

[option=
disk=]

add

: Adds disks to the virtual drive and starts

reconstruction.

remove

: Removes disks from the virtual drive and starts

reconstruction.

disk

: The enclosure number and the slot number of the

disks to be added to the virtual drive.

Adds or removes disks from the virtual drive.

Table 17 Virtual Drive Migration Table

Initial RAID level

Migrated RAID level

RAID 0

RAID 1

RAID 0

RAID 5

RAID 0

RAID 6

RAID 1

RAID 0

RAID 1

RAID 5

RAID 1

RAID 6

RAID 5

RAID 0

RAID 5

RAID 6

RAID 6

RAID 0

RAID 6

RAID 5