meta data for this page
  •  

This is an old revision of the document!


ssacli

Source: HPE Storage Controller Management (ssacli)

ssacli controller slot=2 show
ssacli controller slot=2 show config
ssacli ctrl all show status
 
# Show all physical drives
ssacli ctrl slot=2 pd all show
ssacli ctrl slot=2 pd all show detail
 
# Show all logical drives
ssacli ctrl slot=2 ld all show
ssacli ctrl slot=2 ld all show detail
 
# Show arrays
ssacli ctrl slot=2 array all show detail

cache ratio

Default cache ratio is: Cache Ratio: 10% Read / 90% Write

To set new cache ratio (read/write): ssacli ctrl slot=2 modify cacheratio=50/50

disable physical drive write cache

ssacli ctrl slot=2 modify dwc=disable

rebuild priority

Set high rebuild priority: ssacli ctrl slot=2 modify rp=high

Show rebuild priority: ssacli ctrl slot=2 modify rp=?

RAID5

# Create
ssacli ctrl slot=2 create type=ld drives=5I:1:4,5I:1:9,5I:1:12 raid=5 stripsize=1024
 
# Add 2 more drivers:
ssacli ctrl slot=2 ld all show
ssacli ctrl slot=2 pd all show
ssacli ctrl slot=2 ld 2 add drives=5I:1:7,5I:1:10
 
ssacli ctrl slot=2 array B show detail
 
# Resize ld 2 to max size
ssacli ctrl slot=2 ld 2 modify size=max
ssacli ctrl slot=2 array B show detail