From owner-freebsd-questions@FreeBSD.ORG Sun Apr 11 00:31:24 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 A6FC016A4CE for ; Sun, 11 Apr 2004 00:31:24 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C617A43D55 for ; Sun, 11 Apr 2004 00:31:23 -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 307A478C4A for ; Sun, 11 Apr 2004 09:31:23 +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 78133-07 for ; Sun, 11 Apr 2004 09:31:22 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id 4F3D878C43 for ; Sun, 11 Apr 2004 09:31:22 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Sun, 11 Apr 2004 09:31:22 +0200 (CEST) Message-ID: <49289.192.168.0.105.1081668682.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> Date: Sun, 11 Apr 2004 09:31:22 +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: Sun, 11 Apr 2004 07:31:24 -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*... :( >> # mount >> /dev/ar0s1a on / (ufs, local) >> devfs on /dev (devfs, local) >> /dev/ad8s1d on /home (ufs, local, nodev, noexec, nosuid, with quotas, >> soft-updates) >> /dev/ar0s1e on /tmp (ufs, local, nodev, nosuid, soft-updates) >> /dev/ar0s1f on /usr (ufs, local, soft-updates) >> /dev/ar0s1d on /var (ufs, local, noexec, soft-updates) > If ad8 is part of ar0 GEOM will try to keep you from shooting yourself > on the foot. You should take ad8 out of the array first. I don't think so, /dev/ad8 has no problem and is actually in active use. Let me be more precise here: The "system" (/, /tmp, /usr and /var) is mounted on a mirror represented by /dev/ar0 made with /dev/ad4 and /dev/ad6. The "data" (/home) was previously mounted on the device /dev/ar1 which was made with /dev/ad8 and /dev/ad10. Because /dev/ad10 seems to have a problem I made a backup, broke the mirror seen as /dev/ar1 and simply put /home on /dev/ad8 - freshly restored. >> Because the problematic disk is not actually used, I can try some >> commands on it if someone think it may be interesting. > On the hardware side, you should look for some diagnostic tool from the > manufacturer. Ok, thanks. -- -jpeg.