Raid & Disk Management Commands - American Megatrends StorTrends User’s guide User Manual

Command line interface version 2.7
Table of Contents

Advertisement

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 diskname (For
example: /dev/sda, /dev/sdb) in the option for -d / --diskname <DiskInfo_OSName or slotindex>
Command
Argument
get raid
-t/--type {pd/ld/controller}
-c/--count
get raid
-t/--type {controller}
-a/--alarm
-n <controllerno>
list raid
-t/--type {pd/ld/controller}
list raid
-t/--type {pd/enclosure}
-n <controllerno>
list raid
-t/--type {spare}
get raid
-t/--type {pd}
-i/--info
-n/--controllerno <controller number>
-d / --diskname <Diskname or slotindex>
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
get raid
-t/--type {ld}
-l/--ldname < Logical_Osname>
-m/ --cachemode
rebuild raid
-d/--diskname <diskname or slotindex>
-l/–ldname <ldname>
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
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)
Description
Displays the number of disks,
logical drives and controllers
respectively.
Displays the alarm mode and
battery status of controllers
respectively.
Displays the list of logical drives
and controllers respectively.
Displays the list of physical drives
and enclosures for controller
respectively.
Displays the list of spare disks.
Displays the information about
specified disk.
Gets the physical disk cache mode.
Gets the logical drive cache setting.
Rebuilds a logical drive with the
specified disk drive.
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
Deletes specified logical drive.
Chapter Two: Command Set
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stortrends itx

Table of Contents