linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] How to mount volumes during boot
@ 2001-10-22 10:28 Mitchell D. Miller
  2001-10-22 10:39 ` Steven Lembark
  2001-10-22 19:25 ` Benjamin Lee
  0 siblings, 2 replies; 7+ messages in thread
From: Mitchell D. Miller @ 2001-10-22 10:28 UTC (permalink / raw)
  To: linux-lvm

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?

Thanks,
Mitch

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] How to mount volumes during boot
  2001-10-22 10:28 [linux-lvm] How to mount volumes during boot Mitchell D. Miller
@ 2001-10-22 10:39 ` Steven Lembark
  2001-10-22 19:25 ` Benjamin Lee
  1 sibling, 0 replies; 7+ messages in thread
From: Steven Lembark @ 2001-10-22 10:39 UTC (permalink / raw)
  To: linux-lvm


-- "Mitchell D. Miller" <mitch@mdmiller.com>

> 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?

Make sure that a vgchange -a y is in your rc.sysinit after
the root volume is remounted rw but before the othervolumes
are fsck-ed. After that mount -a will get them on line with
the rest of things.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] How to mount volumes during boot
  2001-10-22 10:28 [linux-lvm] How to mount volumes during boot Mitchell D. Miller
  2001-10-22 10:39 ` Steven Lembark
@ 2001-10-22 19:25 ` Benjamin Lee
  1 sibling, 0 replies; 7+ messages in thread
From: Benjamin Lee @ 2001-10-22 19:25 UTC (permalink / raw)
  To: linux-lvm

Mitch,

Your problem can be fixed by compiling the LVM code into the kernel
rather than as a module.

If you like modules, make sure that you are using an initrd.

The RH 7.1 scripts already have the necessary logic to mount your LVM
filesystems.

On Sunday, 21 October, 2001, Mitchell D. Miller scribbled:
> 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?

-- 
Benjamin Lee
Melbourne, Australia             "Always real."    http://realthought.net/

Weather outside looks to be 18�C, mostly cloudy.
__________________________________________________________________________
I hate it when my foot falls asleep during the day cause that means
it's going to be up all night.
		-- Steven Wright

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [linux-lvm] How to mount volumes during boot
@ 2001-10-23  8:09 Mitchell D. Miller
  2001-10-23 14:52 ` Johan Ur Riise
  0 siblings, 1 reply; 7+ messages in thread
From: Mitchell D. Miller @ 2001-10-23  8:09 UTC (permalink / raw)
  To: linux-lvm

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?

Thanks,
Mitch

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [linux-lvm] How to mount volumes during boot
@ 2001-10-23 10:24 Mitchell D. Miller
  2001-10-23 11:04 ` Chad C. Walstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Mitchell D. Miller @ 2001-10-23 10:24 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 76 bytes --]

(Sorry about the duplicate post ... was having mail problems).

-- Mitch

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2077 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] How to mount volumes during boot
  2001-10-23 10:24 Mitchell D. Miller
@ 2001-10-23 11:04 ` Chad C. Walstrom
  0 siblings, 0 replies; 7+ messages in thread
From: Chad C. Walstrom @ 2001-10-23 11:04 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

On Tue, Oct 23, 2001 at 10:27:26AM -0500, Mitchell D. Miller wrote:
> (Sorry about the duplicate post ... was having mail problems).

<reminder> Remember to send email in plain-text format only.  Limit your
attachments to things that pertain to the list or perhaps
OpenPGP-compliant digital signatures.</reminder>

<example title="example of what we don't want">
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Encoding: base64, Size: 2.7K --]
[-- application/ms-tnef is unsupported (use 'v' to view this part) --] 
</example>

-- 
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] How to mount volumes during boot
  2001-10-23  8:09 Mitchell D. Miller
@ 2001-10-23 14:52 ` Johan Ur Riise
  0 siblings, 0 replies; 7+ messages in thread
From: Johan Ur Riise @ 2001-10-23 14:52 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-10-23 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-22 10:28 [linux-lvm] How to mount volumes during boot Mitchell D. Miller
2001-10-22 10:39 ` Steven Lembark
2001-10-22 19:25 ` Benjamin Lee
  -- strict thread matches above, loose matches on Subject: below --
2001-10-23  8:09 Mitchell D. Miller
2001-10-23 14:52 ` Johan Ur Riise
2001-10-23 10:24 Mitchell D. Miller
2001-10-23 11:04 ` Chad C. Walstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).