Date: Wed, 30 Dec 2009 16:11:41 -0800 From: Kirk McKusick <mckusick@mckusick.com> To: Dan Strick <mla_strick@att.net> 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 Message-ID: <200912310011.nBV0BfPm024346@chez.mckusick.com> In-Reply-To: <200912302300.nBUN0GEl004499@mist.nodomain>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 30 Dec 2009 15:00:16 -0800 (PST) > From: Dan Strick <mla_strick@att.net> > 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 > > > From mckusick@mckusick.com Wed Dec 30 09:45:41 2009 > > To: Dan Strick <mla_strick@att.net> > > 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. Yes, quite believeable. > 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. That is what I will probably do unless an easy fix for UFS1 presents itself. > > 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 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Excellent. I wish all folks that reported bugs could provide such help as you have :-) Do you have a web server on which you could put it from which I could do a download? Or an ftp server? If not, I'll create a guest account for you on my machine and let you download to that. ~Kirk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912310011.nBV0BfPm024346>