Please add
mkdir -p ${DESTDIR}/etc/lvm
cp -p /etc/lvm/lvm.conf ${DESTDIR}/etc/lvm/lvm.conf
to the lvm hook. This does no harm and helps a lot with drbd.
I have almost given up with drbd and ubuntu cause of this issue until i
was pointed to this bug entry.
Problem exists in jaunty (9.04) as well.
--
initramfs-tools lvm2-hookscript won't include lvm.conf and claim devices it
shouldn't
https://bugs.launchpad.net/bugs/246324
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to drbd8 in ubuntu.
Status in “drbd8” package in Ubuntu: Invalid
Status in “initramfs-tools” package in Ubuntu: New
Status in “lvm2” package in Ubuntu: Confirmed
Bug description:
Binary package hint: initramfs-tools
The default initramfs-tools hookscript for lvm does not include
/etc/lvm/lvm.conf. If you need to exclude some devices through lvm.conf
filters, like if you are using lvm on top of drbd, the base devices get claimed
while executing the initrd and drbd etc. will fail.
Fix:
Include these lines in /usr/share/initramfs-tools/hooks/lvm2:
mkdir -p ${DESTDIR}/etc/lvm
cp -p /etc/lvm/lvm.conf ${DESTDIR}/etc/lvm/lvm.conf
Ubuntu Version:
Hardy (8.04)
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp