ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Auto run fsck at boot


From: Stuart Hughes
Subject: Re: [Ltib] Auto run fsck at boot
Date: Fri, 27 Jul 2012 08:58:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20

Hi Todd,

All I can confirm is that there was never originally a plan to handle this kind of situation and so it's likely a bug/limitation of the start-up script.  Anyone have an idea to fix simply without putting a full sysv init sequence (e.g. fix what's there)?

Regards, Stuart

On 26/07/12 22:18, Todd Sampson wrote:
Sometimes, if my target watchdogs and does not shut down cleanly, the next time it boots, there is a "stale file handle".  If I run fsck manually, it finds and fixes the problem.

My problem is: fsck is not being run at boot time on my partitions in /etc/fstab.  

Example partition in /etc/fstab:
/dev/sda2 /hd/app ext2 rw,errors=continue 0 2 <- Shouldn't this '2' cause fsck to be run on this partition?

I always get the following message at boot time, even when the partition is "not clean":

Mounting filesystems
[   13.693640] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

It looks like the script: /etc/rc.d/init.d/filesystems is handling the mounting.

Can anyone tell me how to get fsck to be run automatically at boot time?

Sorry if this is a little off LTIB topic.

Thanks!
Todd


Particulars:
ltib 10.1.1 ($Revision: 1.68 $)
Host: Ubuntu 10.04 LTS
Target: PPC5200B
_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/ltib


reply via email to

[Prev in Thread] Current Thread [Next in Thread]