Calculating disk space with ZFS

Dan Nelson dnelson at allantgroup.com
Tue Jul 15 06:25:25 UTC 2008


In the last episode (Jul 14), Steve Bertrand said:
> I'm configuring Amanda over ZFS, with plans for a five 'tape'
> diskless cycle.
> 
> When I'm calculating the size of each 'tape', should I divide up my
> dedicated backup space based on a 'df -h', or a 'zpool list'?
> 
> Assume that if I go by the 'zpool list' command, I'd like to allocate
> 1.8TB, divided by five to tapes. Should I use this number, or would
> it be more appropriate to slice up the space based on the 'df -h'
> below?  I'm assuming the latter, but I'd just like to ask for
> clarification.
> 
> amanda# zpool list
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> storage                1.82T   2.86G   1.82T     0%  ONLINE     -

zfs list will give you a more accurate number, I think.  At least all
the posts matching this search seem to say so:

http://www.google.com/search?q=site:mail.opensolaris.org+"zpool+list"+"zfs+list"
 
> amanda# df -h
> Filesystem    Size    Used   Avail Capacity  Mounted on
> storage       1.3T    2.1G    1.3T     0%    /
> devfs         1.0K    1.0K      0B   100%    /dev

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list