@Astara:
> Now, I've noticed when I am booting, it *does* take a bit of time to mount
> bring up and mount all of the lvs, but you can the root mount is NOT
> in an VG/LV -- It's on a "regular device" (numbers on left are w/kernel time
> printing turned on -- so they are in seconds after boot):
>
> [ 4.207621] XFS (sdc1): Mounting V4 Filesystem
> [ 4.278746] XFS (sdc1): Starting recovery (logdev: internal)
> [ 4.370757] XFS (sdc1): Ending recovery (logdev: internal)
> [ 4.379839] VFS: Mounted root (xfs filesystem) on device 8:33.

If I understand you well, you have your root FS on a regular partition,
thus you are not affected by this bug, as partitions don't need to be
„activated”. You need to have your root FS on an LV to be affected.

>  if test -d /etc/lvm -a -x /sbin/vgscan -a -x /sbin/vgchange ; then
>       # Waiting for udev to settle
>       if [ "$LVM_DEVICE_TIMEOUT" -gt 0 ] ; then
>     echo "Waiting for udev to settle..."
>     /sbin/udevadm settle --timeout=$LVM_DEVICE_TIMEOUT
>       fi
>       echo "Scanning for LVM volume groups..."
>       /sbin/vgscan --mknodes
>       echo "Activating LVM volume groups..."
>       /sbin/vgchange -a y $LVM_VGS_ACTIVATED_ON_BOOT
>       mount -c -a -F

Well, this is some interesting stuff. At first I thought you quoted it
from an initrd script, but then I read you don't use an initrd. So where
this script comes from? Did you write it, or is it shipped with the
distro? Maybe the timeouts can be tweaked to allow a longer activation
time, and it is also sane to only allow the root VG to activate at boot
time and then activating the data VG later (probably asynchronously),
after the root LV was successfully mounted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1396213

Title:
  LVM VG is not activated during system boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1396213/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to