From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 04:30:44 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 A3E8616A4CF for ; Sun, 13 Mar 2005 04:30:44 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBF3A43D54 for ; Sun, 13 Mar 2005 04:30:42 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id C71BB8568A; Sun, 13 Mar 2005 15:00:40 +1030 (CST) Date: Sun, 13 Mar 2005 15:00:40 +1030 From: Greg 'groggy' Lehey To: Chris Message-ID: <20050313043040.GA876@wantadilla.lemis.com> References: <4233AEFB.4010801@makeworld.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <4233AEFB.4010801@makeworld.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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:30:44 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCM8HwIubykFB6QiMRAnYBAJ4suqLTujt0+NMwhDMp2YioRnwdMgCdEpd3 gcTtl/jdD7wmNufDNmk4T6g= =hCwE -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--