Storcli Command
컨트롤러 전체 확인
#./storcli64 /c0/eall/sall show all
1. 디스크 상태 확인
#./storcli64 /c0/e20/s4 show
-> c0은 컨트롤러 (보통 1개일때 기본 0) e는 enclosure, s4 는 slot 의 약자.
2. 타겟 디스크 확인 (교체등 작업 할 disk 불켜서 확인)
#./storcli64 /c0/e20/s4 start locate
#./storcli64 /c0/e20/s4 stop locate
3. 디스크 Offline 만들기
#./storcli64 /c0/e20/s4 set offline
#./storcli64 /c0/e20/s4 show
-> offline 잘 되었는지 show 로 다시확인
offline 잘 되었으면 물리적 제거 가능
4. 디스크 리빌드 확인
#./storcli64 /c0/e20/s4 show rebuild
#./storcli64 /c0/e20/s4 show
5. VD 상태 확인
#./storcli64 /c0/vall show
6. Hot spare 해제 및 지정
#./storcli64 /c0/e20/s12 delete hotsparedrive
#./storcli64 /c0/e20/s12 add hotsparedrive
MegaCLI 와 StorCLI command 비교 LINK