Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
Lost the whole array? That's strange that would imply something went really wrong. The entry added in fstab whould only cause the os to automount the array, nothing there should cause the array itself to get wiped.
What is the current status of your array?
mdadm --detail /dev/md0
cat /proc/mdstat -
This is what is in /var/run/sr-mount....
-
This is mdadm --details
-
and cat /proc/mdstat
-
@DustinB3403 said:
and cat /proc/mdstat
![0_1447077435496_2015-11-09_08-56-57.png](Uploading 100%)
patience.....
-
Yes Yes, you're too quick some times sir. I corrected it.
-
So with the above 3 pictures and the Array missing.
I'd obviously have to rebuild the array, and remap items. Additionally, I'll have to recreate my "backup" USB (which isn't a huge deal)
-
@DustinB3403 can you run
mdadm --examine --scan
-
We need to find the missing array before we can do anything else. As @romo mentioned we need to scan and see if the array is out there somewhere.
-
-
Running
mount md0
results in
mount: mount point /mnt/raid10 does not exist
-
mkdir /mnt/raid10
-
@DustinB3403 what is in your mdadm.conf?
-
Can't find
md0 in /etc/fstab or /etc/mtab
-
-
@Romo said:
@DustinB3403 what is in your mdadm.conf?
-
@scottalanmiller said:
@DustinB3403 said:
Can't find
md0 in /etc/fstab or /etc/mtab
Should not be there, right?
I added an entry into fstab. It may have a typo...
-
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