[linux-lvm] Slackware init
Andreas Dilger
adilger at turbolinux.com
Mon Feb 26 22:15:04 UTC 2001
Andy writes:
> On Mon, 26 Feb 2001, AJ Lewis wrote:
> > I think the issue is that /proc is not yet mounted when you call vgscan.
> > If you look at the tools/lib/lvm_dir_cache.c file at line 90, you will
> > see that it checks for /proc/partitions. If it finds that, it only scans
> > the files in /proc/partitions. Otherwise, it goes through all the possible
> > devices LVM recognizes.
>
> Well this is the problem, since I'm trying to mount the volumes from fstab
> when mount is called, how would I go about getting /proc mounted after /
> is mounted read-write, but before vgscan is run?
> Have /proc mounted with a separate command in rc.S after / is remounted rw
> and before vgscan is run?
In my Turbolinux init (I haven't used Slackware for many years), there is
an explicit mount of /proc in rc.sysinit. Later, when it is mounting the
rest of the filesystems, it uses "mount -a -t nonfs,proc", to avoid any
error messages.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
More information about the linux-lvm
mailing list