From owner-freebsd-geom@FreeBSD.ORG Mon Mar 6 11:10:56 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F0016A420 for ; Mon, 6 Mar 2006 11:10:55 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C06A43D73 for ; Mon, 6 Mar 2006 11:10:43 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4BFDA516FE; Mon, 6 Mar 2006 12:10:28 +0100 (CET) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 14A1D51983; Mon, 6 Mar 2006 12:10:04 +0100 (CET) Date: Mon, 6 Mar 2006 12:09:24 +0100 From: Pawel Jakub Dawidek To: Christian Baer Message-ID: <20060306110924.GB53437@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: geli(8) makes more room on drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 11:10:56 -0000 --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 06, 2006 at 11:25:43AM +0100, Christian Baer wrote: +> Hi Peeps! +>=20 +> Can someone explain this? +>=20 +> I partitioned a drive (WD3200SD) to have only one big=20 +> partition (/dev/ad10s1d). Then I did this: +>=20 +> jon# newfs -O2 -U -o space -m 0 /dev/ad10s1d +> jon# mount /dev/ad10s1d /doof +> jon# df -h +> Filesystem Size Used Avail Capacity Mounted on +> /dev/ad10s1d 289G 4.0K 289G 0% /doof +>=20 +> jon# umount /doof +> jon# geli init -s 4096 -l 256 /dev/ad10s1d +> jon# geli attach /dev/ad10s1d +> jon# newfs -O2 -U -o space -m 0 /dev/ad10s1d.eli +> [output of newfs snip...] +> jon# df -h +> Filesystem Size Used Avail Capacity Mounted on +> /dev/ad10s1d.eli 293G 8.0K 293G 0% /doof +>=20 +> How does that work??? Geli's provider (ad10s1d.eli) uses bigger sector (4096 bytes instead of 512 bytes), which makes newfs to configure file system a bit different. You can also observe smaller number of cylinder groups, etc. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEDBhkForvXbEpPzQRAuzbAKC3PKf9+FSQfHfCSlIJ0Fvo21AOtQCg3Q9+ PxsF55+06xc8iBZhPnVx7uw= =oOsN -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--