将 raid 分区重新添加到 md 设备中 – Dell Software RAID with Red Hat Enterprise Linux4 User Manual
Page 17

Red Hat Enterprise Linux 4 提供的软件 RAID
15
将 RAID 分区重新添加到 md 设备中
接下来,将分区重新添加到每个 RAID 设备中。
要将分区 sdb1 重新添加到 md0 设备中并重建该分区上的数据,请使用以下命令:
mdadm -a /dev/md0 /dev/sdb1
当分区正在重建时,请运行 watch cat /proc/mdstat 命令来跟踪状态,该命令将显示状
态和已完成的重建百分比。显示的状态类似如下所示:
md2 : active raid1 sdb3[2] sda3[0]
5116608 blocks [2/1] [U_][=>..............] recovery = 7.7%
(397888/5116608) finish=1.7mins
在重建完成之后,watch cat /proc/mdstat 对于示例设备将显示以下输出:
md0 : active raid1] sda1[0] sdb1[1]
104320 blocks [2/2] [UU]
请使用 mdadm -a 命令将每个分区重新添加到各自的 RAID 设备中。
在添加所有分区之后,运行“准备系统,以防驱动器故障”中所述的 GRUB 命令,
以便在新磁盘的 MBR 上安装 GRUB。执行此步骤之后,RAID 配置将完全恢复。
See also other documents in the category Dell Computer hardware:
- PowerEdge RAID Controller H700 (56 pages)
- PowerEdge RAID Controller H700 (200 pages)
- PowerEdge RAID Controller H700 (178 pages)
- PowerVault TL2000 (116 pages)
- PowerVault 130T DLT (Tape Library) (49 pages)
- PowerVault TL2000 (1 page)
- PowerVault 110T DLT VS80 (Tape Drive) (49 pages)
- PowerVault TL2000 (22 pages)
- PowerVault TL4000 (306 pages)
- PowerVault TL2000 (2 pages)
- PowerVault TL4000 (2 pages)
- PowerVault TL2000 (176 pages)
- PowerVault TL2000 (16 pages)
- PowerVault TL2000 (3 pages)
- PowerEdge 800 (24 pages)
- PowerEdge 800 (82 pages)
- PowerEdge 800 (2 pages)
- PowerEdge 800 (27 pages)
- PowerEdge 800 (28 pages)
- PowerEdge 800 (58 pages)
- PowerEdge 800 (87 pages)
- PowerEdge 6400 (86 pages)
- PowerVault 124T (64 pages)
- PowerVault 124T (56 pages)
- PowerVault 124T (66 pages)
- PowerVault 124T (57 pages)
- PowerVault 110T LTO (Tape Drive) (28 pages)
- PowerVault 124T (55 pages)
- PowerVault 124T (73 pages)
- PowerVault 124T (65 pages)
- PowerVault 124T (4 pages)
- PowerVault 124T (79 pages)
- PowerVault 124T (2 pages)
- PowerVault TL4000 (2 pages)
- PowerVault TL4000 (16 pages)
- PowerVault TL4000 (116 pages)
- PowerVault TL4000 (1 page)
- PowerVault TL4000 (66 pages)
- PowerVault TL4000 (22 pages)
- PowerVault TL4000 (3 pages)
- PowerVault TL4000 (176 pages)
- PowerEdge RAID Controller 6i (120 pages)
- PowerEdge RAID Controller 6i (156 pages)
- PowerVault 715N (Rackmount NAS Appliance) (10 pages)
- PowerVault 715N (Rackmount NAS Appliance) (86 pages)