From owner-freebsd-stable@FreeBSD.ORG Fri Aug 4 06:00:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A02216A4DE for ; Fri, 4 Aug 2006 06:00:05 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3E3B43D45 for ; Fri, 4 Aug 2006 06:00:04 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.11/8.12.11) with ESMTP id k74601mo051507 for ; Fri, 4 Aug 2006 02:00:03 -0400 (EDT) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.11/8.12.11/Submit) id k746015I051506 for freebsd-stable@freebsd.org; Fri, 4 Aug 2006 02:00:01 -0400 (EDT) (envelope-from wayne) Date: Fri, 4 Aug 2006 02:00:01 -0400 From: "Michael R. Wayne" To: freebsd-stable@freebsd.org Message-ID: <20060804060001.GM25626@manor.msen.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <200608030550.k735ovOj097662@manor.msen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: fdisk problem on 3ware based system (6.1-RELEASE-p3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 06:00:05 -0000 On Thu, Aug 03, 2006 at 10:29:08AM +0200, Stefan Bethke wrote: > Am 03.08.2006 um 07:50 schrieb Michael R. Wayne: > > >But, I am unable to create a third partition. Every time I do > >that, I get: > > ERROR: Unable to write data to disk twed0! > > Are there any mounted filesystems in those two first slices? Then > geom won't allow you to modify the partition table. You need to boot > off a CD, or set a sysctl to allow writing anyway (see geom(4)). Thank you! Setting sysctl kern.geom.debugflags=0x10 permitted me to do the work with fdisk. I tried to use sysinstall but it appears to only modify the in-core structure but not to update the disk. Perhaps sysinstall needs a few tweaks? /\/\ \/\/