Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 18:15:20 -0600 (CST)
From:      Lars Eighner <luvbeastie@larseighner.com>
To:        Yuri <yuri@rawbw.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: "fsck -y /" keeps saying "Disk is still dirty" no matter how many times I run it
Message-ID:  <alpine.BSF.2.20.1601081810070.15411@abbf.ynefrvtuareubzr.pbz>
In-Reply-To: <569017FF.9060509@rawbw.com>
References:  <569017FF.9060509@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Jan 2016, Yuri wrote:

> As a result of the power outage I needed to run fsck on UFS disk with 
> soft-updates.
>
> But every time the command 'fsck -y /' says that it corrected a lot of 
> problems, but it still leaves the disk dirty. I ran it at least 15 times - 
> same result.

Most likely you have a bad sector on your disk. fsck cannot fix this. When 
you write to the disk, hopefully the disk will mark the sector bad, and 
basically hide it. Unfortunately, you cannot mount it to write if it is 
dirty. You can only newfs it, which means goodbye to everything since your 
last backup. After you newfs, you can restore from your backup.


>
> What would be the way to proceed from here?
>
> (I ran fsck before, but it never happened that fsck keeps finding problems)
>
> Thank you,
> Yuri
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>

-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1601081810070.15411>