LVM vgscan fails at boot time

From: Kevin McCarthy (mccarthyk_at_gmail.com)
Date: 08/19/05


Date: 19 Aug 2005 11:47:19 -0700

I have a fresh install of SuSE 9.3 I picked up at Linuxworld, and I
thought I'd give LVM a whirl. YaST worked great for setting up the
volume group and everything, but when I reboot, vgscan fails, saying
"no volume groups found", and I get dumped into the little "fsck
failed, please fix stuff and ctrl-d to reboot" screen. So I comment
out the entry in /etc/fstab and ctrl-d to reboot, and it boots ok, but
no lvm volume.

But here's the kicker: After the system has booted, I can run vgscan
and then vgchange -a y, and the volume group is found and I can mount
it and everything. So what is happening at boot time in
/etc/init.d/boot.lvm that does not work?

The only other instance of this problem I have been able to locate is
at http://tinyurl.com/e2ozg (link to google groups article)

Thanks,

Kevin McCarthy



Relevant Pages

  • Re: LVM existiert nach Reboot nicht mehr
    ... Es schrieb Ralf Gross: ... daß nach einem Reboot die IDs der ... kann ich das LVM Device wieder mounten und die Daten ... Next by Date: ...
    (de.comp.os.unix.linux.misc)
  • Re: Please help! Lost my LVM VG...
    ... It's always empty unless an LVM tool is running (or you've disabled locking or are using some non-local locking mode for all your VGs). ... It's *always* safe to delete the file since it can always be regenerated by the tools - this would not be true if it stored "activation" flags for VGs (you'd fail to activate them on a reboot). ... No. There's nothing in the LVM metadata for controlling this (unless you're thinking of the exported flag which doesn't come into play here since it must be set/cleared by the administrator) - take a look at the metadata files in /etc/lvm/. ...
    (Fedora)
  • Re: USB Memsticks...
    ... LW-Buchstaben vergeben, ... allerdings kann ich weiter nix mit anfangen, es heisst immer "Einheit ... Auf anderen Plattformen wird der Stick problemlos erkannt (ohne reboot oder irgendwelche Verrenkungen, ... Nicht mit LVM bearbeiten, da Removable Media. ...
    (de.comp.os.os2.misc)
  • Re: lvm/vgchange and open (or not?) logical volume
    ... Anyway, I did reboot into ... 2.6.17-1-686 runlevel 1 seems not to be a good option for my mounting/ ... Can't deactivate volume group "volgrp1" with 1 open logical volume ... LVM version: 2.02.06 ...
    (comp.os.linux.misc)
  • Re: Where does LVM store its data?
    ... >> where its logical partitions are. ... >> understand it (assuming its kernel contains LVM support, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)