Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_raid [2018/06/01 19:40]
warmachine
linux_raid [2022/01/26 16:36] (current)
warmachine
Line 2: Line 2:
  
 http://kb.gtkc.net/hp-smart-array-cli-commands/ http://kb.gtkc.net/hp-smart-array-cli-commands/
 +
 +https://binaryimpulse.com/2013/09/hp-array-configuration-utility-command-cheat-sheet/
 +
 +these commands will show you RAID controller status, config, and details:
  
 hpssacli ctrl all show config hpssacli ctrl all show config
Line 8: Line 12:
  
 hpssacli ctrl all show detail hpssacli ctrl all show detail
 +
 +pd is required to show details from the actual arrays and drives themselves:
 +
 +apt install pd
 +
 +/opt/hp/hpssacli/bld/hpssacli ctrl slot=1 pd all show status
 +
 +output should looke like this:
 +
 +root@Violet-Nas-01:# /opt/hp/hpssacli/bld/hpssacli ctrl slot=1 pd all show status
 +
 +   physicaldrive 2I:0:5 (port 2I:box 0:bay 5, 6001.1 GB): OK
 +   physicaldrive 2I:0:6 (port 2I:box 0:bay 6, 6001.1 GB): OK
 +   physicaldrive 2I:0:7 (port 2I:box 0:bay 7, 6001.1 GB): OK
 +   physicaldrive 2I:0:8 (port 2I:box 0:bay 8, 6001.1 GB): OK
 +   physicaldrive 1I:0:1 (port 1I:box 0:bay 1, 8001.5 GB): OK
 +   physicaldrive 1I:0:2 (port 1I:box 0:bay 2, 8001.5 GB): OK
 +   physicaldrive 1I:0:3 (port 1I:box 0:bay 3, 8001.5 GB): OK
 +   physicaldrive 1I:0:4 (port 1I:box 0:bay 4, 8001.5 GB): OK
 +
 +/opt/hp/hpssacli/bld/hpssacli ctrl slot=1 pd all show detail
 +
 +output should look like this:
 +
 +root@Violet-Nas-01:/opt/hp/hpssacli/bld# /opt/hp/hpssacli/bld/hpssacli ctrl slot=1 pd all show detail
 +
 +Smart Array P410 in Slot 1
 +
 +   array A
 +
 +      physicaldrive 2I:0:5
 +         Port: 2I
 +         Box: 0
 +         Bay: 5
 +         Status: OK
 +         Drive Type: Data Drive
 +         Interface Type: SATA
 +         Size: 6001.1 GB
 +         Drive exposed to OS: False
 +         Native Block Size: 4096
 +         Rotational Speed: 7200
 +         Firmware Revision: FS2A
 +         Serial Number: 183SK2XDF56D
 +         Model: ATA     TOSHIBA HDWE160
 +         SATA NCQ Capable: True
 +         SATA NCQ Enabled: True
 +         Current Temperature (C): 38
 +         Maximum Temperature (C): 43
 +         PHY Count: 1
 +         PHY Transfer Rate: 3.0Gbps
 +         Sanitize Erase Supported: False
 +
 +      physicaldrive 2I:0:6
 +         Port: 2I
 +         Box: 0
 +         Bay: 6
 +         Status: OK
 +         Drive Type: Data Drive
 +         Interface Type: SATA
 +         Size: 6001.1 GB
 +         Drive exposed to OS: False
 +         Native Block Size: 4096
 +         Rotational Speed: 7200
 +         Firmware Revision: FS2A
 +         Serial Number: 183BK3L4F56D
 +         Model: ATA     TOSHIBA HDWE160
 +         SATA NCQ Capable: True
 +         SATA NCQ Enabled: True
 +         Current Temperature (C): 38
 +         Maximum Temperature (C): 43
 +         PHY Count: 1
 +         PHY Transfer Rate: 3.0Gbps
 +         Sanitize Erase Supported: False
 +
 +etc..
 +
 +
 +need to test:
 +
 +/opt/hp/hpssacli/bin/hpssacli ctrl slot=1 ld 2 modify led=on
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
Last modified: le 2018/06/01 19:40