Building Out XenServer 6.5 with USB Boot and Software RAID 10
-
@Romo Like so?
[root@eaglexen-baby mnt]# cat /etc/mdadm.conf ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2 name=eaglexen-baby:0 [root@eaglexen-baby mnt]#
-
@DustinB3403 said:
ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2 name=eaglexen-baby:0ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde -
Don't need the metadata and name again after the devices
-
[root@eaglexen-baby mnt]# cat /etc/mdadm.conf ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde
-
Yes, seems ok. Reboot and try to check the status of the array once again
-
@Romo said:
Yes, seems ok. Reboot and try to check the status of the array once again
Rebooted.
Array found, drives mounted.
-
So now that we're back to working condition. We need an entry added to fstab to auto-mount the array.
GNU nano 1.3.12 File: /etc/fstab LABEL=root-mhdhrpdq / ext3 defaults 1 1 /var/swap/swap.001 swap swap defaults 0 0 none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 none /sys/fs/cgroup cgroup memory 0 0 /opt/xensource/packages/iso/XenCenter.iso /var/xen/xc-install iso9660 loo$ /mnt/raid10 /dev/md0 ext3 defaults 0 0
-
Does xencenter see the storage?
-
Yes, the Local OBR10 is back on XenCenter.
-
@DustinB3403 Not so sure about the entry on fstab, I don't have the entry in my setup and xen properly automounts it
-
@Romo It's outside of the norm for XenServer.
Even if it's benign.
XenServer by default, doesn't say "oh yeah go build an mdadm array" because it's not ideal if you can avoid it.
-
-
This post is deleted! -
This post is deleted! -
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?