Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
fstab
-
fstab corrected, entry reversed.
mount raid10 mount: /mnt/raid10 is not a block device
-
Your could run
mdadm --examine --scan >> /etc/mdadm/mdadm.conf
To recreate the conf and see if it fixes the problem. /dev/md/0 should be a symbolic link to /dev/md0
-
@Romo Same response when reexamining the disks. this is for both
mount /mnt/raid10 && mount /dev/md10
-
mount /dev/md0 /mnt/raid10 ?
-
/dev/md0 not md10
-
Using RAID 10 in names anywhere is very confusing and hard to read. I think several of these issues are partially stemming just from poor naming conventions. Name mount points by purpose, not technology.
-
You can't mount /dev/md0, because according to the mdadm --examine --scan ouput, the array, is at /dev/md/0
-
@Romo said:
You can't mount /dev/md0, because according to the mdadm --examine --scan ouput, the array, is at /dev/md/0
Good eye, that was hard to see.
-
What is the ouput for:
cat /dev/md/md-device-map -
cat /dev/md/md-device-map cat: /dev/md/md-device-map: No such file or directory
-
@DustinB3403
ls /dev/ | grep md -
-
@DustinB3403 can you please show us the output of your mdadm.conf file, last time I believe it was cut off because the UUID's dont show.
-
There is now a new record (3rd line)
-
That can't be right. I'm sure only one of those lines is supposed to be there.
-
Quite strange that the first two entries don't have a UUID set, mdadm needs the UUID set.
We could try to manually edit the file, adding the UUID from the last entry into the first entry, and then removing entries 2 and 3.
-
@Romo Like so?
[root@eaglexen-baby mnt]# cat /etc/mdadm.conf ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2 name=eaglexen-baby:0 [root@eaglexen-baby mnt]#
-
@DustinB3403 said:
ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2 name=eaglexen-baby:0ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde -
Don't need the metadata and name again after the devices