storcli with multiple disks from different enclosures

Author:

Creating a Virtual device with the AVAGO storcli command-line tool under Linux. Two examples are included:

  1. All disks are from one of the enclosure. All disks are included explicitly.
  2. Disks from two enclosures are included. One controller with two enclosures.

Check out how to Install the new storcli to manage (LSI/AVAGO/Broadcom) MegaRAID controller under CentOS 7
There are 31 disks of 36 harddisk bays. 5 are missing on purpose for the examples.

The initial states of the controller and the disks.

livecd ~ # opt/MegaRAID/storcli/storcli /c0 show
Generating detailed summary of the adapter, it may take a while to complete.

CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Success
Description = None

Product Name = LSI 2108 MegaRAID
Serial Number = FW-ABQRCBEAARBWA
SAS Address =  5003048004015f00
PCI Address = 00:06:00:00
System Time = 07/20/2020 22:58:35
Mfg. Date = 00/00/00
Controller Time = 07/20/2020 22:58:36
FW Package Build = 12.15.0-0239
FW Version = 2.130.403-4660
BIOS Version = 3.30.02.2_4.16.08.00_0x06060A05
Driver Name = megaraid_sas
Driver Version = 07.706.03.00-rc1
Vendor Id = 0x1000
Device Id = 0x79
SubVendor Id = 0x15D9
SubDevice Id = 0x700
Host Interface = PCI-E
Device Interface = SAS-6G
Bus Number = 6
Device Number = 0
Function Number = 0
Physical Drives = 31

PD LIST :
=======

-----------------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                   Sp Type 
-----------------------------------------------------------------------------------
12:0      0 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 D  -    
12:1      1 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    D  -    
12:2      2 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:3      3 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:4      4 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:5      5 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    D  -    
12:6      6 UGood -  1.817 TB SATA HDD N   N  512B TOSHIBA DT01ACA200      D  -    
12:7      7 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:8      8 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:9      9 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:10    10 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:11    11 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
37:0     13 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:1     14 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:2     15 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:3     16 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:4     17 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:6     19 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:7     20 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:8     21 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:10    23 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:11    24 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:13    26 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:14    27 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:16    29 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:17    30 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:19    32 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:20    33 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:21    34 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:22    35 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:23    36 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
-----------------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded


The manual shows (always read the manual, first!):

livecd ~ # opt/MegaRAID/storcli/storcli /c0 add help
     Storage Command Line Tool  Ver 007.0510.0000.0000 May 4, 2018

     (c)Copyright 2018, AVAGO Technologies, All Rights Reserved.


storcli /cx add vd r[0|1|5|6|00|10|50|60]
        [Size=<VD1_Sz>,<VD2_Sz>,..|all] [name=<VDNAME1>,..] 
        drives=e:s|e:s-x|e:s-x,y,e:s-x,y,z [PDperArray=x][SED]
        [pdcache=on|off|default][pi][DimmerSwitch(ds)=default|automatic(auto)|
        none|maximum(max)|MaximumWithoutCaching(maxnocache)][WT|WB|AWB][nora|ra]
        [direct|cached] [cachevd] [Strip=<8|16|32|64|128|256|512|1024>]
         [AfterVd=X] [EmulationType=0|1|2] [Spares = [e:]s|[e:]s-x|[e:]s-x,y]
        [force][ExclusiveAccess] [Cbsize=0|1|2 Cbmode=0|1|2|3|4|7] 
storcli /cx add vd each r0 [name=<VDNAME1>,..] [drives=e:s|e:s-x|e:s-x,y]
        [SED] [pdcache=on|off|default][pi] [DimmerSwitch(ds)=default|
        automatic(auto)|none|maximum(max)|MaximumWithoutCaching(maxnocache)] 
        [WT|WB|AWB] [nora|ra] [direct|cached] [EmulationType=0|1|2]
        [Strip=<8|16|32|64|128|256|512|1024>] [ExclusiveAccess]
        [Cbsize=0|1|2 Cbmode=0|1|2|3|4|7]
storcli /cx add VD cachecade r[aid][0,1,10] 
        drives = [e:]s|[e:]s-x|[e:]s-x,y [WT|WB] [assignvds = 0,1,2] 
storcli /cx add JBOD [drives=e:s|e:s-x|e:s-x,y]

Here is the output of the storcli:

Example 1) All disks are from one of the enclosure.

All disks are included explicitly because not all disks are present in the sequence from the first slot to the last one.

storcli /c0 add vd type=r6 drives=37:0,1,2,3,4,6,7,8,10,11,13,14,16,17 pdcache=on WB ra Strip=1024

All included disks are from one enclosure and only the slot IDs are enumerated separating them with commas.

The status of a successful command is “Success” and the description is “Add VD Succeeded”. The virtual drive is created successfully.

livecd ~ # opt/MegaRAID/storcli/storcli /c0 add vd type=r6 drives=37:0,1,2,3,4,6,7,8,10,11,13,14,16,17 pdcache=on WB ra Strip=1024
CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Success
Description = Add VD Succeeded


livecd ~ # opt/MegaRAID/storcli/storcli /c0 show
Generating detailed summary of the adapter, it may take a while to complete.

CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Success
Description = None

Product Name = LSI 2108 MegaRAID
Serial Number = FW-ABQRCBEAARBWA
SAS Address =  5003048004015f00
PCI Address = 00:06:00:00
System Time = 07/20/2020 22:59:28
Mfg. Date = 00/00/00
Controller Time = 07/20/2020 22:59:29
FW Package Build = 12.15.0-0239
FW Version = 2.130.403-4660
BIOS Version = 3.30.02.2_4.16.08.00_0x06060A05
Driver Name = megaraid_sas
Driver Version = 07.706.03.00-rc1
Vendor Id = 0x1000
Device Id = 0x79
SubVendor Id = 0x15D9
SubDevice Id = 0x700
Host Interface = PCI-E
Device Interface = SAS-6G
Bus Number = 6
Device Number = 0
Function Number = 0
Drive Groups = 1

TOPOLOGY :
========

----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT      Size PDC  PI SED DS3  FSpace TR 
----------------------------------------------------------------------------
 0 -   -   -        -   RAID6 Optl  N  21.816 TB enbl N  N   dflt N      N  
 0 0   -   -        -   RAID6 Optl  N  21.816 TB enbl N  N   dflt N      N  
 0 0   0   37:0     13  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   1   37:1     14  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   2   37:2     15  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   3   37:3     16  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   4   37:4     17  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   5   37:6     19  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   6   37:7     20  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   7   37:8     21  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   8   37:10    23  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   9   37:11    24  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   10  37:13    26  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   11  37:14    27  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   12  37:16    29  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   13  37:17    30  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
----------------------------------------------------------------------------

DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready

Virtual Drives = 1

VD LIST :
=======

--------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC      Size Name 
--------------------------------------------------------------
0/0   RAID6 Optl  RW     No      RWTD  -   OFF 21.816 TB      
--------------------------------------------------------------

Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked|
Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency

Physical Drives = 31

PD LIST :
=======

-----------------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                   Sp Type 
-----------------------------------------------------------------------------------
12:0      0 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 D  -    
12:1      1 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    D  -    
12:2      2 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:3      3 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:4      4 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:5      5 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    D  -    
12:6      6 UGood -  1.817 TB SATA HDD N   N  512B TOSHIBA DT01ACA200      D  -    
12:7      7 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:8      8 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:9      9 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:10    10 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
12:11    11 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 D  -    
37:0     13 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:1     14 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:2     15 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:3     16 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:4     17 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:6     19 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:7     20 Onln  0  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:8     21 Onln  0  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:10    23 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:11    24 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:13    26 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:14    27 Onln  0  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:16    29 Onln  0  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:17    30 Onln  0  1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:19    32 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:20    33 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:21    34 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:22    35 UGood -  1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:23    36 UGood -  1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
-----------------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded

Because if you use a valid range 37:0-17 (enclosure:disk_range(N-M)) with missing disks it throws an error “Invalid PDs specified”. All disks in range must be present and in “UGood” (i.e. “Unconfigured Good” state). No virtual drive is created!

livecd ~ # opt/MegaRAID/storcli/storcli /c0 add vd type=r6 drives=37:0-17 pdcache=on WB ra Strip=1024
CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Failure
Description = Invalid PDs specified

Example 2) Disks from two enclosures are included.

As can be seen in the initial state there are two enclosures with IDs 12 and 37. This time including all disks and their enclosure ID for each one:

storcli /c0 add vd type=r6 drives=37:19,37:20,37:21,37:22,37:23,12:0,12:1,12:2,12:3,12:4,12:5,12:6,12:7,12:8,12:9,12:10,12:11 pdcache=on WB ra Strip=1024

The second virtual drive is added successfully:

livecd ~ # opt/MegaRAID/storcli/storcli /c0 add vd type=r6 drives=37:19,37:20,37:21,37:22,37:23,12:0,12:1,12:2,12:3,12:4,12:5,12:6,12:7,12:8,12:9,12:10,12:11 pdcache=on WB ra Strip=1024
CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Success
Description = Add VD Succeeded


livecd ~ # opt/MegaRAID/storcli/storcli /c0 show
Generating detailed summary of the adapter, it may take a while to complete.

CLI Version = 007.0510.0000.0000 May 4, 2018
Operating system = Linux 4.19.72-gentoo
Controller = 0
Status = Success
Description = None

Product Name = LSI 2108 MegaRAID
Serial Number = FW-ABQRCBEAARBWA
SAS Address =  5003048004015f00
PCI Address = 00:06:00:00
System Time = 07/20/2020 23:00:49
Mfg. Date = 00/00/00
Controller Time = 07/20/2020 23:00:50
FW Package Build = 12.15.0-0239
FW Version = 2.130.403-4660
BIOS Version = 3.30.02.2_4.16.08.00_0x06060A05
Driver Name = megaraid_sas
Driver Version = 07.706.03.00-rc1
Vendor Id = 0x1000
Device Id = 0x79
SubVendor Id = 0x15D9
SubDevice Id = 0x700
Host Interface = PCI-E
Device Interface = SAS-6G
Bus Number = 6
Device Number = 0
Function Number = 0
Drive Groups = 2

TOPOLOGY :
========

----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT      Size PDC  PI SED DS3  FSpace TR 
----------------------------------------------------------------------------
 0 -   -   -        -   RAID6 Optl  Y  21.816 TB enbl N  N   dflt N      N  
 0 0   -   -        -   RAID6 Optl  Y  21.816 TB enbl N  N   dflt N      N  
 0 0   0   37:0     13  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   1   37:1     14  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   2   37:2     15  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   3   37:3     16  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   4   37:4     17  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   5   37:6     19  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   6   37:7     20  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   7   37:8     21  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   8   37:10    23  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   9   37:11    24  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   10  37:13    26  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   11  37:14    27  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   12  37:16    29  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 0 0   13  37:17    30  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 -   -   -        -   RAID6 Optl  N  27.270 TB enbl N  N   dflt N      N  
 1 0   -   -        -   RAID6 Optl  N  27.270 TB enbl N  N   dflt N      N  
 1 0   0   37:19    32  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   1   37:20    33  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   2   37:21    34  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   3   37:22    35  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   4   37:23    36  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   5   12:0     0   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   6   12:1     1   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   7   12:2     2   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   8   12:3     3   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   9   12:4     4   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   10  12:5     5   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   11  12:6     6   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   12  12:7     7   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   13  12:8     8   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   14  12:9     9   DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   15  12:10    10  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
 1 0   16  12:11    11  DRIVE Onln  N   1.817 TB enbl N  N   dflt -      N  
----------------------------------------------------------------------------

DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready

Virtual Drives = 2

VD LIST :
=======

--------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC      Size Name 
--------------------------------------------------------------
0/0   RAID6 Optl  RW     No      RWTD  -   OFF 21.816 TB      
1/1   RAID6 Optl  RW     No      RWTD  -   OFF 27.270 TB      
--------------------------------------------------------------

Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked|
Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency

Physical Drives = 31

PD LIST :
=======

-----------------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                   Sp Type 
-----------------------------------------------------------------------------------
12:0      0 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
12:1      1 Onln   1 1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
12:2      2 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:3      3 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:4      4 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:5      5 Onln   1 1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
12:6      6 Onln   1 1.817 TB SATA HDD N   N  512B TOSHIBA DT01ACA200      U  -    
12:7      7 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:8      8 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:9      9 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:10    10 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
12:11    11 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:0     13 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:1     14 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:2     15 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:3     16 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:4     17 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:6     19 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:7     20 Onln   0 1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:8     21 Onln   0 1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:10    23 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:11    24 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:13    26 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:14    27 Onln   0 1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:16    29 Onln   0 1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
37:17    30 Onln   0 1.817 TB SATA HDD N   N  512B Hitachi HUA723020ALA640 U  -    
37:19    32 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:20    33 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:21    34 Onln   1 1.817 TB SATA HDD N   N  512B HGST HUS722T2TALA604    U  -    
37:22    35 Onln   1 1.817 TB SATA HDD N   N  512B Hitachi HDS723020BLA642 U  -    
37:23    36 Onln   1 1.817 TB SATA HDD N   N  512B HGST HUS724020ALA640    U  -    
-----------------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded

The dmesg shows the two detected disks:

livecd ~ # dmesg|tail -n 16
[44891.251524] scsi 4:2:0:0: Direct-Access     SMC      SMC2108          2.13 PQ: 0 ANSI: 5
[44891.252069] sd 4:2:0:0: Attached scsi generic sg2 type 0
[44891.252870] sd 4:2:0:0: [sda] 46851538944 512-byte logical blocks: (24.0 TB/21.8 TiB)
[44891.253001] sd 4:2:0:0: [sda] Write Protect is off
[44891.253005] sd 4:2:0:0: [sda] Mode Sense: 1f 00 00 08
[44891.253240] sd 4:2:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[44891.277098] sd 4:2:0:0: [sda] Attached SCSI disk
[44977.512181] scsi 4:2:1:0: Direct-Access     SMC      SMC2108          2.13 PQ: 0 ANSI: 5
[44977.512652] sd 4:2:1:0: Attached scsi generic sg5 type 0
[44977.515321] sd 4:2:1:0: [sdc] 58564423680 512-byte logical blocks: (30.0 TB/27.3 TiB)
[44977.515325] sd 4:2:1:0: [sdc] 4096-byte physical blocks
[44977.515571] sd 4:2:1:0: [sdc] Write Protect is off
[44977.515575] sd 4:2:1:0: [sdc] Mode Sense: 1f 00 00 08
[44977.515954] sd 4:2:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[44977.540635] sd 4:2:1:0: [sdc] Attached SCSI disk

Note the OS just add the next free device name. sdb is the livecd that’s why it cannot be used for the raid device names.

Leave a Reply

Your email address will not be published. Required fields are marked *