HP Smart Array Controller: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „Kategorie:Hardware === Install the tool === <source lang=bash> # echo "deb http://downloads.linux.hpe.com/SDR/downloads/MCP/ubuntu $(lsb_release --short --…“)
 
Line 9: Line 9:
=== Revive formerly failed disk ===
=== Revive formerly failed disk ===
<source lang=bash>
<source lang=bash>
root@loop1:~# lsscsi  
# lsscsi  
[0:0:0:0]    storage HP      P440ar          2.52  -         
[0:0:0:0]    storage HP      P440ar          2.52  -         
[0:1:0:0]    disk    HP      LOGICAL VOLUME  2.52  /dev/sda  
[0:1:0:0]    disk    HP      LOGICAL VOLUME  2.52  /dev/sda  

Revision as of 12:07, 13 August 2019

Kategorie:Hardware

Install the tool

# echo "deb http://downloads.linux.hpe.com/SDR/downloads/MCP/ubuntu $(lsb_release --short --codename)/current non-free" >> /etc/apt/sources.list.d/hp.list
# curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | sudo apt-key add -
# apt update && apt install --yes ssacli

Revive formerly failed disk

# lsscsi 
[0:0:0:0]    storage HP       P440ar           2.52  -        
[0:1:0:0]    disk    HP       LOGICAL VOLUME   2.52  /dev/sda 
[0:1:0:1]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdb 
[0:1:0:2]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdc 
[0:1:0:3]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdd 
[0:1:0:5]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdf 
# ssacli ctrl slot=0 ld all show status

   logicaldrive 1 (279.37 GB, RAID 0): OK
   logicaldrive 2 (931.48 GB, RAID 0): OK
   logicaldrive 3 (279.37 GB, RAID 0): OK
   logicaldrive 4 (931.48 GB, RAID 0): OK
   logicaldrive 5 (279.37 GB, RAID 0): Failed
   logicaldrive 6 (931.48 GB, RAID 0): OK

# ssacli ctrl slot=0 ld 5 modify reenable forced
# ssacli ctrl slot=0 ld all show status

   logicaldrive 1 (279.37 GB, RAID 0): OK
   logicaldrive 2 (931.48 GB, RAID 0): OK
   logicaldrive 3 (279.37 GB, RAID 0): OK
   logicaldrive 4 (931.48 GB, RAID 0): OK
   logicaldrive 5 (279.37 GB, RAID 0): OK
   logicaldrive 6 (931.48 GB, RAID 0): OK
# lsscsi 
[0:0:0:0]    storage HP       P440ar           2.52  -        
[0:1:0:0]    disk    HP       LOGICAL VOLUME   2.52  /dev/sda 
[0:1:0:1]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdb 
[0:1:0:2]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdc 
[0:1:0:3]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdd 
[0:1:0:4]    disk    HP       LOGICAL VOLUME   2.52  /dev/sde 
[0:1:0:5]    disk    HP       LOGICAL VOLUME   2.52  /dev/sdf