Tunefs / Forcing fsck

Randy Forston rforston at earthlink.net
Mon Mar 6 08:39:48 UTC 2006

Tim T. <> wrote:
> Hi,
>   One of my harddisks here may be failing, or I may have a problem
> with the kernel., not sure which 
>  I'd like to force an fsck on the failing disk, before I attempt to
> recover data from it. Looking through the manual page 
> for fsck I don't see any option for this.

To force a fsck at next boot:
	sudo touch /forcefsck

>  When I run fsck, it reports the partition is clean and immediately
> returns. I think I need to use tunefs to reset the clean flag, but I
> can't find it anywhere on my system.. Where is it ? 
> TimT.

I think the command you're looking for is:
	tune2fs   in /sbin


More information about the ubuntu-users mailing list