df with ZFS vs. zpool list

Frank Lanitz frank at frank.uvena.de
Thu Dec 15 13:20:06 UTC 2011


Hi folks,

I'm a bit confused about a thing. I did create a zpool using

zpool create storage ada1 ada2 ada3

Each of SATA-drives is about 80G in size. When using df -h I'm only
receiving

storage	145G	42k	145G	0%	/storage

where I expected something like 220GB (due to the ²-issue). However,

freebsd-test# zpool list
NAME      SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
storage   222G  9.10M   222G     0%  1.00x  ONLINE  -

is giving the expcted output.

Can somebody clear the fog a bit ;)

Cheers,
Frank

P.S. It's a 9.0RC3
P.P.S.
freebsd-test# zpool status

pool: storage
state: ONLINE
scan: resilvered 8.50K in 0h0m with 0 errors on Wed Dec 14 17:07:38 2011
config:

	NAME        STATE     READ WRITE CKSUM
	storage     ONLINE       0     0     0
	  raidz1-0  ONLINE       0     0     0
	    ada1    ONLINE       0     0     0
	    ada2    ONLINE       0     0     0
	    ada3    ONLINE       0     0     0



More information about the freebsd-questions mailing list