[linux-lvm] How to mount volumes during boot

Johan Ur Riise riise at rsc.no
Tue Oct 23 14:52:04 UTC 2001


On Mon, Oct 22, 2001 at 11:18:29AM -0500, Mitchell D. Miller wrote:
> I am running Red Hat 7.1 (with 2.4.12 kernel) and LVM 1.0.1-rc4.  I read
> the documentation on Sistina's website about boot time scripts, but the
> info there seems to deal only with getting LVM loaded at boot time.  
> 
> I'm still uncertain how I should configure my system so the volumes I
> have created (three of them so far) get mounted during boot.  I tried
> modifying my fstab file, but the system didn't boot right after.  It
> stopped, complaining that one of the devices couldn't be mounted.  Is
> this even the right place to configure LVM volumes to be mounted?

Changing fstab should be all right, just make shure you run vgchange -a y
early in the startup scripts (before the mounting takes place).
This should work for all filesystems except root.

-- 
Johan Ur Riise
90 15 77 78




More information about the linux-lvm mailing list