From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 04:35:59 2005 Return-Path: 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 03AF816A4CF; Sun, 13 Mar 2005 04:35:59 +0000 (GMT) Received: from makeworld.com (makeworld.com [216.201.118.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8235643D39; Sun, 13 Mar 2005 04:35:58 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from localhost (localhost.com [127.0.0.1]) by makeworld.com (Postfix) with ESMTP id C953B60E8; Sat, 12 Mar 2005 22:35:57 -0600 (CST) Received: from makeworld.com ([127.0.0.1]) by localhost (makeworld.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71926-06; Sat, 12 Mar 2005 22:35:55 -0600 (CST) Received: from [127.0.0.1] (laptop.makeworld.com [216.201.118.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by makeworld.com (Postfix) with ESMTP id DB27860D8; Sat, 12 Mar 2005 22:35:53 -0600 (CST) Message-ID: <4233C32A.8030604@makeworld.com> Date: Sat, 12 Mar 2005 22:35:54 -0600 From: Chris User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg 'groggy' Lehey References: <4233AEFB.4010801@makeworld.com> <20050313043040.GA876@wantadilla.lemis.com> In-Reply-To: <20050313043040.GA876@wantadilla.lemis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by ClamAV 0.75.1/amavisd-new-2.2.1 (20041222) at makeworld.com - Isn't it ironic cc: FreeBSD - Questions Subject: Re: How to merge an unused partition. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 04:35:59 -0000 Greg 'groggy' Lehey wrote: >On Saturday, 12 March 2005 at 21:09:47 -0600, Chris wrote: > > >>Heya folks - here's my issue; I removed a OS from my drive and that freed >>up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file system. >> >>Here's what she looks like via fdisk: >> >>Disk name: ad1 FDISK Partition >>Editor >>DISK Geometry: 9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB) >> >>Offset Size(MB) End Name PType Desc Subtype >> >> 0 10236 20964824 - 12 unused 0 >> 20964825 66079 156296384 ad1s1 8 freebsd 165 >>156296385 2 156301487 - 12 unused 0 >> >> >>So - what do I need to do to take the 1st line and merge it into the >>existing system? >> >> > >That depends on what you want to do with the space. It would be >relatively complicated (but not impossible) to merge it into an >existing file system. If you just want to create a another file >system, just create a new partition in the partition editor, set it to >tye 165, then in the label editor create one (or just possibly more >than one) file system. Both here and in the label editor, use the W >command to actually write the stuff to disk. > > > >>Sorry for the formatting >> >> > >Looks fine to me. > >Greg > > I assume doing this while in single user mode. Otherwise I am getting an error: unable to write to disk. But as you mentioned,. I would prefer to somehow merge it into the current FBSD file system. Chris