From owner-freebsd-questions Mon Sep 10 7:11:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hobbiton.shire.net (frogmorton.shire.net [204.228.145.136]) by hub.freebsd.org (Postfix) with ESMTP id 4764F37B40B for ; Mon, 10 Sep 2001 07:11:30 -0700 (PDT) Received: from nh-merrimack1a-425.bur.adelphia.net ([24.49.145.169] helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (Exim 3.22 #6) id 15gRl9-000AtF-00; Mon, 10 Sep 2001 08:09:59 -0600 Date: Mon, 10 Sep 2001 10:11:25 -0400 From: "Chad Leigh, Shire.Net LLC" Reply-To: chad@shire.net To: freebsd-questions@freebsd.org Cc: chad@shire.net Subject: disklabel question Message-ID: <105540093.1000116685@[192.168.99.66]> X-Mailer: Mulberry/2.1.0 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Using 4.4-RC4. The controller is a AHA-2944 and is not the first controller in the system, but the first to have disks. It does not load a BIOS. A later 2940UW loads the bios and is the boot disk controller. (I replaced a mainboard and reinstalled FreeBSD and this mainboard looks at the PCI slots in the reverse order as most boards and the old board) I am using disklabel to try and "fix" a disk. The in-memory label for the disk does not show one of the partitions but the raw on disk one does show it. I try and do % disklabel da0 disklabel: ioctl DIOCGDINFO: Invalid argument % but disklabel /dev/da0 works (and also with the -r) When I do % disklabel -e /dev/da0 and add the parition like it is on the disk and then try and save this edit I get: disklabel: Operation not supported by device re-edit the label? [y]: What can I do to be able to fix this disk? Thanks Chad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message