From: Patrick Boutilier <boutilpj@ednet.ns.ca>
To: bug1 <bug1@netconnect.com.au>
Cc: "linux-lvm@msede.com" <linux-lvm@msede.com>
Subject: Re: [linux-lvm] mounting lv's from fstab
Date: Tue, 25 Apr 2000 06:28:12 -0300 [thread overview]
Message-ID: <3905652C.5B5CF85C@ednet.ns.ca> (raw)
In-Reply-To: 39053E22.D84F870F@netconnect.com.au
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
next prev parent reply other threads:[~2000-04-25 9:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2000-04-29 10:38 ` Daniel Etter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3905652C.5B5CF85C@ednet.ns.ca \
--to=boutilpj@ednet.ns.ca \
--cc=bug1@netconnect.com.au \
--cc=linux-lvm@msede.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.