[linux-lvm] vgscan and initrd

Mark H. Wood mwood at IUPUI.Edu
Fri Jun 27 09:03:02 UTC 2003

Your follow-up makes it sound as though you have a different problem from
mine, but I can answer your question about mounting tmpfs over /etc:

  mount -t tmpfs tmpfs /etc

You wind up with an empty /etc, but at that point there should be no
problem.  vgscan just wants some place to store a metadata backup which
you are going to throw away, and after pivot-root runs you'll have a
different /etc anyway.  If the Gentoo startup scripts are like Red Hat's,
they'll do a second LVM metadata backup into the "real" /etc later.

Mark H. Wood, Lead System Programmer   mwood at IUPUI.Edu
MS Windows *is* user-friendly, but only for certain values of "user".

More information about the linux-lvm mailing list