[CentOS] Help finishing off Centos 7 RAID install

Fri Jan 11 11:22:05 UTC 2019
Gary Stainburn <gary.stainburn at ringways.co.uk>

I completed the install as described below which went well.

I then copied the contents of /boot/efi to /boot/efi_copy using 

cd /boot
rsync -acr efi/ efi_copy

I then installed grub2 on sdb

yum install yum install grub2-efi-modules
grub2-install /dev/sdb

everything ran as expected with no errors.  The instructions then said to test 
the install by powering off and swapping sda and sdb.  Instead, I just 
unplugged sda.

When I booted the system loaded straight into a grub> prompt.

I powered off and reconnected sda hoping to be able to continue experimenting. 
However, even with sda reconnected it just boots into a grub> prompt.

Anyone got suggestions what to do next?

(This server is not live, so can be wiped / experimented on)

On Wednesday 09 January 2019 10:30:54 Gary Stainburn wrote:
> I've just finished installing a new Bacula storeage server. Prior to doing
> the install I did some research and ended  up deciding to do the following
> config.
>
> 6x4TB drives
> /boot/efi		efi_fs	sda1
> /boot/efi_copy	efi_fs	sdb1
> /boot 		xfs		RAID1	sda2 sdb2
> VG			RAID6	all drives containing
> 	SWAP
> 	/
> 	/home
> 	/var/bacula
>
> Questions:
>
> 1) The big problem with this is that it is dependant on sda for booting.  I
> did find an aritcle on how to set up boot loading on multiple HDD's,
> including cloning /boot/efi but I now can't find it.  Does anyone know of a
> similar article?
>
> 2) is putting SWAP in a RAID a good idea? Will it help, will it cause
> problems?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk