Re: vgchange doesn't enable found VGs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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*.
If you're attempting to use read-only root, then move it somewhere else
(is /var writeable? or make a ramfs) or delete that directory *and*
change

>     write_cache_state = 1
to 0.

(This will slow commands down.)

Or if all devices on your system are the same on every boot, 
place the correct version of that file into your read only image.
This won't work if devices can move about unless you include
all the possible locations in there.

> > Is there any way you can grab a listing of /dev at the moment the
> > vgchange runs during boot?
> Not relevant per above.

-vvvv output provides this information already.

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux