[oe] automatic fsck?
JustinLove
justin.love at cesgames.com
Fri Mar 13 18:38:08 UTC 2009
I routinely had problems with ext2 that were fixed by fsck. I switched to
ext3, but there are still occasions where the filesystem gets wedged, but a
simple fsck restores it. Is it possible to run fsck automatically on startup,
as many desktop systems do? The kernel startup messages are telling me
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
I realize that most of the mechanics involve files on root, which won't do much
good if the filesystem is corrupted. Long term plan is to repartition and make
root readonly, but I'd still like fsck for the other partitions.
Environment:
Linux beagleboard 2.6.27-omap1 #1 Wed Jan 14 07:47:57 CST 2009 armv7l unknown
Angstorm on beagleboard, running from SD card with 2 partitions, FAT/ext3
So far I've figured out:
- fstab has '1' in last column for rootfs
- Install e2fsprogs-fsck and/or e2fsprogs-e2fsck
- change ENABLE_ROOTFS_FSCK=yes in /etc/default/rcS
- Specify "ro" on kernel command line
- "shutdown -F -r now", but this has no effect, I still get the warning message
What am I missing?
--
Justin Love
Creative Electronics & Software
650 Sundown Road
South Elgin, IL 60177
Phone 847-695-0023 x233
FAX 847-695-0483
More information about the Openembedded-devel
mailing list