HP Smart Array Controller

From Lolly's Wiki
Revision as of 12:07, 13 August 2019 by Lollypop (talk | contribs) (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 --…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

root@loop1:~# 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