[Linux-cluster] LVM cannot initilize
Shanti Pahari
shanti.pahari at sierra.sg
Mon Oct 8 12:13:33 UTC 2012
volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-01" ]
where my vg_pdcpicpl01 is Volume group rather than logical volume. This is
my root volume .
In example I saw that I have to specify only VG of root .
Can you help me where I am wrong ?
Thanks,
Shanti
-----Original Message-----
From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Bryn M. Reeves
Sent: Monday, 8 October, 2012 6:43 PM
To: linux clustering
Subject: Re: [Linux-cluster] LVM cannot initilize
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/08/2012 02:57 AM, Shanti Pahari wrote:
> If I remove volume_list from lvm.conf then only I can intilize other
> lvm. But volume_list with only root volume is required for the
> cluster.
>
>
>
> Volume_list = [ "myrootvolume", "@hostname" ]
It's 'volume_list' (lowercase 'v') and if you're specifying a logical
volume (rather than a volume group) it needs to be "vgname/lvname".
Also make sure it goes in the 'activation' section - there should be a
commented-out example you can use as a template in the default lvm.conf:
# If volume_list is defined, each LV is only activated if there is a #
match against the list.
# "vgname" and "vgname/lvname" are matched exactly.
# "@tag" matches any tag set in the LV or VG.
# "@*" matches if any tag defined on the host is set in the LV or VG # #
volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlByri8ACgkQ6YSQoMYUY94ZNgCeL/ectFyPgippkiQVEYTPWpn7
lP0AoIls3TalqQZgQ0M5fxJppFrUnjVK
=AsGP
-----END PGP SIGNATURE-----
--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list