From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 19:24:09 2004 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 CD43A16A4CE for ; Sat, 10 Apr 2004 19:24:09 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE3043D39 for ; Sat, 10 Apr 2004 19:24:09 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp38-176.lns1.adl1.internode.on.net [150.101.38.176])i3B2O5eZ023284; Sun, 11 Apr 2004 11:54:06 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: at home To: "Julien Gabel" , freebsd-questions@freebsd.org Date: Sun, 11 Apr 2004 11:54:04 +0930 User-Agent: KMail/1.4.3 References: <50127.192.168.0.105.1081599736.squirrel@webmail.thilelli.net> <50911.192.168.0.105.1081633514.squirrel@webmail.thilelli.net> In-Reply-To: <50911.192.168.0.105.1081633514.squirrel@webmail.thilelli.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200404111154.04688.malcolm.kay@internode.on.net> Subject: Re: Can't *write* to a hard disk, not even a slice using fdisk(8). 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: Sun, 11 Apr 2004 02:24:09 -0000 On Sunday 11 April 2004 07:15, Julien Gabel wrote: > I want to say that it is a mirror created with a hardware HighPoint HPT= 374 > (channel 2+3) UDMA133 controller ; not created using software, like vin= um > for example. > > >> - But when I tried to create a slice on it, I get: > >> # fdisk -BI ad10 > >> ******* Working on device /dev/ad10 ******* > >> fdisk: can't write fdisk partition table: Operation not permitted > There is no partition mounted on it because the miror is actually breac= k, > so this disk is totally not used at this time. > > Before that, a /home was mounted on the device corresponding to the mir= ror, > i.e. /dev/ar1 (which was made from /dev/ad8 + /dev/ad10). Actually, and > because I had some activity on this machine, I made the /home partition > available under the /dev/ad8 device alone, which is the other identical > disk which previously formed the mirror and works like a charm. I take it that you are still trying to manage ad10 through the RAID capab= le controller. No real information but I would guess the controller is still seeing=20 information on the drive ad10 which ties it in with some other disk for R= AID. If you have a regular on board ATA interface I'd try plugging the drive i= n=20 there (you can do it with all other drives removed for safety) and then t= ry=20 to initialise using an installation CD. If that works I imagine you can p= ut every thing back in your prefered configuration and continue. Malcolm