Info
Content

Useful (hp)ssacli commands


Show all drives and how they are configured:
ssacli ctrl all show config

Show detailed configured settings of all present raid controllers:
ssacli ctrl all show detail

Show detailed information for each physical drive connected to the raid controller:
ssacli ctrl slot=0 pd all show detail

Rescan for new devices:
ssacli rescan

Create new RAID 0 Logical Drive
ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0

Create new RAID 1 Logical Drive:
ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1
 
Create new RAID 5 Logical Drive:
ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5

Create new RAID 6 Logical Drive:
ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=6

Create new RAID 10 Logical Drive
ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7 raid=10

Delete Logical Drive:
ssacli ctrl slot=0 ld 2 delete

Add one or more new drives to an existing Logical Drive:
ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7

Add one or more new drives to an existing Logical Drive as a hot spare:
ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7

Enable Drive Write Cache:
ssacli ctrl slot=0 modify dwc=enable

Disable Drive Write Cache:
ssacli ctrl slot=0 modify dwc=disable

Modify the cache read/write ratio:
ssacli ctrl slot=0 modify cacheratio=10/90

Turn on Physical Disk identifier LED:
ssacli ctrl slot=0 ld 2 modify led=on

Turn off Physical Disk identifier LED:
ssacli ctrl slot=0 ld 2 modify led=off

Enable caching even when no battery is present.
ssacli ctrl slot=0 modify nbwc=enable

Enable SSD Smart Path:
ssacli ctrl slot=0 array a modify ssdsmartpath=enable

Disable SSD Smart Path:
ssacli ctrl slot=0 array a modify ssdsmartpath=disable

No Comments
Back to top