From owner-freebsd-questions@freebsd.org Sat Jan 9 00:05:21 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 31FB9A68383 for ; Sat, 9 Jan 2016 00:05:21 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from relay10.netenterprise.net (relay10.netenterprise.net [66.180.133.99]) by mx1.freebsd.org (Postfix) with ESMTP id E8226144C for ; Sat, 9 Jan 2016 00:05:20 +0000 (UTC) (envelope-from noc@hdk5.net) X-Envelope-From: noc@hdk5.net X-Envelope-To: freebsd-questions@freebsd.org Received: From imail5.netenterprise.net (64.29.90.135) by relay10.netenterprise.net (MAILFOUNDRY) id mg3FWLZlEeW4agAl; Sat, 9 Jan 2016 00:11:59 -0000 (GMT) Received: from ponolei.intra.net [72.235.61.32] by IMAIL5.netenterprise.net with ESMTP (SMTPD-12.5.3.93) id a09900034f8ca13f; Fri, 8 Jan 2016 14:05:13 -1000 Message-ID: <56904EBA.2010108@hdk5.net> Date: Fri, 08 Jan 2016 14:05:14 -1000 From: al plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Polytropon CC: Yuri , FreeBSD Questions Subject: Re: "fsck -y /" keeps saying "Disk is still dirty" no matter how many times I run it References: <569017FF.9060509@rawbw.com> <20160108211722.71ab0408.freebsd@edvax.de> In-Reply-To: <20160108211722.71ab0408.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:05:21 -0000 Polytropon wrote: > On Fri, 8 Jan 2016 12:11:43 -0800, 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. >> > > This seems to indicate a massive file system defect. Using > "fsck -fy /" enables fsck to use its full spectrum of repair > (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. > > > > >> What would be the way to proceed from here? >> > > Re-initalize the file system and restore from a recent backup. > If you don't have one, you could try to backup from the damaged > file system with "dump", then run "newfs", and then "restore". > > > > >> (I ran fsck before, but it never happened that fsck keeps finding problems) >> > > I've seen a comparable problem very few times, but usually > a second run of a forced full fsck solved the problem. > > Are you sure the disk (!) doesn't have problems after the > power outage? It's possible that you're seeing a "hardware > issue" here. > > > > > Aloha Yuri, I think Poly may be right about hardware fault. If the power surged and then went off I lost a drive this way a long time ago. Al ~ Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 ~ Supporting FreeBSD - UNIX Computer O/S email: noc@hdk5.net email: alplant.att.net ."All that's really worth doing is what we do for others" - Lewis Carrol