Skip to content

Instantly share code, notes, and snippets.

@ngara
Created July 23, 2021 14:09
Show Gist options
  • Save ngara/42a35d59a5a0f87632b22af4e83156ef to your computer and use it in GitHub Desktop.
Save ngara/42a35d59a5a0f87632b22af4e83156ef to your computer and use it in GitHub Desktop.
ssacli simple usage
# ssacli ctrl all show
Smart Array P420i in Slot 0 (Embedded) (sn: xxxxxxx)
# ssacli ctrl slot=0 show
Smart Array P420i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
...
# ssacli ctrl slot=0 pd all show
Smart Array P420i in Slot 0 (Embedded)
Array A
physicaldrive 1I:2:1 (port 1I:box 2:bay 1, SAS HDD, 146 GB, OK)
physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SAS HDD, 146 GB, OK)
Array B
physicaldrive 2I:2:5 (port 2I:box 2:bay 5, SAS HDD, 1.2 TB, OK)
physicaldrive 2I:2:6 (port 2I:box 2:bay 6, SAS HDD, 1.2 TB, OK)
# ssacli ctrl slot=0 ld all show
Smart Array P420i in Slot 0 (Embedded)
Array A
logicaldrive 1 (136.70 GB, RAID 1, OK)
Array B
logicaldrive 2 (1.09 TB, RAID 1, OK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment