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

Re: [linux-lvm] vgscan errors



On Fri, Mar 08 '02 at 13:35, Heinz J . Mauelshagen wrote:
> vgscan creates cache copies of the metadata in /etc/lvmtab.d/.
> 
> So if just vgscan and "vgchange -ay" run in the initrd, there's one copy
> for every VG in /etc/lvmtab.d/ *and*
> 
> export LVM_VG_MAX_BACKUPS=no
> 
> disables automatic backup creation in /etc/lvmconf/.
> 
> vgchange needs little modification to read the data directly from the devices
> rather than from the cache files.
> 
> Should I put that into LVM 1.0.4?  ;-)
Yes, please do this.

(While I don't need this, my initrd is big enough and moves over to
tempfs very soon, but it would so much nicer to just do

vgchange -a y /dev/<root vg>/<root lv>

and save vgscan.
)

Just my 0.02 Euro,
    Goetz.




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