Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 12:09:24 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Christian Baer <christian.baer@informatik.uni-dortmund.de>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geli(8) makes more room on drive
Message-ID:  <20060306110924.GB53437@garage.freebsd.pl>
In-Reply-To: <duh2n7$uv8$2@nermal.rz1.convenimus.net>
References:  <duh2n7$uv8$2@nermal.rz1.convenimus.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060306110924.GB53437>