[Linux-cluster] LVM cannot initilize

Bryn M. Reeves bmr at redhat.com
Mon Oct 8 12:46:57 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/08/2012 01:13 PM, Shanti Pahari wrote:
> volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-01" ]
> 
> where my vg_pdcpicpl01 is Volume group rather than logical volume.
> This is my root volume .

Either a tag "@tagname", a volume group as "vgname", or a logical
volume name as "vgname/lvname" (otherwise the tools cannot know which
LV you mean if there are multiple LVs with the same name in different
VGs).

In your earlier example you seemed to have an LV name:

>> Volume_list  =  [ "myrootvolume", "@hostname" ]

Which won't work since the LV name is unqualified by a VG. Your later
example:

> volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-01" ]

Looks correct assuming that vg_pdcpicpl01 is the name of a VG on your
system.

> In example I saw that I have to specify only VG of root .

It's up to you whether you want to specify just an LV or a whole VG.

> Can you help me where I am wrong ?

It's hard to say. What error do you get initialising LVM? Try adding
more -v if there's nothing useful printed (normally syntax errors in
lvm.conf give a useful message).

Failing that you could post your full lvm.conf to a pastebin somewhere
and mail the link so that others can review your config.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlByy0EACgkQ6YSQoMYUY95VEgCdFK9QqeTOGAiiYnZiuAJ6iHY5
BrUAmwbCBULcq9gEVBtqOg8wAAGXph5M
=UsOX
-----END PGP SIGNATURE-----




More information about the Linux-cluster mailing list