hp raid 카드 정보에서 디스크를 확인 할 수 있는 명령어
hpsscli 다운로드
1 2 3 4 |
[root@xinet ~]# wget xinet.kr/data/hp/hpssacli-2.40-13.0.x86_64.rpm ###설치 [root@xinet ~]# rpm -Uvh hpssacli-2.40-13.0.x86_64.rpm |
1. 컨트롤러 및 디스크 상태 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
[root@xinet ~]# hpssacli ctrl all show config Smart Array P420i in Slot 0 (Embedded) (sn: 0014380301C8A80) Port Name: 1I Port Name: 2I Internal Drive Cage at Port 1I, Box 1, OK Internal Drive Cage at Port 2I, Box 0, OK array A (Solid State SATA, Unused Space: 0 MB) logicaldrive 1 (232.9 GB, RAID 0, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, Solid State SATA, 250 GB, OK) array B (SAS, Unused Space: 0 MB) logicaldrive 2 (279.4 GB, RAID 0, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK) SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 50014380301C8A8F) |
2. 컨트롤러 상태 확인
1 2 3 4 5 6 |
[root@xinet ~]# hpssacli ctrl all show status Smart Array P420i in Slot 0 (Embedded) Controller Status: OK Cache Status: Permanently Disabled Battery/Capacitor Status: Failed (Replace Batteries/Capacitors) |
3. 물리 디스크 상태 확인
1 2 3 4 |
[root@xinet ~]# hpssacli ctrl slot=0 pd all show status physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 250 GB): OK physicaldrive 1I:1:3 (port 1I:box 1:bay 3, 300 GB): OK |
4. 물리디스크 상세 확인 (개별적으로)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
[root@xinet ~]# hpssacli ctrl slot=0 pd 1I:1:2 show detail Smart Array P420i in Slot 0 (Embedded) array A physicaldrive 1I:1:2 Port: 1I Box: 1 Bay: 2 Status: OK Drive Type: Data Drive Interface Type: Solid State SATA Size: 250 GB Drive exposed to OS: False Native Block Size: 512 Firmware Revision: 401020WD Serial Number: 21420N803676 Model: ATA WDC WDS250G2B0A SATA NCQ Capable: True SATA NCQ Enabled: True SSD Smart Trip Wearout: Not Supported PHY Count: 1 PHY Transfer Rate: 6.0Gbps Drive Authentication Status: OK Carrier Application Version: 11 Carrier Bootloader Version: 6 Sanitize Erase Supported: True Unrestricted Sanitize Supported: True |
위의 상태에서 Interface Type 으로 SSD 확인하고 모델명 WDS250G2B0A 확인을 할수 있다
2번째 디스크도 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
[root@xinet ~]# hpssacli ctrl slot=0 pd 1I:1:3 show detail Smart Array P420i in Slot 0 (Embedded) array B physicaldrive 1I:1:3 Port: 1I Box: 1 Bay: 3 Status: OK Drive Type: Data Drive Interface Type: SAS Size: 300 GB Drive exposed to OS: False Native Block Size: 512 Rotational Speed: 10000 Firmware Revision: DA06 Serial Number: EB03PB506NEG Model: TOSHIBA MBF2300RC Current Temperature (C): 26 PHY Count: 2 PHY Transfer Rate: 6.0Gbps, Unknown Drive Authentication Status: OK Carrier Application Version: 11 Carrier Bootloader Version: 6 Sanitize Erase Supported: False |
디스크타입은 SAS 이고 모델은 TOSHIBA MBF2300RC 모델 / 용량은 300GB
5. 논리 드라이브 확인
1 2 3 4 5 6 7 8 9 10 11 |
[root@xinet ~]# hpssacli ctrl slot=0 ld all show Smart Array P420i in Slot 0 (Embedded) array A logicaldrive 1 (232.9 GB, RAID 0, OK) array B logicaldrive 2 (279.4 GB, RAID 0, OK) |
6.논리 드라이브 상세 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[root@xinet ~]# hpssacli ctrl slot=0 ld 1 show Smart Array P420i in Slot 0 (Embedded) array A Logical Drive: 1 Size: 232.9 GB Fault Tolerance: 0 Heads: 255 Sectors Per Track: 32 Cylinders: 59844 Strip Size: 256 KB Full Stripe Size: 256 KB Status: OK Caching: Enabled Unique Identifier: 600508B1001C09380F4DC17EB66DAD5B Disk Name: /dev/sda Mount Points: /boot 500 MB Partition Number 2, /free 182.4 GB Partition Number 3, / 10.0 GB Partition Number 4, /usr 10.0 GB Partition Number 6, /usr/local 10.0 GB Partition Number 7, /var 10.0 GB Partition Number 8, /tmp 2.0 GB Partition Number 10 OS Status: LOCKED Logical Drive Label: A1CE66E10014380301C8A80426D Drive Type: Data LD Acceleration Method: Controller Cache |