123
Syntax
To create a RAID array:
storcli64 /ccontroller_id add vd rraid_level [size=<vd1_size>,..]
[name=<vdname1>,..] drives= vd_drives
[pdperarray= pdperarraynum]
[pdcache=pdcache_policy] [pi] [wt|wb|awb] [nora|ra] [strip=strip_size]
[emulationtype=emulationtype] [spares =spares_drives]
To delete a RAID array:
storcli64 /ccontroller_id/vraid_id del
Parameters
controller_id: Specifies the ID of a storage controller. If only one storage controller exists, the
ID is 0 by default. If multiple storage controllers exist, use the
storcli64 /call show command
to view the controller ID.
raid_level: Specifies the RAID level. Options include 0, 1, 5, 6, 00, 10, 50, and 60.
vd1_size: Specifies the capacity of the RAID array, in gb. If you specify all, it indicates that the
array can use all the available capacity.
vdname1: Specify the name of the logical drive.
vd_drives: Specifies member drives. The name of each member drive must be in the
enclosure_id:slot_id format, where enclosure_id represents the ID the enclosure in which the drive
resides, and slot_id represents the drive slot ID.
pdperarraynum: Specifies the number of drives in the sub-group if the RAID level is 10, 50, or
60.
pdcache_policy: Specifies the cache state for member drives. Options include on, off, and
default. Setting this field to default represents retaining the current cache state.
pi: Enables data protection.
wt|wb|awb: Specifies the write cache policy. Write through (wt) notifies the system of transmission
completion when data are written into disks. Write back (wb) notifies the system of transmission
completion when data are written into the controller cache. Always write back (awb) forces the
system to use write back when no supercapacitor is present, which may cause data loss in the
event of unexpected power-off.
nora|ra: Specifies the read cache policy. When reading data from RAID, the ra policy enables the
system to read the surrounding data and store them in the cache at the same time. When the user
accesses these data subsequently, they can be directly read from the cache, which reduces the
disk seeking time and improves read performance.
strip_size: Specifies the strip size. For an MR controller, options include 8, 16, 32, 64, 128, 256,
512, and 1024. For an iMR controller, only 64 is supported. Among all the controllers supported by
this document, only the HBA-LSI-9440-8i is an iMR controller.
emulationtype: Options include 0, 1, and 2. By default, the value is 0. 0: Displays the sector
size as 512e if member drives include a 512e drive, and 512n if member drives do not include 512e
drives. 1: Displays the sector size 512n if member drives do not include 512e drives. 2: Displays the
sector size as 512e even if member drives do not include 512e drives.
spares_drives: Specifies hot spare drives. The name of each hot spare drive is in the format of
enclosure_id:slot_id.
raid_id: Specifies the ID of the RAID array to be deleted. To obtain the ID, use
the
./storcli64 /c0/vall show command. If you specify this field to all, the command
deletes all the RAID arrays.