我有一个系统硬盘
然后是两个 raid1 硬盘
我看到 sda1 是系统驱动器
但是当我执行 fdisk -l 时我得到以下结果
那么我需要安装以下哪一个来获得“raid”驱动器而不是单个硬盘?
root@Mxxxx-PDC:/etc/samba# fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000762dc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30328 243609628+ 83 Linux
/dev/sda2 30329 30515 1502077+ 5 Extended
/dev/sda5 30329 30515 1502046 82 Linux swap / Solaris
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 48641 390708801 83 Linux
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009f4b2
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 255 2048256 fd Linux raid autodetect
/dev/sdc2 256 30401 242147745 fd Linux raid autodetect
Disk /dev/sdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b7f4c
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 255 2048256 fd Linux raid autodetect
/dev/sdd2 256 30401 242147745 fd Linux raid autodetect
答案1
e) 以上都不是
/dev/md*
您想要的是或条目之一/dev/mapper/*
。
答案2
您可以cat /proc/mdstat
识别您想要安装的 md 设备。
答案3
可能没有做对,但我刚刚安装了 sdb1,看起来没问题