From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 11:21:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7DC1A16A420 for ; Mon, 13 Mar 2006 11:21:41 +0000 (UTC) (envelope-from m.oe@x-trader.de) Received: from qhmail2.colt1.inetserver.de (qhmail2.colt1.inetserver.de [195.234.228.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id C518D43D49 for ; Mon, 13 Mar 2006 11:21:40 +0000 (GMT) (envelope-from m.oe@x-trader.de) Received: from qhmx2-mailrouter.colt1.inetserver.de (qhmx2.colt1.inetserver.de [195.234.228.112]) by qhmail2.colt1.inetserver.de (Postfix) with ESMTP id 4AF8CB190 for ; Mon, 13 Mar 2006 11:54:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by qhmx2-mailrouter.colt1.inetserver.de (Postfix) with ESMTP id 26DFB3CEDC for ; Mon, 13 Mar 2006 11:54:02 +0100 (CET) Received: from qhmx2.colt1.inetserver.de ([127.0.0.1]) by localhost (qhmx2.colt1.inetserver.de [127.0.0.1]) (amavisd-new, port 10023) with LMTP id 23864-07 for ; Mon, 13 Mar 2006 11:54:01 +0100 (CET) X-Auth-User: markus@x-trader.de Received: from [192.168.100.100] (p54B27538.dip.t-dialin.net [84.178.117.56]) by qhmx2-custsmtp.colt1.inetserver.de (Postfix) with ESMTP id 28080B4793 for ; Mon, 13 Mar 2006 11:53:47 +0100 (CET) Message-ID: <44154F3A.2050603@x-trader.de> Date: Mon, 13 Mar 2006 11:53:46 +0100 From: Markus Oestreicher User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at colt1.inetserver.de Subject: Adding 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: Mon, 13 Mar 2006 11:21:46 -0000 Good Day, There is free space at the end of my disk and I want to move /usr/ports do a dedicated partition. # disklabel /dev/ad10s1 # /dev/ad10s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1024000 0 4.2BSD 2048 16384 64008 b: 2252800 44032000 swap c: 368627427 0 unused 0 0 # "raw" d: 2048000 1024000 4.2BSD 2048 16384 28552 e: 20480000 3072000 4.2BSD 2048 16384 28552 f: 20480000 23552000 4.2BSD 2048 16384 28552 I want to add a g partition with 10 GByte to end. When I enter "disklabel -e /dev/ad10s1" vi opens and I add the following line to the end: g: 20480000 44032000 4.2BSD 2048 16384 28552 Upon saving I get an error that partitions "c" and "g" overlap. As far as I have read this is on purpose. How can I avoid the error message? I tried it via sysinstall but didn't work either. When saving the new disklabels I get "Unable to write data to disk ad10". I assume that is because ad10 is currently mounted? Thank you! Markus