Virtual drive migration commands
NOTE: The virtual drive migration commands are not supported in Embedded MegaRAID.
The PERC Command Line Tool supports the following commands for virtual drive migration (reconstruction):
perccli /cx/vx show migrate
perccli /cx/vx start migrate type=raidx [option=add|remove drives=[e:]s|[e:]s-x|[e:]s-x,y][Force]
The detailed description for each command follows.
perccli /cx/vx show migrate
This command shows the progress of the virtual drive migrate operation in percentage.
Input example:
perccli /c0/v0 show migrate
perccli /cx/vx start migrate type=raidx [option=add|remove drives=[e:] s| [e:]s-x| [e:]s-x,y] [Force]
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:
Table 1. Virtual drive migration command options This table lists and describes the virtual drive migration command options.
Options
Value range
Description
type=raidx
RAID [0|1|5|6|10]:
The RAID level to which the virtual drive must be migrated.
[option=add|remove drives=[e:]s|[e:]s-x|[e:]s-x,y] [Force]
add: Adds the specified PD to the migrated raid level
remove: Removes the specified PD from the migrated raid level.
drives: Specifies the list of PD's which needs to be added or removed.
force: If specified, then migration will start even if any drive in the DG is secured by FDE.
Virtual drive migration can be done between the following RAID levels:
Table 2. Virtual drive migration table This table lists and describes the virtual drive migration.
Initial RAID level
Migrated RAID level
RAID 0
RAID 0
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 5
RAID 5
RAID 6
RAID 6
RAID 0
RAID 6
RAID 5
RAID 6
RAID 6
RAID 10
RAID 10
Input example:
perccli /c0/v3 start migrate type=r5 option=add drives=134:1-3