ext2 fs not properly updated upon dismount.

Richard B. Johnson (root@chaos.analogic.com)
Tue, 16 Jun 1998 08:30:49 -0400 (EDT)


Yesterday I posted the observation that consistantly, a root file-system
needs some repair upon startup even though fsck normally checks to see
if it was dismounted properly and doesn't not normally check the whole
drive unless there was an umproper dismount or the mount-count has
expired.

Booting any three of my systems with init=bin/bash and running fsck
manually always finds something wrong that has to be repaired.

Here is an update. It might point to the problem. If I don't set up
a swap drive, the problem doesn't occur. My swap partition is /dev/sdc2,
not shared with anything, while my root file-system is /dev/sdc1.

The swap partition is 132 megabytes.

Script started on Tue Jun 16 08:27:17 1998
# fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Begin Start End Blocks Id System
/dev/sdc1 * 1 1 255 2048256 83 Linux native
/dev/sdc2 256 256 288 265072+ 83 Linux native
/dev/sdc3 289 289 553 2128612+ 83 Linux native

Command (m for help): q
# exit
exit
Script done on Tue Jun 16 08:27:54 1998

My controllers are BusLogic.

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.105 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu