Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
We need to load the raid modules to the kernel prior to creating the md raid Device. Like this:
echo "modprobe raid10" > /etc/sysconfig/modules/raid.modules
modprobe raid10
chmod a+x /etc/sysconfig/modules/raid.modules -
@Romo said:
We need to load the raid modules to the kernel prior to creating the md raid Device. Like this:
echo "modprobe raid10" > /etc/sysconfig/modules/raid.modules
modprobe raid10
chmod a+x /etc/sysconfig/modules/raid.modulesSo sliping your code in just before
Create md raid Device
you're saying should address the issue
-
We can also use the whole disk, without the need to create partitions in them, don't really know if this is better but it is a possibility.
This is the screenshot of the raid array created with 4 disks using the whole disks.
-
@DustinB3403 Yes, I couldn't create the md10 device in my setup without loading the modules into the kernel
-
@Romo correct, that's part of the purpose of the new guide, to use the whole disk rather than to partition it first. Fewer steps, better results.
-
This shows the file system added to our raid array
-
Automounting
-
mdadm.conf
-
Checking filesystems present in our system, at the bottom theres our array.
-
And finally the status of our array
-
@Romo -- sd[b-e]... Is this your boot drive, or just the data stores for XenServer ?
-
That is the data store.
sda would be the boot device.
sd[b-e] would be every other disk in the system available.
-
Without anyone outcrying (@scottalanmiller and @Romo) are we settled on providing the above process to configure mdadm on a USB XenServer?
-
Yes, just need to compile it into a step by step "one place" list.
-
And it would be handy to know what his device list was going to look like.
-
And preferably test it as you go, lol.
-
Does anyone know how to select the VM storage in xenserver, outside of the ISO installation process. We probably need that as well.
-
-
@DustinB3403 I am actually trying to do exactly that just right now on my test setup. It thought that with this command:
xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"It would get added as local storage to xencenter, but I am getting this error :
The SR operation cannot be performed because a device underlying the SR is in use by the host.Don't really know why, I haven't used xenserver before. Any ideas @scottalanmiller
-
OK so without the specific target device I believe this command will work.
xe sr-create content-type=user type=ext device-config:device=/dev/cciss/c0d0p3 shared=false name-label="Local storage"
We simply need to determine his device path