创建磁盘阵列 --raid-devices个数为2 而只想挂载一个devices


命令: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hd[ac]1

解释:Create /dev/md0 as a RAID1 array consisting of /dev/hda1 and /dev/hdc1.

问题:如果我们想创建的/dev/md0只有hda1时该如何解决?


方法:mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda1 missing

解释:To create a "degraded" array in which some devices are missing, simply give the word "missing" in place of a device name.

你可能感兴趣的:(shell)