From owner-freebsd-questions@FreeBSD.ORG Tue Feb 3 23:05:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E2A416A4CE for ; Tue, 3 Feb 2004 23:05:07 -0800 (PST) Received: from web41110.mail.yahoo.com (web41110.mail.yahoo.com [66.218.93.26]) by mx1.FreeBSD.org (Postfix) with SMTP id 778C343D39 for ; Tue, 3 Feb 2004 23:05:05 -0800 (PST) (envelope-from scott@sremick.net) Message-ID: <20040204070505.15051.qmail@web41110.mail.yahoo.com> Received: from [24.48.174.124] by web41110.mail.yahoo.com via HTTP; Tue, 03 Feb 2004 23:05:05 PST X-RocketYMMF: siremick Date: Tue, 3 Feb 2004 23:05:05 -0800 (PST) From: "Scott I. Remick" To: Sergey 'DoubleF' Zaharchenko In-Reply-To: <20040204082855.5111c74d@Hal.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Jerry McAllister cc: FreeBSD Subject: Re: "Cannot find file system superblock" error - how to recover? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scott@sremick.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 07:05:07 -0000 --- Sergey 'DoubleF' Zaharchenko wrote: > Sorry, you were recovering an 80G disk, and now you say the 80G has 4.9 > on it. Did you erase anything? Is this a remote machine? No, it was not the drive that had the OS on it. It was originally mounted as /data on a system that had FreeBSD 5.1 installed on a separate drive. We determined the 80GB was UFS1. You wanted to try troubleshooting using FreeBSD 4.9, so I obtained a spare system which I installed FreeBSD 4.9-RELEASE on. I then moved the 80GB from the 5.1 system (which is actually 5.2 now) and installed it into the 4.9 system on the 2nd controller. So now 4.9 is installed on a 20GB on /dev/ad0, and our problem 80GB is /dev/ad2. > You can boot 4.9, right? Examine the output of disklabel ...s1 and > ...s1c to make heart feel better. bash-2.05b# disklabel /dev/ad2s1 # /dev/ad2s1: type: ESDI disk: ad6s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9731 sectors/unit: 156344517 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 156344517 0 unused 0 0 # (Cyl. 0 - 9731*) e: 156344517 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 9731*) bash-2.05b# disklabel /dev/ad2s1c # /dev/ad2s1c: type: ESDI disk: ad6s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9731 sectors/unit: 156344517 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 156344517 0 unused 0 0 # (Cyl. 0 - 9731*) e: 156344517 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 9731*)