[lucid] lvm2 hosttags support
Christophe Varoqui
christophe.varoqui at gmail.com
Mon Mar 22 20:40:18 GMT 2010
I recently upgraded from karmic to lucid, and encountered a boot
blocking issue: I happened to have lvm2 host tagging enabled, using
in /etc/lvm/lvm.conf:
=====================
tags {
hosttags = 0
}
And in /etc/lvm/lvm_myhostname.conf:
===================================
activation {
volume_list = ["@myhostname"]
}
After upgrade, the boot process turned me to the initramfs debug env,
where I observed :
1/ the 'hostname' command returns (none) instead of 'myhostname'
2/ the /etc/lvm/lvm_myhostname.conf was not present in the initramfs
cpio
3/ the /etc/lvm/lvm.conf was indeed including the 'hosttags = 1' param
removing the tag on the vg, disabling the 'hosttags' param, and
refreshing the initramfs cpio put me back on track, but I'd like to
restore the fonctionnality.
Is my sad experience to be expected, or do I miss some important tunable
to allow lvm host tagging for root vg ?
Thanks in advance.
(sorry if this mail was more elegible to ubuntu-support)
More information about the ubuntu-devel
mailing list