All of lore.kernel.org
 help / color / mirror / Atom feed
From: JustinLove <justin.love@cesgames.com>
To: openembedded-devel@lists.openembedded.org
Subject: automatic fsck?
Date: Fri, 13 Mar 2009 13:38:08 -0500	[thread overview]
Message-ID: <49BAA810.4070906@cesgames.com> (raw)

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




             reply	other threads:[~2009-03-13 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 18:38 JustinLove [this message]
2009-03-15 20:45 ` automatic fsck? Dmitry Artamonow
2009-03-16 19:19   ` JustinLove

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49BAA810.4070906@cesgames.com \
    --to=justin.love@cesgames.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.