zfs: the exponential file system from hell

Ronald Klop ronald-freebsd8 at klop.yi.org
Thu Oct 3 09:45:26 UTC 2013


On Wed, 02 Oct 2013 19:15:01 +0200, Xin Li <delphij at delphij.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 10/02/13 09:59, Edho Arief wrote:
>> On Wed, Oct 2, 2013 at 4:12 AM, Xin Li <delphij at delphij.net>
>> wrote:
>>>
>>> I don't think 'zfs list' reports the "right" numbers either:
>>> there is no notion of "available shared space between this, this
>>> and this file systems".  The underlying problem is that it's
>>> always hard to represent mutli-dimensional value in a linear
>>> manner, to do it, we would need to create something new.
>>>
>>
>> Considering df output for UFS is never `size = used + avail`
>> anyway, is there any problem with having df output for zfs to:
>>
>> - size: total size (zpool-wide, sans redundancy) - used: specific
>> filesystem usage - avail: total available space
>>
>> ?
>
> This doesn't solve OP's problem...

The OP does not even have a real problem. It is just that the available  
diskspace is filled by more sources than expected. Which is just a  
sysadmin thing. The OP was just curious how it worked because he did not  
expect this.

You can't throw zpool+zfs at a job and expect everything to be the same as  
your previous multiple ufs partitions. Or think: "Wow, all my zfs  
filesystems are as big as the total pool. I magically gained space!" and  
than explain about df.

Ronald.




>
> Cheers,
> - --
> Xin LI <delphij at delphij.net>    https://www.delphij.net/
> FreeBSD - The Power to Serve!           Live free or die
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.21 (FreeBSD)
>
> iQEcBAEBCgAGBQJSTFSVAAoJEG80Jeu8UPuzMboIAJQgYmPGMgNwkTvPOMJlkQk8
> C7VM8LfnMYxXxtNfaAPt9ccJ0fU5Ib9n9z7dQFN0IuE5nQMUEAcTpiNs+lOi5Ot2
> GWvRx0+Sj2mFConHT2QuXxsNSGWI5CfcLJ4oQ0RCmBCxXpI6dvD6H/L1xWq1phYN
> bneWbd0saCWIU+Bbiv5xvdR1JyPg7StB7R+/JrtlM5npPtFSo3EVkhyBh+G9jKop
> UZLGrwDgEdl7Vc06rQh+3ee9eP11o0Mm52NJPdAbCD0EuFJzgzn7psiQVZaDLYJr
> lYOhLqww+8R9/wZgp7XWxpTL0aOaZ+EI9NVsxfRFH7Wa0bE9BrF/0RAaZo3/M6s=
> =yRY2
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


More information about the freebsd-fs mailing list