From: Ben Snyder <ben@jumpline.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] cannot mount logical volume on boot
Date: Tue Sep 17 15:19:02 2002 [thread overview]
Message-ID: <3D878E26.6050205@jumpline.com> (raw)
OK, this has me stumped. My server isnt mounting the logical volume on
boot time, in fact booting fails. I've had to hardlink /dev/vg/lv to
/dev/sdz1 because some of the software I use does some assinine tests of
the /etc/fstab and checks mount points etc and /dev/vg/lv is 'too long'
according to the vendor. The software in question works fine with the
hardlink, but LVM is ticked at me for some reason.
In my /etc/rc.d/rc.sysinit, right before the script calls for a mount of
local file systems, there's segment like so:
if [ -x /sbin/vgscan ]; then
action "Installing LVM module" /sbin/modprobe lvm-mod #this line
added by me
action "Initializing LVM" /sbin/vgscan
action "Activating volumn groups" /sbin/vgchange
fi
I added the modprobe, because I was seeing messages when vgscan ran like
'module not loaded?'.
OK, now on to the meat of my problem. If I comment out the filesystem
in /etc/fstab, everything is fine (except my software). I log in, the
lvm module is loaded, the volume group is active and ready for use and I
can mount it up no problem. If I uncomment that line and reboot,
everything fails and I get to the single-user mode root password prompt.
Enter root's passwd, comment the line in /etc/fstab, logout/reboot and
everything is fine (except the FS isnt mounted).
I cant really put the mount in rc.local or anything like that, as the
above mentioned 3rd party software requires the filesystem to be mounted
when it tries to start (which is managed through standard start scripts).
System details:
RedHat 6.2 running kernel 2.2.19-6.2.16
The LVM spans 2 7200RPM Seagate Cheetah SCSI drives(identical)
Thanks in advance for answer/feedback.
next reply other threads:[~2002-09-17 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 15:19 Ben Snyder [this message]
2002-09-17 15:29 ` [linux-lvm] cannot mount logical volume on boot bscott
2002-09-17 17:27 ` Ben Snyder
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=3D878E26.6050205@jumpline.com \
--to=ben@jumpline.com \
--cc=linux-lvm@sistina.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.