Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2009 09:43:00 +0100
From:      chris scott <kraduk@googlemail.com>
To:        "John ." <comp.john@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: a (hopefully) simple newbie zfs query regarding available space
Message-ID:  <d36406630908090143t5a5023a4j4ac2df37b0782fd7@mail.gmail.com>
In-Reply-To: <abc784790908090039j2c7bbc6bsdebf7a2d8faf96c3@mail.gmail.com>
References:  <abc784790908090039j2c7bbc6bsdebf7a2d8faf96c3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/8/9 John . <comp.john@googlemail.com>

> Hello list
>
> I followed instructions for ZFS on
> http://wiki.freebsd.org/ZFSQuickStartGuide, substituting ad6 and ad10
> (two new SATA3 1TB disks) for da0 da1 and da2 in the instructions. I
> was surprised to see only 993GB in /tank/. Is this expected, or is it
> user error? Also, these disks are completely unformatted. I expected
> to do a newfs or something similar, and for it to take a bit of time!
>
> This is on a running 7.2-STABLE amd64 system. It is only these two
> disks that I want as ZFS, the rest are UFS2
>
> cheers
> --
> John
> _______________________________________________
> 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"
>


not a zfs thing is happens with all os and file systems. Basically HD
manufacturers quote their capacities in base 10 ie 1 TB = 1000000000 bytes.
File systems are calculated in binary therefore the calculation they use is
1024 x 1024 x 1024 = 1099511627776. Slightly more as you can see.

Therefore 1 GB is os terms is 1073741824

therefore hd capacity in GB is

1000000000000/1073741824 = 931.322575

The extra you see is it due to HD manufactures slightly over capacity the
drives



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