geli(8) makes more room on drive

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Mar 6 03:10:56 PST 2006


On Mon, Mar 06, 2006 at 11:25:43AM +0100, Christian Baer wrote:
+> Hi Peeps!
+> 
+> Can someone explain this?
+> 
+> I partitioned a drive (WD3200SD) to have only one big 
+> partition (/dev/ad10s1d). Then I did this:
+> 
+> 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
+> 
+> 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
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060306/e307810c/attachment.bin


More information about the freebsd-geom mailing list