From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 06:56:31 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 9643816A4CE for ; Tue, 13 Apr 2004 06:56:31 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9F5743D48 for ; Tue, 13 Apr 2004 06:56:30 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 0FD8578C70 for ; Tue, 13 Apr 2004 15:56:29 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00552-03-2 for ; Tue, 13 Apr 2004 15:56:28 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id 3509878C65 for ; Tue, 13 Apr 2004 15:56:28 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Tue, 13 Apr 2004 15:56:28 +0200 (CEST) Message-ID: <50760.192.168.0.105.1081864588.squirrel@webmail.thilelli.net> In-Reply-To: References: <50127.192.168.0.105.1081599736.squirrel@webmail.thilelli.net><50911.192.168.0.105.1081633514.squirrel@webmail.thilelli.net><49289.192.168.0.105.1081668682.squirrel@webmail.thilelli.net><50715.192.168.0.105.1081685718.squirrel@webmail.thilelli.net> Date: Tue, 13 Apr 2004 15:56:28 +0200 (CEST) From: "Julien Gabel" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.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: Tue, 13 Apr 2004 13:56:31 -0000 >>>> GEOM doesn't let you write to an active device, except if you set >>>> kern.geom.debugflags=16 >>> Ok no problem, I changed it this way: >>> # sysctl kern.geom.debugflags=16 >>> kern.geom.debugflags: 1 -> 16 >>> But it seems to change *absolutly nothing*... :( [...] >> Mmmhh... We're doing something wrong here I guess :o Are you 100% sure >> that ad10 is not used by any open geom modules? What does dmesg say >> about ar*? > Well, I see that geom tastes ad10 and creates a slice class for it... > However, if kern.geom.debugflags=16, you should still be able to touch > the slice. > > If debugflags=16 I know of no reason why you shouldn't be able to > partition de disk; sorry, I'm stumped :( Ok, some news here. I can't be able to access/write to ad10 using fdisk for example... under FreeBSD-5.x (OS version installed on the server). But I gave a try to the CD "4.9-i386-mini.iso" and... I succeed to create a slice on ad10 and even to partition and write some files on it! So, what I can say here: - The disk seems not to be dead; - But after I had modify it under the 4.9 CDROM, I can't access it (fdisk, bsdlabel, etc.) under the installed and running OS on this machine: FreeBSD 5.2.1. :( It seems that 'Joan' was in the right direction arguing to play with "kern.geom.debugflags", but it didn't work for me. If someone has an other idea with this new point in mind... Thanks in advance, -- -jpeg.