From owner-freebsd-questions@FreeBSD.ORG Fri Sep 16 12:47:50 2005 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 C1F0D16A41F for ; Fri, 16 Sep 2005 12:47:50 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7531343D46 for ; Fri, 16 Sep 2005 12:47:50 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9675 invoked from network); 16 Sep 2005 12:47:50 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Sep 2005 12:47:49 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 256FE36; Fri, 16 Sep 2005 08:47:49 -0400 (EDT) Sender: lowell@be-well.ilk.org To: hal , freebsd-questions@freebsd.org References: <6A23C530-2275-4D84-89AE-88FC6DB586EB@cc.usu.edu> <432A07A9.2010402@u.washington.edu> From: Lowell Gilbert Date: 16 Sep 2005 08:47:48 -0400 In-Reply-To: <432A07A9.2010402@u.washington.edu> Message-ID: <447jdh41sb.fsf@be-well.ilk.org> Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: resize/combine disk partitions 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: Fri, 16 Sep 2005 12:47:50 -0000 Micah Lieske writes: > hal wrote: > > I have three adjacent disk partitions as reported by > > bsdlabel. > > ad0s1g /local > > ad0s1b swap > > ad0s1h /home > > /local is at around 107% full all the time and needs to > > grow. /home is nearly empty ( new machine). > > What I want to do is combine ad0s1g and h into > > a new /local and add another disk for /home. > > I have tried sysinstall disklabel to delete > > the three partitions g, b, and h then recreate swap and > > /local. But noooooo the program says it can't write > > to the disk. BTW /local and /home were umounted and I > > was in single user mode. > > I suppose I could get creative with mount points but I > > would rather resize/combine the three partitions into two. > > How can I do that (short of a reinstall)? > > hal > > If you just want to wipe out the partitions and recreate, you can use > sysinstall as you tried, with one exception that I found. You have to > boot from the live CD (CD 1 in 5.4). Sysinstall doesn't seem to want > to write labels out to drives that are in use. Less elegant, but much easier, would be to move some large directory trees from /local to /home, and not repartition at all.