扩展 raid 5 不扩展

扩展 raid 5 不扩展

我有一台 D2700,配备 25 个 1Tb 磁盘,以及一台 dl360p gen8 HP 服务器中的 P421 RAID 卡。

它被分成两个 raid 5,每个有 2 个备用。我决定将它们组成一个 raid 5,删除一个 raid,然后将磁盘添加到另一个 raid。

几周后,用 hpssacli(对我来说是新手)查看它,它们看起来很好,所有 25 个磁盘都显示正常,raid 显示正常,但我仍然只有 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)

答案1

这有点疯狂……对于 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.

答案2

未使用空间:8974754 MB - 即 8.55TB。这就是您丢失的空间。

您应该能够使用hpacucli命令(modify size=max参数)来扩展它。

相关内容