From owner-freebsd-current Wed Nov 13 7:20: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DFA237B401 for ; Wed, 13 Nov 2002 07:20:02 -0800 (PST) Received: from gypsy.vrac.iastate.edu (gypsy.vrac.iastate.edu [129.186.232.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F44243E6E for ; Wed, 13 Nov 2002 07:20:01 -0800 (PST) (envelope-from patrick@137.org) Received: from 137.org (crow.vrac.iastate.edu [129.186.232.120]) by gypsy.vrac.iastate.edu (Postfix) with ESMTP id B781111 for ; Wed, 13 Nov 2002 09:20:00 -0600 (CST) Message-ID: <3DD26D6F.4010202@137.org> Date: Wed, 13 Nov 2002 09:19:11 -0600 From: Patrick Hartling User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Lost disklabel Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a machine that is running -current from October 10, 2002. It had been running fine for about two weeks--up until I had to reboot it. When it came back up, one of my disks apparently lost its disklabel. Is there any way to recover a disklabel? If not, I'm willing to grovel the disk and try to reconstruct its disklabel (there is really only one partition on it that I need to get back, and its at the beginning of the disk), but disklabel(8) won't even let me try to make a new one. If I run 'disklabel -e da3s1', I get an error saying "ioctl DIOCGDINFO: Inappropriate ioctl for device". Running 'disklabel -r da3s1' gives a "bad magic pack number" error, which does not surprise me. This is a "dangerously dedicated" disk with a single BIOS partition containing four FreeBSD partitions. I have a second identical disk in the machine. fdisk(8) gives the same information for each, so I don't think the BIOS partition is messed up. Is there something obvious that I'm missing about how to fix this problem? -Patrick -- Patrick L. Hartling | Research Assistant, VRAC patrick@137.org | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message