From owner-freebsd-questions@freebsd.org Sat Jan 9 00:17:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C819A68771 for ; Sat, 9 Jan 2016 00:17:40 +0000 (UTC) (envelope-from lars@noos.larseighner.com) Received: from emailserver2.asdf456.com (emailserver2.asdf456.com [72.18.207.139]) by mx1.freebsd.org (Postfix) with SMTP id 614581957 for ; Sat, 9 Jan 2016 00:17:39 +0000 (UTC) (envelope-from lars@noos.larseighner.com) Received: (qmail 29898 invoked by uid 0); 9 Jan 2016 00:17:32 -0000 Received: from unknown (HELO noos.larseighner.com) (70.115.135.184) by emailserver2.asdf456.com with SMTP; Fri, 08 Jan 2016 16:17:32 -0800 Received: by noos.larseighner.com (nbSMTP-1.00) for uid 1001 lars@noos.larseighner.com; Fri, 8 Jan 2016 18:15:21 -0600 (CST) Date: Fri, 8 Jan 2016 18:15:20 -0600 (CST) From: Lars Eighner X-X-Sender: lars@noos.larseighnerhome.com To: Yuri cc: FreeBSD Questions Subject: Re: "fsck -y /" keeps saying "Disk is still dirty" no matter how many times I run it In-Reply-To: <569017FF.9060509@rawbw.com> Message-ID: References: <569017FF.9060509@rawbw.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 00:17:40 -0000 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