"fsck -y /" keeps saying "Disk is still dirty" no matter how many times I run it

Erich Dollansky erichsfreebsdlist at alogt.com
Wed Jan 13 11:54:22 UTC 2016


Hi,

On Fri, 8 Jan 2016 13:44:24 -0800
Yuri <yuri at rawbw.com> wrote:

> On 01/08/2016 12:17, Polytropon wrote:
> > This seems to indicate a massive file system defect. Using
> > "fsck -fy /" enables fsck to use its full spectrum of repair

you must run fsck on th eunmounted device to get the best result.

> > (in comparison to -p "preen mode"). Check if_the same_  problems
> > re-appear. In this case, they could not be fixed properly
> > and the file system won't get the "clean" indicator.  
> 
> I had to run 'fsck -fy' ~10 more times until the problem is gone.
> 
> First time that I saw such an extensive damage.

It was just sume which is hard to fix on mounted device.

Erich
> 
> Thank you,
> Yuri
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list