* [linux-lvm] mounting lv's from fstab
@ 2000-04-25 6:41 bug1
2000-04-25 8:38 ` Heinz Mauelshagen
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: bug1 @ 2000-04-25 6:41 UTC (permalink / raw)
To: linux-lvm@msede.com
I put all my logical volumes in /etc/fstab but it doesnt work
automatically.
Everytime i restart my machine i have to manually activate my volume
group by typing vgchange -a y archive.
Is there a way of automatically doing this with lvm or would i have to
write an init script ?
Thanks
Glenn McGrath
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 6:41 [linux-lvm] mounting lv's from fstab bug1
@ 2000-04-25 8:38 ` Heinz Mauelshagen
2000-04-25 8:41 ` Heinz Mauelshagen
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Heinz Mauelshagen @ 2000-04-25 8:38 UTC (permalink / raw)
To: bug1; +Cc: mge, linux-lvm
> I put all my logical volumes in /etc/fstab but it doesnt work
> automatically.
>
> Everytime i restart my machine i have to manually activate my volume
> group by typing vgchange -a y archive.
>
> Is there a way of automatically doing this with lvm or would i have to
> write an init script ?
>
>
> Thanks
>
> Glenn McGrath
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge@EZ-Darmstadt.Telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 6:41 [linux-lvm] mounting lv's from fstab bug1
2000-04-25 8:38 ` Heinz Mauelshagen
@ 2000-04-25 8:41 ` Heinz Mauelshagen
2000-04-25 14:13 ` bug1
2000-04-25 8:51 ` bert hubert
2000-04-25 9:28 ` Patrick Boutilier
3 siblings, 1 reply; 7+ messages in thread
From: Heinz Mauelshagen @ 2000-04-25 8:41 UTC (permalink / raw)
To: bug1; +Cc: mge, linux-lvm
Please put a "vgscan ; vgchange -a y" in a system startup file
like /sbin/init.d/boot on SuSE or an equivalent one on another distribution.
Please see the file INSTALL which comes with the LVM sources also.
Regards,
Heinz
> I put all my logical volumes in /etc/fstab but it doesnt work
> automatically.
>
> Everytime i restart my machine i have to manually activate my volume
> group by typing vgchange -a y archive.
>
> Is there a way of automatically doing this with lvm or would i have to
> write an init script ?
>
>
> Thanks
>
> Glenn McGrath
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge@EZ-Darmstadt.Telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 6:41 [linux-lvm] mounting lv's from fstab bug1
2000-04-25 8:38 ` Heinz Mauelshagen
2000-04-25 8:41 ` Heinz Mauelshagen
@ 2000-04-25 8:51 ` bert hubert
2000-04-25 9:28 ` Patrick Boutilier
3 siblings, 0 replies; 7+ messages in thread
From: bert hubert @ 2000-04-25 8:51 UTC (permalink / raw)
To: linux-lvm@msede.com
On Tue, Apr 25, 2000 at 04:41:38PM +1000, bug1 wrote:
> I put all my logical volumes in /etc/fstab but it doesnt work
> automatically.
>
> Everytime i restart my machine i have to manually activate my volume
> group by typing vgchange -a y archive.
>
> Is there a way of automatically doing this with lvm or would i have to
> write an init script ?
You have to write an initscript - that's just the way it is.
Regards,
bert hubert
--
| http://www.rent-a-nerd.nl
| - U N I X -
| Inspice et cautus eris - D11T'95
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 6:41 [linux-lvm] mounting lv's from fstab bug1
` (2 preceding siblings ...)
2000-04-25 8:51 ` bert hubert
@ 2000-04-25 9:28 ` Patrick Boutilier
2000-04-29 10:38 ` Daniel Etter
3 siblings, 1 reply; 7+ messages in thread
From: Patrick Boutilier @ 2000-04-25 9:28 UTC (permalink / raw)
To: bug1; +Cc: linux-lvm@msede.com
I just put the vgchange command in /etc/rc.d/rc.sysinit just before the
RAID part.
.......
# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.d/rc.modules ]; then
/etc/rc.d/rc.modules
fi
# LVM
/sbin/vgscan
/sbin/vgchange -a y
# Add raid devices
if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
echo -n "Starting up RAID devices: "
.......
bug1 wrote:
> I put all my logical volumes in /etc/fstab but it doesnt work
> automatically.
>
> Everytime i restart my machine i have to manually activate my volume
> group by typing vgchange -a y archive.
>
> Is there a way of automatically doing this with lvm or would i have to
> write an init script ?
>
> Thanks
>
> Glenn McGrath
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 8:41 ` Heinz Mauelshagen
@ 2000-04-25 14:13 ` bug1
0 siblings, 0 replies; 7+ messages in thread
From: bug1 @ 2000-04-25 14:13 UTC (permalink / raw)
To: Heinz Mauelshagen; +Cc: mge, linux-lvm
Ok, thanks, i have it worked out now, i think im going to really like
lvm
Thanks everyone.
Glenn
Heinz Mauelshagen wrote:
>
> Please put a "vgscan ; vgchange -a y" in a system startup file
> like /sbin/init.d/boot on SuSE or an equivalent one on another distribution.
>
> Please see the file INSTALL which comes with the LVM sources also.
>
> Regards,
> Heinz
>
> > I put all my logical volumes in /etc/fstab but it doesnt work
> > automatically.
> >
> > Everytime i restart my machine i have to manually activate my volume
> > group by typing vgchange -a y archive.
> >
> > Is there a way of automatically doing this with lvm or would i have to
> > write an init script ?
> >
> >
> > Thanks
> >
> > Glenn McGrath
> >
>
> --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> Systemmanagement TS T-Nova
> Entwicklungszentrum Darmstadt
> Heinz Mauelshagen Otto-Roehm-Strasse 71c
> Senior Systems Engineer Postfach 10 05 41
> 64205 Darmstadt
> mge@EZ-Darmstadt.Telekom.de Germany
> +49 6151 886-425
> FAX-386
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] mounting lv's from fstab
2000-04-25 9:28 ` Patrick Boutilier
@ 2000-04-29 10:38 ` Daniel Etter
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Etter @ 2000-04-29 10:38 UTC (permalink / raw)
To: Patrick Boutilier; +Cc: linux-lvm@msede.com
Am 25-Apr-00 toeggelte Patrick Boutilier:
> I just put the vgchange command in /etc/rc.d/rc.sysinit just before
> the
> RAID part.
>
> .......
># Load modules (for backward compatibility with VARs)
> if [ -f /etc/rc.d/rc.modules ]; then
> /etc/rc.d/rc.modules
> fi
>
># LVM
> /sbin/vgscan
I dont use vgscan, because I don't boot neither with intrd nor with
devfs, so for me vgscan would be just waisting time during boot.
> /sbin/vgchange -a y
>
># Add raid devices
> if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
> echo -n "Starting up RAID devices: "
-----------------------------------------------------------------------
Daniel Etter | http://www.etter.ch/~daniel | Tel. : +41 1 884 75 01
Ringstrasse 2 | | Fax : +41 1 884 62 50
8107 Buchs ZH | mailto:Daniel.Etter@etter.ch | Natel: +41 79 354 93 75
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-04-29 10:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-25 6:41 [linux-lvm] mounting lv's from fstab bug1
2000-04-25 8:38 ` Heinz Mauelshagen
2000-04-25 8:41 ` Heinz Mauelshagen
2000-04-25 14:13 ` bug1
2000-04-25 8:51 ` bert hubert
2000-04-25 9:28 ` Patrick Boutilier
2000-04-29 10:38 ` Daniel Etter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.