Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
Looks good?
[root@XenServer ~]# cat /proc/mdstat Personalities : [raid10] [raid1] md0 : active raid1 sdb[0] sdc[1] 976631360 blocks super 1.2 [2/2] [UU] [=>...................] resync = 5.4% (52749312/976631360) finish=143.3min speed=107400K/sec unused devices: <none> [root@XenServer ~]#
-
@anonymous besides just the two disk, yeah it looks alright.
-
Nothing wrong with RAID 1!
-
Will this guide work with CentOS 7?
-
@aaronstuder said:
Will this guide work with CentOS 7?
It likely would, but you'll have to test it to find out.
-
@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.