Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
@aaronstuder said:
Will this guide work with CentOS 7?
To do what with CentOS 7? Do you want to install CentOS to a USB stick? Or are you just looking for the MD RAID portion?
-
We need to make this guide again with XS7.
-
Has anyone attempted this guide on XS7? Confirming what works and what doesn't.
-
@DustinB3403 I'll try it tomorrow night.
-
@aaronstuder said in Building Out XenServer 6.5 with USB Boot and Software RAID 10:
@DustinB3403 I'll try it tomorrow night.
Thanks
-
@scottalanmiller Well, change of plans, I ordered 32GB more RAM and 2 New 64GB thumbdrives, which will be here Saturday. Will upgrade then and test
-
There appears to be a bug with XS7 and upgrading / using an existing MD array.
-
@DustinB3403 Interesting. I will be starting fresh... Would you like to to try a upgrade as well?
-
@aaronstuder Tried upgrading, and I'm getting several errors on my test system. Which ran XS6.5 just fine.
Going to try again and see what happens, this time not using the existing array, but the same boot device.
-
@DustinB3403 Ah, I see. Have you tried a fresh install?
-
@aaronstuder Working on that now.
-
It looks as though I'm going to have to clean the drives that are a part of the old array before I can proceed. I'm getting an error
no such file or directory: '/sys/block/md127p1'
-
@DustinB3403 Bummer. On a side note, how do I quickly remove all partitions on a drive in Linux? I want a blank drive with nothing on it
-
@aaronstuder said in Building Out XenServer 6.5 with USB Boot and Software RAID 10:
@DustinB3403 Bummer. On a side note, how do I quickly remove all partitions on a drive in Linux? I want a blank drive with nothing on it
I'm assuming on the software array, correct?
mdadm --stop /dev/md0 mdadm --remove /dev/md0 mdadm --zero-superblock /dev/sda (per drive) sfdisk -d /dev/sda | sfdisk /dev/sdb
-
@aaronstuder
parted /dev/device rm 1
Repeat rm for each partition on the drive.
Edit: @DustinB3403 method is better if it's an mdadm array.
-
@travisdh1 @DustinB3403 Thanks guys!
-
I had to erase each of the disks before being able to proceed.
So if this were a production system or other system that you really want your VM's from take a backup.
-
I've selected no VM storage, and enabled Thin Provisioning at the initial screen. I'm checking the installation media for issues as well. I'll update shortly from there.
So far no issues found.
Proceeding.
-
@DustinB3403 said in Building Out XenServer 6.5 with USB Boot and Software RAID 10:
I had to erase each of the disks before being able to proceed.
So if this were a production system or other system that you really want your VM's from take a backup.
That means you cannot upgrade.
-
@JaredBusch Correct.
With this system I had removed the bootable USB prior too, with it in place I may have been able to upgrade.
But since this was a test system it was already torn down and the drives had data stuck to them that was causing some issues.