Examples of Restriping and Resizing

Warning:

The operation of increasing the RAID level by replacing the disks with larger ones is not supported in xiRAID Classic 4.1.0. Please refer to the "xiRAID Classic 4.1.0 Known Issues" for more information.

Example: Restriping of the “media5” RAID with adding new drives /dev/sdf /dev/sdg /dev/sdh and RAID level changing from 5 to 6:

# xicli raid restripe start -n media5 -l 6 -d /dev/sdf /dev/sdg 
/dev/sdh

Example: Restripe the RAID “media5” by adding a new drive /dev/sdi without changing the RAID level (increasing the RAID size):

# xicli raid restripe start -n media5 -l 5 -d /dev/sdi

After restriping is finished, the RAID state is need_resize until you run

# xicli raid resize -n <raid_name>