OK - when fstab gets mounted the lvm daemon (/etc/init.d/lvm2) hasn't started yet. The easiest way to fix this would be to place a mount command (
mount -a should do the trick) into /etc/local.
Are you running lenny or squeeze? I'm running squeeze and concurrent boot processing. lvm2 includes the following:
- Code: Select all
### BEGIN INIT INFO
# Provides: lvm2 lvm
# Required-Start: mountdevsubfs udev
# Required-Stop:
# Should-Start: mdadm-raid cryptdisks-early multipath-tools-boot
# Should-Stop: umountroot mdadm-raid
# X-Start-Before: checkfs mountall
# X-Stop-After: umountfs
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
Note the "X-Start-Before:" line which ensures that lvm2 runs before mountall, which is where all the local file systems get mounted. All this assumes that you're using squeeze's default boot processing methods.
You can go and check (in /etc/rcS.d and see when lvm2 is being started in relation to mountall. On my system it's S11lvm2 and S14mountall.sh