From owner-freebsd-questions@FreeBSD.ORG Sat Aug 25 18:38:25 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 D101D16A419 for ; Sat, 25 Aug 2007 18:38:25 +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 0ED7413C45A for ; Sat, 25 Aug 2007 18:38:24 +0000 (UTC) (envelope-from jp@pontosi.pt) Received: (qmail 23772 invoked from network); 25 Aug 2007 18:38:22 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.210) by relay4 with SMTP; 25 Aug 2007 18:38:22 -0000 Received: (qmail 21354 invoked from network); 25 Aug 2007 18:38:22 -0000 X-AntiVirus: PTMail-AV 0.3-0.91.1 X-Virus-Status: Clean (0.00709 seconds) Received: from unknown (HELO [127.0.0.1]) (ancestor@sapo.pt@[82.154.120.83]) (envelope-sender ) by mta15 (qmail-ldap-1.03) with SMTP for ; 25 Aug 2007 18:38:21 -0000 Message-ID: <46D07712.4030405@pontosi.pt> Date: Sat, 25 Aug 2007 19:38:10 +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 References: <46D063FB.5070602@pontosi.pt> In-Reply-To: <46D063FB.5070602@pontosi.pt> 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: Re: fdisk - can't update an in-use partition - solved 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 18:38:25 -0000 Joćo Pinheiro escreveu: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It seems fdisk updates the partition table anyway, it only displays a notice. Joćo Pinheiro