From owner-freebsd-fs@FreeBSD.ORG Wed Dec 30 23:27:00 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5FE710656C0 for ; Wed, 30 Dec 2009 23:26:59 +0000 (UTC) (envelope-from mla_strick@att.net) Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by mx1.freebsd.org (Postfix) with SMTP id 8AA358FC19 for ; Wed, 30 Dec 2009 23:26:59 +0000 (UTC) Received: (qmail 14110 invoked from network); 30 Dec 2009 23:00:17 -0000 Received: from adsl-69-228-80-86.dsl.pltn13.pacbell.net (mla_strick@69.228.80.86 with login) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 30 Dec 2009 15:00:17 -0800 PST X-Yahoo-SMTP: ppEzeiKswBBq7wHVNDEiPbPsAwzyGELyRI8IdiDYGqsxaD5uQA-- X-YMail-OSG: 63vdlwkVM1m_AFt2SVR7YAVo72YmiaGj5K0BcsANWezr8i3DmM3BagZwr3USnuBx5CWaOvyoisUNPimS3FKYDj1Ld3QHbyKpcF1QK5zj55qKYvHMzpRp9Nt4R6kw1xPGr1vyWfoS.s6nvF6sDCB_DNEou2Chq3NxLkfu5TxghXQZqnqw73Gk.eud6THl66q2jgRVGfYRJvIbvtqxHkx8zNmfiVRCJZZeJh9Gp3_ckop4nJw4HZVLh8my0iJYHL6RRmMPiMUQyYqBGnOGHNYExl4LSdlOjws- X-Yahoo-Newman-Property: ymail-3 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.14.3/8.14.3) with ESMTP id nBUN0Gmw004500; Wed, 30 Dec 2009 15:00:16 -0800 (PST) (envelope-from mla@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.14.3/8.14.3/Submit) id nBUN0GEl004499; Wed, 30 Dec 2009 15:00:16 -0800 (PST) (envelope-from mla) Date: Wed, 30 Dec 2009 15:00:16 -0800 (PST) From: Dan Strick Message-Id: <200912302300.nBUN0GEl004499@mist.nodomain> To: mckusick@mckusick.com In-Reply-To: <200912301731.nBUHV720089853@chez.mckusick.com> Cc: freebsd-fs@freebsd.org, bug-followup@freebsd.org, mla@mist.nodomain Subject: Re: kern/141992: fsck cannot repair file system in which it finds an error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 23:27:00 -0000 > From mckusick@mckusick.com Wed Dec 30 09:45:41 2009 > To: Dan Strick > Subject: Re: kern/141992: fsck cannot repair file system in ... > Date: Wed, 30 Dec 2009 09:31:07 -0800 > > Thanks.The thing that immediately jumps out at me is that the filesystem > is UFS1 format (which would make it 4.X vintage unless you specifically > requested UFS1 when you built it). The new code to fix cylinder groups > in fsck can only fix UFS2 filesystems. So the problem is that it is > unhappy with cylinder group 48, then tries to fix it and finds that > it cannot do anything. At a minimum it should just not do its check > for bad cylinder groups in UFS1 filesystems. The file system was probably created by FreeBSD 4.10, the first version of FreeBSD that would run on my machine. Perhaps when the new fsck finds a bad UFS1 cylinder group and cannot fix it, the new fsck should simply explain its limitation and recommend copying the UFS1 file system contents to a new UFS2 file system. > Is there a chance that I can either (1) get a copy of the mdconfig > disk image so I can work out a solution here, or (2) get a login > on your machine so I can poke at things there. > > Kirk McKusick I have prepared a new file system by deleting all files in the old file system, creating a huge file containing only zeros, and deleting the huge file. The new file system gzips nicely and still has the bad cylinder group. The new file system is about 16 MB compressed (almost 9 GB uncompressed). How should I send it to you? Dan Strick