Centos 7.2 Convert single LVM to RAID Mirror Reinstall BootLoader
Hello,
I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at:
and did create a two-disk mirror of both the original boot partition and the LVM partition. When I boot off a live Centos 7.2 DVD with the mirrored drives installed it does find the mirrors, and I can fsck and mount the boot and LVM filesystems in it.
However these instructions are specific to Centos 6, and the section for installing a bootloader on the new mirror completely does not apply in Centos 7. In Centos 7.2 there does not seem to be any commandline utility that provides a "grub>" command prompt, ant the grub binary itself is replaced by a bunch of "grub2-*" executables.
Can anyone explain how to reinstall the bootloader on the new mirror? The Centos 6 instructions say it must be installed separately on sda1 and sdb1.
Last edited by Clovis_Sangrail; 04-19-2016 at 07:34 PM..
I'm clueless about Grub and having issues with CentOS6.6 that is installed on the box. It also has Windows 8.1 installed. I want to reinstall CentOS to version 7, but want to insure I don't wipe anything, and the bootloader remains as is, but includes the new CentOS installation. How do I go about... (2 Replies)
Hi,
I need to know who can I create an script in order to check server mirror in AIX. I got this script
!/usr/bin/ksh
#
# Check if a VG is mirrored.
#
# lsattr -El <lvname> -a strictness -a copies
# If copies=2 and scrictness=y, then VG is mirrored
#
# LVs are retrieved via 'lsvg -l... (5 Replies)
I apologize is this isn't an appropriate post for the 'advanced' UNIX, so please let me know if I should post this under UNIX for dummies, but here's my problem in a nutshell: I having problems creating a mirrored logical volume.
I have created two new physical volumes
... (2 Replies)
Hi Guys,
I have a mirrored LVM volume, and wish to break the mirror leaving only copy1 (effectively removing copy 0).
Here's the config:
# lvs -a -o +devices
lvdata vg01 mwi-ao 2.19T lvdata_mlog 100.00 lvdata_mimage_0(0),lvdata_mimage_1(0)
vg01... (0 Replies)
How can one dual boot Windows XP sp2 and Centos 5.x using the NTLDR bootloader? I wanted to install CentOS onto a spare partition on a machine with Windows XP already installed, leaving the MBR as it was and using the NTLDR bootloader. (2 Replies)
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
if i want to create a raid 5 device on 3 disks I have, can I make multiple metadevices? all the example i see on the internet make use of the slice 2 placing the entire disk into the raid5 device.
what if i make 3 identical slices on each disk, and make 3 raid 5 metadevices? will that work? (1 Reply)
Hi,
I am on Solaris 9. I have 4 disks that I want to mount in RAID 1+0 with LVM
First I initialize the devices ; for example :
metainit d102 c1t2d0s6
metainit d103 c1t3d0s6
metainit d104 c1t4d0s6
metainit d105 c1t5d0s6
then I make the mirrors :
metainit d120 -m d102
metattach d120... (7 Replies)