From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 19:19:44 2003 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 C871116A4CE for ; Sun, 30 Nov 2003 19:19:44 -0800 (PST) Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B10B43FBD for ; Sun, 30 Nov 2003 19:19:41 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp08.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HP700M5X2ANIL@smtp08.wxs.nl> for freebsd-questions@freebsd.org; Mon, 01 Dec 2003 03:15:59 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hB12I1cP021591; Mon, 01 Dec 2003 03:18:01 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hB12I0W1021590; Mon, 01 Dec 2003 03:18:00 +0100 (CET envelope-from akruijff) Date: Mon, 01 Dec 2003 03:18:00 +0100 From: Alex de Kruijff In-reply-to: <20031130184207.4fea2d46.martin.vana@vslib.cz> To: martin Message-id: <20031201021800.GA20768@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <20031130184207.4fea2d46.martin.vana@vslib.cz> cc: freebsd-questions@freebsd.org Subject: Re: lost labels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 03:19:44 -0000 On Sun, Nov 30, 2003 at 06:42:07PM +0100, martin wrote: > Greetings, > I've encouted little difficuluty, don't know what exactly has happend, but > after installing W2K on the other disk, disklabel on my primary disk > disappeard /FREEBSD4.9/. Only thing I can do is to mount /dev/ad0s1 > unforunately I can't access /dev/ad0s1[a-f] due to inccorect super block message. > disklabel prints this: > > vanice# disklabel -r /dev/ad0s1 > > # /dev/ad0s1: > type: ESDI > disk: ad0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 4862 > sectors/unit: 78124032 > 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: 78124032 0 unused 0 0 # (Cyl. 0 - 4862*) > > > Is there a chance I can see my data again? > Thank you > Martin Vana You could try letting fsck loos on those slices. Just type the slices after the command. *If* any fail then you could add -p (preen) and -f (force) before the slice. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/