From owner-freebsd-fs@FreeBSD.ORG Sat Oct 29 19:42:23 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0650C16A420 for ; Sat, 29 Oct 2005 19:42:23 +0000 (GMT) (envelope-from gbenhaim@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BC4E43D46 for ; Sat, 29 Oct 2005 19:42:22 +0000 (GMT) (envelope-from gbenhaim@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so630887nzd for ; Sat, 29 Oct 2005 12:42:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=X1y1uCl71TouBoWmBlC1puEJ+Cg+qM8BGfqRTAYOMfDsx2o9H11x+Zel1OdfbL8zXJumErbGdLFmPHuWLgErPdLZn1QiGvvw3kwHN2KCle60p/np5wnrQk5+PO8XyJ9U4pu/sB7Go8oj02KiOw6wjVNV54fZMiG2Cm6sS7VnH9w= Received: by 10.36.250.51 with SMTP id x51mr1659654nzh; Sat, 29 Oct 2005 12:42:19 -0700 (PDT) Received: by 10.36.65.15 with HTTP; Sat, 29 Oct 2005 12:42:19 -0700 (PDT) Message-ID: Date: Sat, 29 Oct 2005 21:42:19 +0200 From: Gal Ben-Haim To: freebsd-fs@freebsd.org In-Reply-To: <20051029192657.26514.qmail@web30310.mail.mud.yahoo.com> MIME-Version: 1.0 References: <20051029192657.26514.qmail@web30310.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: disklabel recovery X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 19:42:23 -0000 i can see the data with 'cat /dev/ad2' but I can't do much with it. fdisk shows the partition properly (1 partition of the entire disk). I need to rebuild the disklabel from scratch somehow, it was only one partition on one slice. I have the old layout written.. On 10/29/05, Arne W=F6rner wrote: > > --- Gal Ben-Haim wrote: > > Im running FreeBSD 5.4 > > I accedently enabled swap on /dev/ad2s1c (raw label), this > > destroyed my disklabel, > > > Hmm... Maybe it overwrote some other areas, too? > > > When I try to mount the filesystem I get: the mount is > > successful, > > > So "mount" thinks, that the filesystem is clean... > Can you copy the whole disc to another disc? > Maybe you should do a fsck on that file system (WARNING: THIS > COULD CAUSE MORE DAMAGE TO THE FILESYSTEM!!!)? > > > I tried to create a new label with 'sysinstall', but the label > > which is created seems to be with invalid values. > > > Hmm... Do you remember the old layout (roughly)? > > -Arne > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > -- Gal Ben-Haim, gbenhaim@gmail.com