From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 17:08:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E584216A46B for ; Thu, 14 Feb 2008 17:08:01 +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 9DC6913C478 for ; Thu, 14 Feb 2008 17:08:01 +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 m1EH4B2A086350; Thu, 14 Feb 2008 12:04:11 -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 m1EH4B1T086349; Thu, 14 Feb 2008 12:04:11 -0500 (EST) (envelope-from jerrymc) Date: Thu, 14 Feb 2008 12:04:11 -0500 From: Jerry McAllister To: Joe Demeny Message-ID: <20080214170411.GC86111@gizmo.acns.msu.edu> References: <200802140108.35844.jd1987@borozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802140108.35844.jd1987@borozo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Trying to recover data from FreeBSD 4.11 system 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: Thu, 14 Feb 2008 17:08:02 -0000 On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote: > I have an old Cyrix computer which doesn't post any more. > > It had 3 hard drives. The boot drive had the / partition as well as /usr > and /var, and the other 2 drives were configured with Vinum RAID 1 for /home. > > I hooked up what used to be the boot drive in a new system and it showed what > looked like some hex numbers and then the error message "BTX halted". > > So, I installed this drive as the second hard drive in a FreeBSD 6.2 system > and I tried to mount it, but I got "incorrect super block". > > Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e. That sounds very unlikely because /dev/ad1, /dev/ad1s1 and /dev/ad1s1c overlap each other in naming/identity. My first question would be which FreeBSD version was used to create that disk? If it is not too old 2.xxx or later, then there should be no problem. Use fdisk to find out how it sees the drive. Do fdisk ad1 and check out what it says. Especially look to see what slices that fdisk thinks it has. Maybe there is only an s1 active with anything in it. That would be easiest and very common. Then use bsdlabel to look at what partitions are defined in any of the slices. do baslabel ad1s1 (for slice 1, ad1d2 as well if there is a slice 2 being used, etc) >From root, do bsdlabel ad1d1 and see what partitions are defines. Remember that partition 'c' is not a real partition, but a label to define the whole slice to the system (it will have a type of 'unused') and that in most cases partition 'b' is used for swap (and will have a type of 'swap'), though it does not have to be swap. The other partitions; a, d, e, f, g, h, could be real partitions with something on them. Almost certainly the 'a' partition will be root on a bootable slice. Do an fsck on each real partition. 'fsck /dev/ad1s1a' etc Then create a mount point and try to mount it. mkdir /olda (the name is arbitrary, just needs to be unigue) mount /dev/ad1s1a /olda If this all doesn't work, then problems are more serious and you may not be able to recover the data. Anyway, you will need to try more extreme measures. ////jerry > > Is there a way to mount these filesystems? > > -- > Joe Demeny > _______________________________________________ > 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"