beautypg.com

American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 29

background image

Chapter Two: Command Set

23

Command

Argument

Description

-l / --ldname
-m/--cachemode
Cache Modes - ld
0 - None 1 - Read
2 - Write 3 - Read-Write

rescan raid

-n/--controllerno

Initiates rescanning of the storage
bus connected to the controller.

remove raid

-t/--type {spare}
-d / --diskname
-l/ --ldname (for dedicated spare)
-n/--controllerno
For example: remove -t spare -d 3 -n 0 raid
remove -t spare -l /dev/md0 -d /dev/sdb raid

Removes a drive assigned as a
spare disk or dedicated disk.

add raid

-t/--type {spare}
-d / --diskname or slotindex or
enclosurenumber:slotindex-
l/--ldname (for dedicated spare)
-n/--controllerno
For example: add -t spare -d 1:4 -n 0 raid

Adds the given drive as a global or
dedicated hot spare.

upgrade raid

-t/--type {controller}
-n/--controllerno
-o /--code
-l/ --length

Upgrades the firmware for
controller.

upgrade raid

-t/--type {pd}
-d / --diskname
-n/--controllerno
-o /--code
-l/ --length

Upgrades the firmware for a
physical disk.