![在不丢失数据的情况下恢复 RAID 1 Centos](https://linux22.com/image/698284/%E5%9C%A8%E4%B8%8D%E4%B8%A2%E5%A4%B1%E6%95%B0%E6%8D%AE%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E6%81%A2%E5%A4%8D%20RAID%201%20Centos.png)
有人可以提供关于如何同步 RAID 1 与 2 HD 1TB 的完整指南。
情况如下:
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md2 : active raid1 sdb2[1]
20478912 blocks [2/1] [_U]
md3 : active raid1 sdb3[1]
1932506048 blocks [2/1] [_U]
bitmap: 15/15 pages [60KB], 65536KB chunk
unused devices: <none>
# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
# Start End Size Type Name
1 40 2048 1004,5K BIOS boot parti primary
2 4096 40962047 19,5G Linux RAID primary
3 40962048 3905974271 1,8T Linux RAID primary
4 3905974272 3907020799 511M Linux swap primary
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md3: 1978.9 GB, 1978886193152 bytes, 3865012096 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 21.0 GB, 20970405888 bytes, 40957824 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
我不想单独进行,因为我确定不会删除数据。
非常感谢。