From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 15:00:49 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 9403216A4CE for ; Sun, 13 Mar 2005 15:00:49 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7983843D48 for ; Sun, 13 Mar 2005 15:00:48 +0000 (GMT) (envelope-from emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 13 Mar 2005 15:00:47 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp004) with SMTP; 13 Mar 2005 16:00:47 +0100 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Sun, 13 Mar 2005 16:00:33 +0100 User-Agent: KMail/1.7.2 References: <4233AEFB.4010801@makeworld.com> <20050313043040.GA876@wantadilla.lemis.com> <4233C32A.8030604@makeworld.com> In-Reply-To: <4233C32A.8030604@makeworld.com> X-Birthday: 10/06/72 X-CelPhone: +49 173 9967781 X-Tel: +49 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart14822632.uMEJOPiuJj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503131600.38001@harrymail> X-Y-GMX-Trusted: 0 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 15:00:49 -0000 --nextPart14822632.uMEJOPiuJj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 13. M=E4rz 2005 05:35 schrieb Chris: > 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 fre= ed > >>up 10 gig. I wish to "merge" the free 10 gig into my FreeBSD file syste= m. > >> > >>Here's what she looks like via fdisk: > >> > >>Disk name: ad1 FDISK Partition > >>Editor > >>DISK Geometry: 9729 cyls/255 heads/63 sectors =3D 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. If you want to modify a running fs you can set kern.geom.debugflags to 16. =2DHarry > But as you mentioned,. I would prefer to somehow merge it into the > current FBSD file system. > > > Chris > _______________________________________________ > 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" --nextPart14822632.uMEJOPiuJj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCNFWVBylq0S4AzzwRAsYMAKCOTxg8JAREHVZE/nLPtL5/hN16CACfWGaH yIgKT0fgrgJ9GvJJASZUR/I= =EMNy -----END PGP SIGNATURE----- --nextPart14822632.uMEJOPiuJj--