Hi JF,

You can always partition the second disk, create a small partition and put
the mlog in there, for example:
# pvcreate /dev/sdb[12]
# vgextend rootvg /dev/sdb[12]
# lvcreate -L 10G -n mirroredvolume rootvg /dev/sda
# lvconvert -m1 /dev/rootvg/mirroredvolume /deb/sdb1 /dev/sdb2

Check with:
# lvs -ao +devices

but this setup is not recommended, at least for me. i recommend 3 disks to
create a LVM mirror.
What if the /dev/sdb disk fails?
You loose the information and the mirror log.

To be honest I don't recomend you lvm mirror, it is only helpful when you
have hardware failures. The system won't boot if you have a missing disk in
the LVM, you will need to rely on a rescue disk. No sense if you work
remote.

My recommendation for two disk setup is to use pure MD devices. Plus you
will gain in performance because it reads in parallel and as far as I
understand LVM2 raid 1 does not.


Just my two cents.
Eng. Andres Migliazzo
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to