linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Clarifications wanted about locking process
@ 2009-08-14  0:13 Eric Bélanger
  2009-08-14  8:24 ` Alasdair G Kergon
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bélanger @ 2009-08-14  0:13 UTC (permalink / raw)
  To: linux-lvm

Hi,

Since I updated from lvm2 2.02.48 to 2.02.51, I'm getting this message
on boot-up:

Write locks are prohibited with --ignorelockingfailure.
Unable to obtain global lock.

I found that it comes from the: "/sbin/lvm vgscan
--ignorelockingfailure --mknodes" command in /etc/rc.sysinit.  I was
getting the same message from "/sbin/lvm vgchange
--ignorelockingfailure -a y" when using the 2.02.49 (or 2.02.50?)
versions.

Is this just an harmless informational message?  I don't understand
why it would want a write lock when scanning or activating volume
groups. Wouldn't a read lock be sufficient?  Also, shouldn't the use
of the --ignorelockingfailure option disable all locking-related
warnings?  Any clarifications would be appreciated.

Thanks,
Eric

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-14 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14  0:13 [linux-lvm] Clarifications wanted about locking process Eric Bélanger
2009-08-14  8:24 ` Alasdair G Kergon
2009-08-14 11:49   ` [PATCH] " Petr Rockai
2009-08-14 17:12     ` Alasdair G Kergon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).