扩展RAID 5不扩展

在dl360p gen8 HP服务器中,我有一个带有25个1Tb磁盘的D2700,并带有一个P421 RAID卡。

它被突击搜查了两次,每次两次。 我决定做一个突袭5,删除一个raid,并将磁盘添加到另一个。

现在几个星期后用hpssacli(对我来说是新的)来看,他们看起来很好,所有25个磁盘都显示OK,RAID显示OK,但是我仍然只有11.8TB,应该显示大约23TB。

这就是“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太多的磁盘。 这是由你有两个热备用驱动器的事实抵消, 但该死!

但是,您已经扩展了基础数组,但不是逻辑驱动器。 请记住,“arrays”是磁盘的物理分组。 “逻辑驱动器”是您分配RAID级别的内容。 arrays中可以有多个逻辑驱动器。

arraysA(SAS,未使用的空间:8974754 MB)

这是您未使用的空间,所以您可以在可用空间中创build另一个逻辑驱动器,或者展开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. 

未使用的空间:8974754 MB – 即8.55TB。 有你的空间。

你应该可以用hpacucli命令来扩展它( modify size=max参数)。