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

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



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


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