[Bug 227951] Re: rcS.d/S30checkfs.sh runs before LVM VGs are available

Steve Langasek steve.langasek at canonical.com
Fri May 17 21:28:34 UTC 2013


This is an issue specific to the historical use of sysvinit for mounting
filesystems.  It does not apply to any recent, upstart+mountall-based
Ubuntu release.

** Changed in: sysvinit (Ubuntu)
       Status: New => Invalid

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

Title:
  rcS.d/S30checkfs.sh runs before LVM VGs are available

Status in “sysvinit” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: initscripts

  Dell P6950 Server, running Hardy, i386 server version, with SCSI
  attached, 14TB disk subsystem.  RAID system is split into 2TB
  partitions, and joined by LVM2 into one volume group.

  At boot time, checkfs.sh is run, but it does not find any disks from
  LVM.  If the filesystems are marked to be fsck'd, then checkfs.sh
  fails and system drops to single user.

  If they are marked to not be fsck'd, then they are not mounted at boot
  time.  They are available after booting, but not mounted.

  Adding a "sleep 60" into checkfs.sh on line #43 works around the
  problem.  I did not bother finding the shortest sleep time.

  I also tried replacing the sleep with "udevdevadm settle", but that
  does not solve the problem.

  How do I force checkfs.sh to wait until all LVM volume groups are
  available?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/227951/+subscriptions




More information about the foundations-bugs mailing list