From owner-freebsd-questions@FreeBSD.ORG Sun Feb 25 03:03:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F112616A402 for ; Sun, 25 Feb 2007 03:03:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id A576B13C474 for ; Sun, 25 Feb 2007 03:03:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l1P30eQ4052137; Sat, 24 Feb 2007 22:00:40 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l1P30dCv052136; Sat, 24 Feb 2007 22:00:39 -0500 (EST) (envelope-from jerrymc) Date: Sat, 24 Feb 2007 22:00:39 -0500 From: Jerry McAllister To: Ian Smith Message-ID: <20070225030039.GA52094@gizmo.acns.msu.edu> References: <20070223181710.GA28856@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Marty Landman , freebsd-questions@freebsd.org Subject: Re: input/output error on hd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 03:03:04 -0000 On Sat, Feb 24, 2007 at 06:12:39PM +1100, Ian Smith wrote: > On Fri, 23 Feb 2007, Jerry McAllister wrote: > > Jerry, just on a couple of points: > > Me to Marty: > > > Does the above result mean that my boot sector is ok? > > > > I think maybe you might be getting some of your terminology shuffled > > around. Your boot sector is not at question here. It doesn't > > affect the ability to read the disk partition. > > I was talking about sector 0 on ad1. If the disk were bootable it would > be the 'boot sector', but it's not bootable. It still contains the DOS > partition table though. boot0cfg -v shows this info too. OK. Yes, he already worked on the sector 0 earlier. The DOS partition table is what is called the slice table in FreeBSD. That seems to be OK - as I noted. ////jerry > > > Secondly, it looks like the slice table - which is what fdisk mucks > > with - is OK. > > Luckily .. though with only one slice on the disk, easily recreatable. > > > What seems to be messed up is either the slice 1 label which contains > > the partition table. In fact, with one of your postings, it looked > > like it thinks it is slice 4, but I don't remember what you did to > > get that. > > Try 'fdisk ad0sY' where Y is any freebsd slice, and you'll get that (or > at least, I do on both my ad0 freebsd slices). Maybe fdisk should barf > or at least whinge rather than reporting the first sector of any slice > specified as if it were a sector 0 / MBR / boot sector? Probably should barf or make some other error message. Anyway, one shouldn't run fdisk on a slice, but on the device, so that accounts for the weird message I suppose. ////jerry > > > If none of this helps at all, then the problem is past the label and > > in to the filesystem structure itself. Then I think you are stuck with > > tracing superblocks as I pointed out before. That is going to take some > > study but it might work. > > Yep, it depends on how precious this data is, but no learning is wasted. > > Cheers, Ian > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"