From owner-freebsd-questions@FreeBSD.ORG Sat Aug 25 17:43:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DF0C16A420 for ; Sat, 25 Aug 2007 17:43:36 +0000 (UTC) (envelope-from jp@pontosi.pt) Received: from sapo.pt (relay4.ptmail.sapo.pt [212.55.154.24]) by mx1.freebsd.org (Postfix) with SMTP id 478A713C467 for ; Sat, 25 Aug 2007 17:43:34 +0000 (UTC) (envelope-from jp@pontosi.pt) Received: (qmail 30135 invoked from network); 25 Aug 2007 17:16:53 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.208) by relay4 with SMTP; 25 Aug 2007 17:16:53 -0000 Received: (qmail 10160 invoked from network); 25 Aug 2007 17:16:53 -0000 X-AntiVirus: PTMail-AV 0.3-0.91.1 X-Virus-Status: Clean (0.00556 seconds) Received: from unknown (HELO [127.0.0.1]) (ancestor@sapo.pt@[82.154.120.83]) (envelope-sender ) by mta13 (qmail-ldap-1.03) with SMTP for ; 25 Aug 2007 17:16:53 -0000 Message-ID: <46D063FB.5070602@pontosi.pt> Date: Sat, 25 Aug 2007 18:16:43 +0100 From: =?ISO-8859-1?Q?Jo=E3o_Pinheiro?= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 000768-3, 25-08-2007), Outbound message X-Antivirus-Status: Clean Subject: fdisk - can't update an in-use partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 17:43:36 -0000 Hi, I have freebsd 6.2 installed on a disk with a 260Gb partition with only a 30Gb label (don't ask :P) and I'm trying to resize the active partition to the size of the existing label, so I can create another partition. I've already set kern.geom.debugflags=16 to be able to write to mbr, but fdisk doesn't update my disk and gives the following error: fdisk: conflict with open slices Does anywone know a way to force fdisk to update the partition table? This is a remote machine so I can't boot from CD to correct the partition table and/or reinstall the SO. Thanks in advance, Joćo Pinheiro