[Pkg-sysvinit-devel] Bug#616316: checkfs.sh started before /dev/md* are created
Petr Baláš
petr at balas.cz
Thu Mar 3 12:40:21 UTC 2011
Package: initscripts
Version: 2.88dsf-13.1
After udpate to squueze server doesn't start. /etc/init.d/checkfs.sh
report error
that /dev/md* are not accessible and failed. After logging with root password
every partition can be mounted without problems.
Placing "sleep 10;" at the beginning of do_start function solves problem.
My system:
fully upgraded to squeeze
NOT converted to depenedency based boot
self compiled kernel without initrd, kernel assembled RAID arrays
(partiton type 0xFD)
udev version 164-3
server:/etc/init.d# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/md0 / ext3 errors=remount-ro 0 1
/dev/md1 none swap sw 0 0
/dev/md2 /srv/db-data ext3 errors=remount-ro 0 1
/dev/md3 /srv/db-index ext3 errors=remount-ro 0 1
/dev/md4 /home ext3 errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
stacker:/home/_zalohy /home/_zalohy nfs defaults 0 0
server:/etc/init.d# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sda2[0] sdc2[1]
29294400 blocks [2/2] [UU]
md1 : active raid1 sdd1[1] sdb1[0]
7815488 blocks [2/2] [UU]
md3 : active raid1 sdd2[1] sdb2[0]
29294400 blocks [2/2] [UU]
md4 : active raid5 sdd3[3] sda3[0] sdc3[1] sdb3[2]
2812491264 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
md0 : active raid1 sda1[0] sdc1[1]
7815488 blocks [2/2] [UU]
--
Petr Baláš - petr at balas dot cz
More information about the Pkg-sysvinit-devel
mailing list