我如何安装软件Raid-1的一半?

我有一个磁盘在一个使用软件RAID-1之上的LVM的系统中。 我似乎无法安装分区。

这里是mdadm –examine的输出

mdadm --examine /dev/sdd3 /dev/sdd3: Magic : a92b4efc Version : 00.90.00 UUID : 796cb574:f1263d29:de01a688:bcce49e1 Creation Time : Mon May 3 20:56:55 2010 Raid Level : raid1 Used Dev Size : 973828096 (928.71 GiB 997.20 GB) Array Size : 973828096 (928.71 GiB 997.20 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Sun Sep 5 14:42:20 2010 State : active Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 80fcf82e - correct Events : 0.29 Number Major Minor RaidDevice State this 0 8 3 0 active sync /dev/sda3 0 0 8 3 0 active sync /dev/sda3 1 1 8 19 1 active sync /dev/sdb3 

我怎样才能挂载这个数据呢?

你应该可以通过'mdadm –assemble / dev / md1 –run / dev / sdd3'得到–run是必须的,正常情况下,如果缺less成员磁盘,mdadm将会中止。 然后你可以做vgscan,你应该能够挂载逻辑卷。

要使VG可用,您需要执行以下操作:

vgchange --available -y vgname

那么你应该能够lvscan和相应的挂载。