카테고리 없음
[HPE] ssacli
PeamS
2025. 10. 2. 10:37
INTRO
SmartArray 전용 레이드 관리 툴
MegaRaid 계열은 안됩니다. (storcli 사용해야 함.)
다운로드 :
- https://downloads.linux.hpe.com/SDR/repo/mcp/
ssacli
- ssacli 만 입력하면 CLI 모드로 전환 가능 / ssacli 명령 생략 가능
[root@localhost ~]# ssacli
Smart Storage Administrator CLI 6.45.8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=>
SHOW
ssacli ctrl all show config [detail]
- 전체 구성 확인 / slot 번호 모를 때 쓰면 좋음
[root@localhost ~]# ssacli ctrl all show config
HPE Smart Array P408i-a SR Gen10 in Slot 0 (Embedded) (sn: 0000)
Internal Drive Cage at Port 1I, Box 1 (Index 0), OK
Internal Drive Cage at Port 2I, Box 1 (Index 1), OK
Port Name: 1I (Mixed)
Port Name: 2I (Mixed)
Array A (Solid State SATA, Unused Space: 0 MB)
logicaldrive 1 (447.08 GB, RAID 0, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA SSD, 240 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA SSD, 240 GB, OK)
Unassigned
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS HDD, 600 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS HDD, 600 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS HDD, 600 GB, OK)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS HDD, 600 GB, OK)
SEP (Vendor ID HPE, Model Smart Adapter) 379 (WWID: 00000000000)
CREATE
ssacli ctrl slot=0 create type=ld drives=[port:box:bay] raid=[0, 1, 5, 6]
- 레이드 생성하기
[root@localhost ~]# ssacli ctrl slot=0 create type=ld drives=1I:1:3 raid=0
Warning: One or more selected drives are currently exposed to the OS. This
action will cause the physical drive(s) to be removed from the
operating system. Continue? (y/n)y
DELETE
ssacli ctrl slot=0 ld [LogicalDrive Number] delete
- 레이드 지우기 (번호 잘 체크해서 지우기)
[root@localhost ~]# ssacli ctrl slot=0 ld 2 delete
Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C
Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) y