[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LVM Mirroring



Dear Mailinglist

I'm trying to use LVM on my debian(6.0.6 | 2.6.32-5-686) distribution.
Every thing went well.
I installed the LVM partitions while i was setting up the new OS. (lvm2
2.02.66-5)
I'm using GRUB2 and the entrys in the grub.cfg are written as well.

menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian
--class gnu-linux --class gnu --class os {
        insmod lvm
        insmod part_msdos
        insmod ext2
        set root='(rootVG-rootLV)'
        search --no-floppy --fs-uuid --set
809a5d50-9789-4e56-952d-868cb243cd0c
        echo    'Loading Linux 2.6.32-5-686 ...'
        linux   /boot/vmlinuz-2.6.32-5-686
root=/dev/mapper/rootVG-rootLV ro  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.32-5-686
}

Resizing and adding a new Harddrive to the volume group i've created,
was no problem. But as soon as I tried to set the mirroring my problem
came up.

The mirroring ist done but as soon as i try to reboot my system, it
doesn't starts up and im entering the "grub recover"-mode.

I used following commands :
Resizing a FS - lvextend –L +500M /dev/rootVG/rootLV



Add HDD - vgextend rootVG /dev/sdb



Set up the Mirroring - lvconvert –m1 –-mirrorlog core /dev/rootVG/rootLV


lvconvert –m1 –-mirrorlog mirrored /dev/rootVG/rootLV

(Didn't work...)


Now maybe you could help me with whats up to do next?

Best regards 
Luca Saletta


Reply to: