Hp
擴展突襲 5 未擴展
我在 dl360p gen8 HP 伺服器中有一個帶有 25 個 1Tb 磁碟和一個 P421 RAID 卡的 D2700。
它被突襲為兩個raid 5,每個raid 2。我決定用它們製作一個raid 5,刪除一個raid並將磁碟添加到另一個raid。
現在幾週後用 hpssacli(對我來說是新的)查看它,它們看起來很好,所有 25 個磁碟都顯示 OK,raid 顯示 OK,但我仍然只有 11.8 TB,它應該顯示大約 23 TB..?
這就是“sudo hpssacli ctrl all show config”給我的:
Smart Array P421 in Slot 1 (sn: XXX) array A (SAS, Unused Space: 8974754 MB) logicaldrive 1 (11.8 TB, RAID 5, OK) physicaldrive 2E:1:1 (port 2E:box 1:bay 1, SAS, 1 TB, OK) physicaldrive 2E:1:2 (port 2E:box 1:bay 2, SAS, 1 TB, OK) physicaldrive 2E:1:3 (port 2E:box 1:bay 3, SAS, 1 TB, OK) physicaldrive 2E:1:4 (port 2E:box 1:bay 4, SAS, 1 TB, OK) physicaldrive 2E:1:5 (port 2E:box 1:bay 5, SAS, 1 TB, OK) physicaldrive 2E:1:6 (port 2E:box 1:bay 6, SAS, 1 TB, OK) physicaldrive 2E:1:7 (port 2E:box 1:bay 7, SAS, 1 TB, OK) physicaldrive 2E:1:8 (port 2E:box 1:bay 8, SAS, 1 TB, OK) physicaldrive 2E:1:9 (port 2E:box 1:bay 9, SAS, 1 TB, OK) physicaldrive 2E:1:10 (port 2E:box 1:bay 10, SAS, 1 TB, OK) physicaldrive 2E:1:11 (port 2E:box 1:bay 11, SAS, 1 TB, OK) physicaldrive 2E:1:12 (port 2E:box 1:bay 12, SAS, 1 TB, OK) physicaldrive 2E:1:13 (port 2E:box 1:bay 13, SAS, 1 TB, OK) physicaldrive 2E:1:14 (port 2E:box 1:bay 14, SAS, 1 TB, OK) physicaldrive 2E:1:17 (port 2E:box 1:bay 17, SAS, 1 TB, OK) physicaldrive 2E:1:18 (port 2E:box 1:bay 18, SAS, 1 TB, OK) physicaldrive 2E:1:19 (port 2E:box 1:bay 19, SAS, 1 TB, OK) physicaldrive 2E:1:20 (port 2E:box 1:bay 20, SAS, 1 TB, OK) physicaldrive 2E:1:21 (port 2E:box 1:bay 21, SAS, 1 TB, OK) physicaldrive 2E:1:22 (port 2E:box 1:bay 22, SAS, 1 TB, OK) physicaldrive 2E:1:23 (port 2E:box 1:bay 23, SAS, 1 TB, OK) physicaldrive 2E:1:24 (port 2E:box 1:bay 24, SAS, 1 TB, OK) physicaldrive 2E:1:25 (port 2E:box 1:bay 25, SAS, 1 TB, OK) physicaldrive 2E:1:15 (port 2E:box 1:bay 15, SAS, 1 TB, OK, spare) physicaldrive 2E:1:16 (port 2E:box 1:bay 16, SAS, 1 TB, OK, spare) Enclosure SEP (Vendor ID HP, Model D2700 SAS AJ941A) 378 (WWID: XXX, Port: 2E, Box: 1) Expander 379 (WWID: XXX, Port: 2E, Box: 1) SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: XXX)
這有點瘋狂……對於 RAID5 來說磁碟太多了。它被你有兩個熱備用驅動器的事實所抵消,但是該死的!
但是,您已經擴展了底層陣列,但沒有擴展邏輯驅動器。請記住,“陣列”是磁碟的物理分組。“邏輯驅動器”是您分配 RAID 級別的對象。一個陣列中可以有多個邏輯驅動器。
陣列 A(SAS,未使用空間:8974754 MB)
那是您未使用的空間,因此您可以從可用空間中創建另一個邏輯驅動器,或擴展
logicaldrive 1
.
ctrl slot=1 ld 1 modify size=?
或者ctrl slot=1 ld 1 modify size=max
<target> modify [size=#|min|max|maxmbr|?] [forced] Extends the logical drive to the specified size. The implied units are MB. max will extend the logical drive to its maximum size. maxmbr will extend to the maximum size the master partition table allows. The target can be any valid logical drive.