[linux-lvm] vgchange doesn't enable found VGs

Brian J. Murrell brian at interlinx.bc.ca
Fri Feb 27 20:31:52 UTC 2009


On Fri, 2009-02-27 at 15:19 -0500, Brian J. Murrell wrote:
> On Fri, 2009-02-27 at 20:00 +0000, Alasdair G Kergon wrote:
> > On Fri, Feb 27, 2009 at 12:30:30PM -0500, Brian J. Murrell wrote:
> > >     cache_dir = "/etc/lvm/cache"
> > 
> > The cache_dir must be *writeable*.
> 
> And persistent or just writable?
> 
> Interestingly enough, RHEL5.2's /etc/rwtab (the files and directories
> that need to be made "magically" writable -- through bind mounting to
> either persistent storage or tmpfs) has:
> 
> files   /etc/lvm/.cache
> 
> That's starting to look like a type methinks.

But this is moot as the /etc/rwtab bind mounts are not configured until
after lvm in the rc.sysinit and crappity crap crap: there is nothing
mounted at that point in the boot that is writable.

But changing (only) "write_cache_state = 0" in the lvm.conf made no
difference in vgchange's inability to find the volume group.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090227/8a01b826/attachment.sig>


More information about the linux-lvm mailing list