Raid

將未配置好的驅動器添加到現有驅動器組/RAID 設置

  • July 6, 2020

我有一台裝有幾個驅動器的機器。執行storcli /c0 show會產生此相關資訊等:

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

(...snip...)

PD LIST :
=======
----------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model            Sp Type 
----------------------------------------------------------------------------
0:0       2 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:1       3 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:2       4 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:3       5 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:4       6 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:5       7 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:6       8 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:7       9 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:8      10 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:9      11 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:10     12 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:11     13 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:12     14 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:13     38 UGood  - 9.094 TB SAS  HDD N   N  512B ST10000NM0096    D  -    
0:14     16 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:15     17 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:16     18 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:17     19 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:18     20 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:19     21 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:20     22 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:21     23 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:22     24 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
0:23     25 Onln   2 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:0      26 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:1      27 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:2      28 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:3      29 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:4      30 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:5      31 Onln   0 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:6      32 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:7      33 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:8      34 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:9      35 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:10     36 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
1:11     37 Onln   1 9.094 TB SAS  HDD N   N  512B ST10000NM0096    U  -    
----------------------------------------------------------------------------

如您所見,c0/e0/d13標記為 UGgood(更換驅動器後),驅動器組 2 缺少第 11 行。

storcli使用將此驅動器添加到 RAID的正確程序是什麼?我寧願通過storcli而不是重新啟動來使用(對我而言)更熟悉的 BIOS RAID 工具。

如果我使用 storcli 的舊知識對我有用,那麼這應該可以解決問題。但是,您執行這些命令是有風險的……畢竟它是您的數組……我建議您在這裡回答任何問題,並根據手冊頁等進行研究,並確保您是 100%

storcli /c0/e0/s13 插入 dg=2 數組=0 行=11

然後做 storcli /c0/e0/s13 開始重建

引用自:https://serverfault.com/questions/1024017