rcS.d/S30checkfs.sh runs before LVM VGs are available
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?