mdadm 建立raid时 No such file or directory
os版本:
[root@dev ~]# cat /etc/redhat-release
CentOS release 5.7 (Final)
这台机器需要增加一个raid,将/dev/sda5 /dev/sdb5做成md11
[root@dev]# fdisk -l
Disk /dev/sda: 1999.8 GB, 1999844147200 bytes
255 heads, 63 sectors/track, 243133 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 3929 31455270 fd Linux raid autodetect
/dev/sda3 3930 6540 20972857+ fd Linux raid autodetect
/dev/sda4 6541 243133 1900433272+ 5 Extended
/dev/sda5 6541 243133 1900433241 fd Linux raid autodetect
Disk /dev/sdb: 1999.8 GB, 1999844147200 bytes
255 heads, 63 sectors/track, 243133 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 fd Linux raid autodetect
/dev/sdb2 14 3929 31455270 fd Linux raid autodetect
/dev/sdb3 3930 6540 20972857+ fd Linux raid autodetect
/dev/sdb4 6541 243133 1900433272+ 5 Extended
/dev/sdb5 6541 243133 1900433241 fd Linux raid autodetect
在建立的时候出错了,请大家帮忙看一下会是什么问题?
[root@dev]# mdadm -C /dev/md11 -a yes -l 1 -n 2 /dev/sda5 /dev/sdb5
mdadm: Cannot open /dev/sda5: No such file or directory
mdadm: Cannot open /dev/sdb5: No such file or directory
mdadm: create aborted
比较急,谢谢了!