Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
@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
-
@Romo said:
@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
The reason your target device is in use is you have it mounted. Try dismounting the array and try again.
-
Romo when you run
xe sr-list
What's listed?
-
The array is now properly seen as storage in xencenter, I did have to unmount it first @DustinB3403