[linux-lvm] vgscan errors
bock at blacknet.de
Fri Mar 8 16:50:02 UTC 2002
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,
More information about the linux-lvm