XFS/LVM is not mounting anymore during boot
Hello folks,
have Debian 3.1, and after update in late december started having
strange issue with XFS/LVM partitions which are not mounted
automatically on boot... My system is
### uname -a ###
Linux [cut] 2.6.8-3-686-smp #1 SMP Tue Dec 5 23:17:50 UTC 2006 i686
GNU/Linux
### fdisk -l ###
Disk /dev/sda: 220.2 GB, 220219834368 bytes
255 heads, 63 sectors/track, 26773 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 12 96358+ 83 Linux
/dev/sda2 13 26773 214957732+ 8e Linux LVM
### lvscan ###
ACTIVE '/dev/vdisk/swap' [10,00 GB] inherit
ACTIVE '/dev/vdisk/root' [10,00 GB] inherit
ACTIVE '/dev/vdisk/home' [10,00 GB] inherit
ACTIVE '/dev/vdisk/opt' [10,00 GB] inherit
ACTIVE '/dev/vdisk/var' [10,00 GB] inherit
[... and many others...]
### cat /etc/fstab ###
/dev/sda1 /boot ext2 defaults
0 2
proc /proc proc default
0 0
/dev/mapper/vdisk-swap none swap sw
1 0
/dev/mapper/vdisk-root / xfs defaults
0 1
/dev/mapper/vdisk-opt /opt xfs defaults
0 2
/dev/mapper/vdisk-var /var xfs defaults
0 2
/dev/mapper/vdisk-home /home xfs defaults
0 2
###
The fact is... once I boot the system it just goes up, and hangs during
boot process since GDM is not able to start (conf files are located on
missing partitions). Everything seems right, if I do
mount -av -t nonfs,nonfs4,nosmbfs,nocifs,noncp,noncpfs,nocoda 2>&1 |
egrep -v '(already|nothing was) mounted'
by hand (as /etc/init.d/mountall.sh should do) and magically all
partitions are back again... but why this doesn't happen on boot?
default runlevel is
### grep default /etc/inittab ###
id:2:initdefault:
and rc2.d has following services
### ls /etc/rc2.d/ ###
K00lpd S10sysklogd S20cupsys S20nscd S20winbind
K00ppp S11klogd S20dbus-1 S20postgresql S89anacron
K20gdm S13apcupsd S20exim4 S20samba S89cron
K20gpm S20acpid S20firewall S20snort S99rmnologin
K20makedev S20atd S20inetd S20ssh S99stop-bootlogd
K20slapd S20bootclean S20mysql S20ups-monitor
###
therefore I suppose that LVM starts before MOUNTALL, and indeed after I
login locally I can see that /dev/mapper is populated with all the
needed partitions.
Did anyone ever had this kind of problem? Is there any settings that
filters out partitions to mount during boot? Thanks in advance.
Reply to: