如何安装RAID磁盘

所以我把我的grub.conf文件搞糟了,现在正在恢复(这只是一个testing专用的服务器)。 我的磁盘是/ dev / sda1和/ dev / sdb1(RAID 1)。 现在我需要挂载/ dev / sda1并对grub文件进行更改,但是更改的内容也需要反映在第二个磁盘上。

我如何安装这些RAID磁盘? 我可以用mount -t ext3挂载一个,但是会损坏RAIDarrays。

我已经发现了,我必须让raid激活,然后用mount /dev/md1 /mnt/raid挂载它:

 How do I mount a software RAID in the Rescue System? The command: cat /proc/mdstat shows all available software RAID arrays. Normally the Rescue System assembles all autodected arrays. Should your array not be automatically started, you can manually do so with the following command: mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 Now you can mount the just created MD device with: mount /dev/md0 /mnt