From owner-freebsd-stable@FreeBSD.ORG Tue Aug 1 14:56:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDCD916A4E0 for ; Tue, 1 Aug 2006 14:56:52 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DEBC43D78 for ; Tue, 1 Aug 2006 14:56:49 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.7/8.13.7) with ESMTP id k71Eub4L013006 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 1 Aug 2006 16:56:48 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <44CF6809.3090808@neuwald.biz> References: <44CF58DD.8000805@neuwald.biz> <0425D7C1-CFCB-4689-94C9-EE393D8B98E3@lassitu.de> <44CF6809.3090808@neuwald.biz> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Tue, 1 Aug 2006 16:57:12 +0200 To: Felipe Neuwald X-Mailer: Apple Mail (2.752.2) Cc: freebsd-stable@freebsd.org Subject: Re: GEOM_BDE: where is my partition? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 14:56:53 -0000 Am 01.08.2006 um 16:41 schrieb Felipe Neuwald: > Stefan, > > Yes, the disk have been detected: > > [root@xingu /home/felipe]# dmesg | grep ad5 > ad5: 194481MB at ata2-slave UDMA66 > [root@xingu /home/felipe]# ls -laF /dev/ad5 > crw-r----- 1 root operator 0, 62 Aug 1 10:39 /dev/ad5 > > And here is the fdisk output: ... > fdisk: invalid fdisk partition table found Well, there you go: that's why there is no ad5s1, and thus ad5s1c. Maybe you got lucky, and only the first sector of the disk got lost in that crash. If you know how you had partitioned that disk *exactly*, or you have another disk of the same size that is partitioned *exactly* the same, you might try to re-create the slices usign fdisk, or copying over the first sector with dd. Otherwise, you need to restore from backup. Stefan -- Stefan Bethke Fon +49 170 346 0140