Operating System - Linux
1829771 Members
6912 Online
109992 Solutions
New Discussion

Mirror bootable LVM integrity Linux disk

 
Shady Aly
Occasional Contributor

Mirror bootable LVM integrity Linux disk

Dear All

I need to make mirror of bootable Integrity (rx2660)LVM disk on RHEL 4 .....taking care that /dev/sda1 is efi partition,/dev/sda2 is HPSP, /dev/sda3 is an ext3 partition mounted on /efi/boot while /dev/sda4 is used as LVM physical volume from which all vg00 logical volumes are created......the existent sas controller does not support raid...and to replace it with one that support raid data should be destroyed which is not acceptable so i need to make mirror software ... i found many procedures but for hp-ux that uses utilities like idisk,mkboot which are not found in linux....could anyone help me to do it
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Mirror bootable LVM integrity Linux disk

See my post here:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1271170547175+28353475&threadId=1098528
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Mirror bootable LVM integrity Linux disk

Shalom,

In this scenario, you present a second disk to the system and go with software RAID.

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/ch-software-raid.html

Partition the new disk the exact same way the boot disk is partitioned.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shady Aly
Occasional Contributor

Re: Mirror bootable LVM integrity Linux disk

Dear Evan

It is not a new installation but the system is production and has no mirror initially...Do you mean that i can use LVM-Mirror for logical volumes(lvconvert -m 1 lvol1)except /boot/efi as it is not lvm-based so i need to use mdadm for it and convert it to software-Raid partition type???????Right......ok if so ....is just mirroring /boot/efi using mdadm and restoring its data is enough to make the second disk bootable..... do i need something like grub-install but you know that EFI uses ELILO so i don't know the corresponding tools....is the second disk bootable