HP SmartArray P410 (RAID Management)
hpacucli/hpssacli Management Tool installieren
CentOS 6
1 2 3 4 | wget https://downloads.linux.hpe.com/SDR/downloads/bootstrap.sh chmod +x bootstrap.sh ./bootstrap.sh -r 6 -d CentOS ProLiantSupportPack yum install hpacucli |
Debian 7
1 2 3 4 5 | wget https://downloads.linux.hpe.com/SDR/downloads/bootstrap.sh chmod +x bootstrap.sh ./bootstrap.sh -r wheezy -d Debian ProLiantSupportPack wget https://downloads.linux.hpe.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack -O - | apt-key add - apt-get update && apt-get install hpacucli |
Debian 8 (Name geändert in hpssacli)
1 2 | wget https://downloads.linux.hpe.com/SDR/repo/mcp/debian/pool/non-free/hpssacli-2.10-14.0_amd64.deb dpkg -i hpssacli-2.10-14.0_amd64.deb |
Ubuntu 12.04
1 2 3 4 5 6 | wget https://downloads.linux.hpe.com/SDR/downloads/bootstrap.sh chmod +x bootstrap.sh mkdir /etc/apt/sources.list.d ./bootstrap.sh -r precise -d Ubuntu ProLiantSupportPack wget https://downloads.linux.hpe.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack -O - | apt-key add - apt-get update && apt-get install hpacucli |
Module: hpsa oder cciss und sg
Nun die Command Line starten => hpacucli oder hpssacli
(oder als Befehl voran setzen)
RAID Informationen einsehen
Status u. Config abfragen / Slot herausfinden
=> ctrl all show status
1 2 3 4 | Smart Array P410 in Slot 2 Controller Status: OK Cache Status: OK Battery/Capacitor Status: OK |
=> ctrl all show config
1 2 3 4 5 6 | Smart Array P410 in Slot 2 (sn: PACCRID10480XD3) array A (SATA, Unused Space: 0 MB) logicaldrive 1 (931.5 GB, RAID 1, OK) physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 1 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 1 TB, OK) SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 5001438010C6365F) |
Logisches Volume anzeigen
=> ctrl slot=2 ld all show
1 2 3 | Smart Array P410 in Slot 2 array A logicaldrive 1 (931.5 GB, RAID 1, OK) |
Logisches Volume Details
=> ctrl slot=2 ld 1 show
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | Smart Array P410 in Slot 2 array A Logical Drive: 1 Size: 931.5 GB Fault Tolerance: RAID 1 Heads: 255 Sectors Per Track: 32 Cylinders: 65535 Strip Size: 256 KB Status: OK Array Accelerator: Enabled Unique Identifier: 600508B1001CF88530A877A49FF98415 Disk Name: /dev/cciss/c0d0 Mount Points: /mnt 931.5 GB OS Status: LOCKED Logical Drive Label: A027FA20PACCRID10480XD3C26B Mirror Group 0: physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 1 TB, OK) Mirror Group 1: physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 1 TB, OK) |
Physische Festplatten anzeigen
=> ctrl slot=2 pd all show
1 2 3 4 | Smart Array P410 in Slot 2 array A physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 1 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 1 TB, OK) |
Physische Festplatte Details
=> ctrl slot=2 pd 2I:1:1 show
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Smart Array P410 in Slot 2 array A physicaldrive 2I:1:1 Port: 2I Box: 1 Bay: 1 Status: OK Drive Type: Data Drive Interface Type: SATA Size: 1 TB Firmware Revision: HPG0 Serial Number: WCAW31157067 Model: ATA MB1000EBNCF SATA NCQ Capable: True SATA NCQ Enabled: True Current Temperature (C): 29 Maximum Temperature (C): 35 PHY Count: 1 PHY Transfer Rate: 3.0GBPS |
RAID löschen und neu anlegen
Array löschen
=> ctrl slot=2 array A delete forced
1 2 3 | 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 |
Physikalische Festplatten anzeigen
=> ctrl slot=2 pd all show
1 2 3 4 5 6 7 8 | Smart Array P410 in Slot 2 unassigned physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 2 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 2 TB, OK) physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SATA, 2 TB, OK) physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SATA, 2 TB, OK) |
RAID Level 1+0 erstellen
=> ctrl slot=2 create type=ld drives=2I:1:1,2I:1:2,2I:1:3,2I:1:4 raid=1+0
Erstellung verifizieren
=> ctrl slot=2 ld 1 show
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Smart Array P410 in Slot 2 array A Logical Drive: 1 Size: 3.6 TB Fault Tolerance: RAID 1+0 Heads: 255 Sectors Per Track: 32 Cylinders: 65535 Strip Size: 256 KB Status: OK Array Accelerator: Enabled Unique Identifier: 600508B1001CE0DD7E5ADCEC35438AED Disk Name: /dev/cciss/c0d0 Mount Points: None Logical Drive Label: AF3D91AEPACCRID10480XD3C6A8 Mirror Group 0: physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 2 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 2 TB, OK) Mirror Group 1: physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SATA, 2 TB, OK) physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SATA, 2 TB, OK) |
Defekte Festplatte finden
=> ctrl slot=2 pd all show
1 2 3 4 5 6 | Smart Array P410 in Slot 1 array A physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 1 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 1 TB, Failed) |
Slot LED blau aufleuchten lassen
=> ctrl slot=2 pd pd 2I:1:2 modify led=on
> Failed HDD im Rechenzentrum austauschen lassen <
Neue Festplatte sollte auf „Rebuilding“ stehen
=> ctrl slot=1 pd all show
1 2 3 4 5 6 | Smart Array P410 in Slot 1 array A physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 1 TB, OK) physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 1 TB, Rebuilding) |
LED wieder abschalten, funktioniert nicht automatisch!
=> ctrl slot=1 pd 2I:1:2 modify led=off
Rebuild Status abfragen (in %)
=> ctrl slot=1 ld all show
1 2 3 4 5 | Smart Array P410 in Slot 1 array A logicaldrive 1 (931.5 GB, RAID 1, Recovering, 1% complete) |
Cache auslesen & aktivieren
=> controller slot=1 show
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 30 31 | Smart Array P410 in Slot 1 Bus Interface: PCI Slot: 1 Serial Number: PACCRID12270DPQ Cache Serial Number: PAAVPID122707PQ RAID 6 (ADG) Status: Disabled Controller Status: OK Hardware Revision: Rev C Firmware Version: 5.14 Rebuild Priority: Medium Expand Priority: Medium Surface Scan Delay: 15 secs Surface Scan Mode: Idle Queue Depth: Automatic Monitor and Performance Delay: 60 min Elevator Sort: Enabled Degraded Performance Optimization: Disabled Inconsistency Repair Policy: Disabled Wait for Cache Room: Disabled Surface Analysis Inconsistency Notification: Disabled Post Prompt Timeout: 0 secs Cache Board Present: True Cache Status: OK Accelerator Ratio: 25% Read / 75% Write Drive Write Cache: Disabled Total Cache Size: 512 MB No-Battery Write Cache: Enabled Cache Backup Power Source: Batteries Battery/Capacitor Count: 1 Battery/Capacitor Status: OK SATA NCQ Supported: True |
=> controller slot=1 modify drivewritecache=enable
1 2 3 4 5 6 7 | Warning: Without the proper safety precautions, use of write cache on physical drives could cause data loss in the event of power failure. To ensure data is properly protected, use redundant power supplies and Uninterruptible Power Supplies. Also, if you have multiple storage enclosures, all data should be mirrored across them. Use of this feature is not recommended unless these precautions are followed. Continue? (y/n) y |