Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
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
-
What process did you run to unmount it.
-
umount /dev/md10
-
So you ran
umount /dev/md10
and then
xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"
Correct?
-
Yes, @DustinB3403 .
This is xe sr-list output with the array added as storage
-
@DustinB3403 sorry I did add content-type=user to the sr-create command. The final command was
xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c-7e6db5a2-d21e4034-3b415cfd content-type=user name-label="Array storage"