On 10/10/2012 12:06 AM, Shanti Pahari wrote:
I've seen this failure too when building my cluster. You either need to add the system's volume groups to volume_list, or tag the system's vgs with the @hostname so it can still activate them.
volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]
on one node and
volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]
on the other. Next it will complain about initrd being older than lvm.conf, so I've been running
# mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`
Not sure if that's the right command but it works for me =)
One of these days I'm going to tag the system's vgs properly so I can use the same lvm.conf across the nodes. I think it's something like
lvchange --addtag PDC-PIC-PL-CL1 vg_pdcpicpl01/lv_root
By the way, to display how things are tagged, you have to do
lvs -o +tags
I wish it displayed them in lvdisplay, but it doesn't.
Description: OpenPGP digital signature