[ZFS] Prompt, which is lost space in the ZFS pool?
Artem Belevich
art at freebsd.org
Mon Jul 18 21:29:04 UTC 2011
On Mon, Jul 18, 2011 at 2:03 PM, Vladislav V. Prodan <universite at ukr.net> wrote:
> 18.07.2011 22:12, Artem Belevich пишет:
>>
>> # zpool list tank
>>>
>>> NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
>>> tank 1,34T 1,08T 270G 80% 1.00x ONLINE -
>
>>> > tank/backup 646G 397G 249G 61% /backup
>>> > tank/backup/third-server 626G 377G 249G 60%
>>> > /backup/third-server
>>
>> Perhaps here ^^^^^?
>
> All 1340GB
> /backup 397GB
> /backup/third-server 377GB
> /www 21GB
> zfs snaphost 45GB
> free 249GB
>
> Sorry, did not properly calculated.
> But the question is relevant. Where are the 250GB?
You've started with 600GB missing. Now it's 250GB. Looks like we've
just found 350GB. :-)
What does "zfs list -r -tall -o space tank" show? df does not give you
complete picture.
>
> It is also unclear, as is the free space.
> # zpool list tank says 270GB
zpool gives you raw numbers. That's what filesystem layer uses to store its data
> # df -h says 249GB free
"zfs list" or df would give you amount of usable disk space that
filesystem would make available to user. My guess is that this number
would be more relevant in most cases than the number zpool gives you.
--Artem
>
>
> --
> Vladislav V. Prodan
> VVP24-UANIC
> +380[67]4584408
> +380[99]4060508
> vlad11 at jabber.ru
>
More information about the freebsd-fs
mailing list