[Linux-cluster] LVM cannot initilize
Bryn M. Reeves
bmr at redhat.com
Mon Oct 8 10:42:56 UTC 2012
-----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-----
More information about the Linux-cluster
mailing list