Chapter Two: Command Set

21
RAID & Disk Management Commands

These commands allow management of disks and RAID creation.

For Hardware RAID please enter the Slotindex (For example: 1, 2,3, and so on) instead of diskna me (For

example: /dev/sda, /dev/sdb) in the option for -d / --diskname <DiskInfo_OSName or slotindex>

Command Argument Description
get raid -t/--type {pd/ld/controller}
-c/--count
Displays the number of disks,
logical drives and controllers
respectively.
get raid -t/--type {controller}
-a/--alarm
-n <controllerno>
Displays the alarm mode and
battery status of controllers
respectively.
list raid -t/--type {pd/ld/controller}
Displays the list of logical drives
and controllers respectively.
list raid -t/--type {pd/enclosure}
-n <controllerno>
Displays the list of physical drives
and enclosures for controller
respectively.
list raid -t/--type {spare}
Displays the list of spare disks.
get raid -t/--type {pd}
-i/--info
-n/--controllerno <controller number>
-d / --diskname <Diskname or slotindex>
Displays the information about
specified disk.
get raid -t/--type {pd}
-d/--diskname <diskname or slotindex>
-n <ControllerNo>
-m/--cachemode
For example: get –t pd –d 1 –n 0 –m raid
Gets the physical disk cache mode.
get raid -t/--type {ld}
-l/--ldname < Logical_Osname>
-m/ --cachemode
Gets the logical drive cache setting.
rebuild raid -d/--diskname <diskname or slotindex>
-l/–ldname <ldname>
Rebuilds a logical drive with the
specified disk drive.
create raid -t/--type {ld}
-s/ --disksize <disksize optional in GB>
-p/--stripesize <stripe size 64 KB>
-d / --diskname <diskname or slotindex>
-a/--sparediskname <sparediskname> (optional)
-e/--distspare <distributedspare> (optional)
-r / --raidlevel <raid
level(0/1/3/5/6/10/1N/10N/50/60) >
-m/--cachemode <cachemode>
-b/--subdisk <subdiskcount>
-n/--controllerno <controllerno>
For example:
cli create -t ld -p 64 -d 1:5 -d 1:6 -r 0 -m
WriteThrough:ReadAhead:Cached -n 0 raid
Creates a logical drive.
-s/ --disksize – only supported for
3U
For LSI RAID Controller - Cache
Modes Format -
writecache:readcache:cachemode
writecache values - WriteThrough
/ WriteBack / ForceWriteBack
readcache values -
ReadAheadNone / ReadAhead /
ReadAdaptive
cachemode values - Direct /
Cached
-p/ --stripesize – only 64 kb
supported for 3U
Minimum LD size: 10 GB
delete raid -t/--type {ld}
-l / --ldname <drivename>
For example: delete –t ld –l /dev/md1 raid (1U)
For example: delete –t ld –l /dev/sdb raid (3U)
Deletes specified logical drive.