[HP RAID Tool] ssacli 명령어

mimic1995·2024년 12월 30일

ssacli 설치 방법

Controller Slot 조회

ssacli ctrl all show
===
Smart Array P410i in Slot 0 (Embedded)    (sn: SN_값)
===

예시 서버에서 Controller Slot=0 으로 확인되었습니다.


Controller 설정 확인

ssacli ctrl Slot=0 show (config)
===
Smart Array P410i in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Serial Number: 시리얼_값
   Cache Serial Number: 캐시_시리얼_값
   Controller Status: OK
   Hardware Revision: C
   Firmware Version: 5.70
   Firmware Supports Online Firmware Activation: False
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 15 secs
   Surface Scan Mode: Idle
   Parallel Surface Scan Supported: No
   Queue Depth: Automatic
   Monitor and Performance Delay: 60  min
   Elevator Sort: Enabled
   Degraded Performance Optimization: Disabled
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 0 secs
   Cache Board Present: True
   Cache Status: Temporarily Disabled
   Cache Status Details: Cache disabled; low backup power source.
   Cache Disable Reason: Temporary disable condition. Posted write operations have been disabled due to the fact that less than 75% of the backup power sources are at the sufficient voltage level.
   Drive Write Cache: Disabled
   Total Cache Size: 0.5
   Total Cache Memory Available: 0.4
   Battery Backed Cache Size: 0.4
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Batteries
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: Failed (Replace Batteries)
   SATA NCQ Supported: True
   Number of Ports: 2 Internal only
   Encryption: Not Set
   Driver Name: hpsa
   Driver Version: 3.4.20
   Driver Supports SSD Smart Path: True
   PCI Address (Domain:Bus:Device.Function): 0000:05:00.0
   Port Max Phy Rate Limiting Supported: False
   Host Serial Number: 시리얼_값
   Sanitize Erase Supported: False
   Primary Boot Volume: None
   Secondary Boot Volume: None
===

RAID Array 확인

ssacli ctrl slot=0 pd all show
===
Smart Array P410i in Slot 0 (Embedded)

   Array A

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA SSD, 250 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA SSD, 250 GB, Predictive Failure)

   Array B

      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA SSD, 500 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA SSD, 500 GB, OK)

   Array C

      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SATA HDD, 2 TB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SATA HDD, 2 TB, OK)
===

예시 서버에서는 3개의 RAID Array가 존재합니다. 디스크 상태나 리빌딩 상태도 확인 가능합니다.


디스크 상태만 빠르게 확인하기

ssacli ctrl slot=0 pd all show status
===
   physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 250 GB): OK
   physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 250 GB): Predictive Failure
   physicaldrive 1I:1:3 (port 1I:box 1:bay 3, 500 GB): OK
   physicaldrive 1I:1:4 (port 1I:box 1:bay 4, 500 GB): OK
   physicaldrive 2I:1:5 (port 2I:box 1:bay 5, 2 TB): OK
   physicaldrive 2I:1:6 (port 2I:box 1:bay 6, 2 TB): OK
===

Predictive Failure 란?

완벽히 Error 상태는 아니지만, Error 예상되는 디스크를 나타내어 Error 상태로 봐도 무방합니다. 교체하는 편을 권유드립니다.


디스크 모델 명 확인

ssacli ctrl slot=0 pd all show detail
===
   Array A

      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: Solid State SATA
         Size: 250 GB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Firmware Revision: M3CR023
         Serial Number: 2111E586E14B
         WWID: 3000000000000000
         Model: ATA     CT250MX500SSD1
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 44
         Maximum Temperature (C): 47
         SSD Smart Trip Wearout: Not Supported
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Sanitize Erase Supported: False
         Shingled Magnetic Recording Support: None
...
(생략)
===

모든 디스크 정보가 나오며, 간단히 보기 위해서는 아래와 같이 출력 가능합니다.

ssacli ctrl slot=0 pd all show detail | egrep 'physicaldrive|Size|Model'
===
      physicaldrive 1I:1:1
         Size: 250 GB
         Logical/Physical Block Size: 512/4096
         Model: ATA     CT250MX500SSD1
      physicaldrive 1I:1:2
         Size: 250 GB
         Logical/Physical Block Size: 512/4096
         Model: ATA     CT250MX500SSD1
      physicaldrive 1I:1:3
         Size: 500 GB
         Logical/Physical Block Size: 512/4096
         Model: ATA     CT500MX500SSD1
      physicaldrive 1I:1:4
         Size: 500 GB
         Logical/Physical Block Size: 512/4096
         Model: ATA     CT500MX500SSD1
      physicaldrive 2I:1:5
         Size: 2 TB
         Logical/Physical Block Size: 512/4096
         Model: ATA     ST2000LM015-2E81
      physicaldrive 2I:1:6
         Size: 2 TB
         Logical/Physical Block Size: 512/4096
         Model: ATA     ST2000LM015-2E81
===
profile
Raiju Hantu Goryo Obake

0개의 댓글