strange fsck hang during bootup
Hi,
I just upgraded to potato and have a strange problem. One of my
partitions is a level 0 raid. During bootup fsck hangs and doesn't do
anything while checking /dev/md0. I can interrupt by pressing CTRL-C and
the system boots up as usually -- without checking the other partitions
of course. If I do a fsck -a after bootup on /dev/md0 everthing seems
fine.
Okay I did a little more testing. First an strace of fsck on bootup:
close(3) = 0
munmap(0x40014000, 4096) = 0
write(1, "Checking all file systems.\n", 27Checking all file systems.
) = 27
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
write(1, "[/sbin/fsck.ext2 -- /opt] fsck.e"..., 53[/sbin/fsck.ext2 -- /opt] fsck.ext2 -a -C0 /dev/md0
) = 53
fork() = 51
time(NULL) = 940877911
stat("/sbin/fsck.ext2", {st_mode=S_IFREG|0755, st_size=74672, ...}) = 0
write(1, "[/sbin/fsck.ext2 -- /var] fsck.e"..., 50[/sbin/fsck.ext2 -- /var] fsck.ext2 -a /dev/hda6
) = 50
fork() = 52
time(NULL) = 940877911
/dev/hda6 was not cleanly unmounted, check forced.
/dev/md0 was not cleanly unmounted, check forced.
/dev/hda6: Deleted inode 58352 has zero dtime. FIXED. / 11.3%
/dev/hda6: 4534/78312 files (3.1% non-contiguous), 188109/313236 blocks
--- SIGCHLD (Child exited) --- \ 18.8%
/dev/md0: 5062/265200 files (3.0% non-contiguous), 736593/1057952 blocks
--- SIGCHLD (Child exited) ---
At this stage the computer hangs and does nothing 'till I press CTRL-C.
If I comment out /dev/md0 in /etc/fstab everthing works fine. After that
I read the fsck manpage and I set the dump-Nr in /etc/fstab for /dev/md0
to 3, to prevent paralellizing of fsck.
Okay now I test it with old fsck from slink...
Well it works! Shall I file a bugreport against e2fsprogs ??
Thanks,
Matthias
--
created at Mon Oct 25 20:32:20 CEST 1999
+-------------------------------------------------+
|SnailMail: Matthias Berse/Bachstr. 28/44625 Herne|
|Voice: +49-2323-42397 |
|PGP-Public-Key available! |
+-------------------------------------------------+
Man is a military animal, glories in gunpowder, and loves parade.
-- P.J. Bailey
Reply to: