From: Patrick Boutilier <boutilpj@ednet.ns.ca>
To: LVM Mailing List <linux-lvm@mlists.sistina.com>
Cc: James MacLean <macleajb@ednet.ns.ca>
Subject: [linux-lvm] Change in startup script
Date: Sat, 25 Nov 2000 13:01:06 -0400 [thread overview]
Message-ID: <3A1FF052.F2B546DB@ednet.ns.ca> (raw)
Hi,
If anybody is upgrading from LVM 0.8i (and probably other 0.8 versions)
to 0.9 you will need to modifying the following startup script which I
got from somebody on this list. The -f needs to be changed to -d to
reflect the new /proc/lvm which is now a directory instead of a file.
Old script:
## LVM
#scan for VGs and create /dev entries.
if [ -x /sbin/vgscan -a -f /proc/lvm ]; then
action "LVM: Scanning for Volume Groups" /sbin/vgscan
fi
#activate all VGs
if [ -x /sbin/vgchange -a -f /proc/lvm ]; then
action "LVM: Activating Volume Groups" /sbin/vgchange -ay
fi
## End LVM
________________________________
New script:
## LVM
#scan for VGs and create /dev entries.
if [ -x /sbin/vgscan -a -d /proc/lvm ]; then
action "LVM: Scanning for Volume Groups" /sbin/vgscan
fi
#activate all VGs
if [ -x /sbin/vgchange -a -d /proc/lvm ]; then
action "LVM: Activating Volume Groups" /sbin/vgchange -ay
fi
## End LVM
next reply other threads:[~2000-11-25 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-25 17:01 Patrick Boutilier [this message]
2000-11-27 3:42 ` [linux-lvm] Change in startup script Andreas Dilger
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=3A1FF052.F2B546DB@ednet.ns.ca \
--to=boutilpj@ednet.ns.ca \
--cc=linux-lvm@mlists.sistina.com \
--cc=linux-lvm@sistina.com \
--cc=macleajb@ednet.ns.ca \
/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.