Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2011 14:29:02 -0700
From:      Artem Belevich <art@freebsd.org>
To:        "Vladislav V. Prodan" <universite@ukr.net>
Cc:        fs@freebsd.org
Subject:   Re: [ZFS] Prompt, which is lost space in the ZFS pool?
Message-ID:  <CAFqOu6gOP1KfrX_VVsYv0t%2BeXYMoxqKn5KpDz7pgMaSMuHpycQ@mail.gmail.com>
In-Reply-To: <4E249FAF.4050500@ukr.net>
References:  <4E2412C2.5000202@ukr.net> <CAFqOu6gfJ__6UkXBGxyUVv-Tf=M%2BL1XSKmYCoPiNxaJ3-8tNMA@mail.gmail.com> <4E249FAF.4050500@ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 18, 2011 at 2:03 PM, Vladislav V. Prodan <universite@ukr.net> w=
rote:
> 18.07.2011 22:12, Artem Belevich =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>
>> # zpool list tank
>>>
>>> =C2=A0NAME =C2=A0 SIZE =C2=A0ALLOC =C2=A0 FREE =C2=A0 =C2=A0CAP =C2=A0D=
EDUP =C2=A0HEALTH =C2=A0ALTROOT
>>> =C2=A0tank =C2=A01,34T =C2=A01,08T =C2=A0 270G =C2=A0 =C2=A080% =C2=A01=
.00x =C2=A0ONLINE =C2=A0-
>
>>> > =C2=A0tank/backup =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 646G =C2=A0 =C2=A0397G =C2=A0 =C2=A0249G =C2=A0 =C2=A061% =C2=A0 =C2=
=A0/backup
>>> > =C2=A0tank/backup/third-server =C2=A0 =C2=A0626G =C2=A0 =C2=A0377G =
=C2=A0 =C2=A0249G =C2=A0 =C2=A060%
>>> > /backup/third-server
>>
>> Perhaps here ^^^^^?
>
> All =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 1340GB
> /backup =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 397GB
> /backup/third-server =C2=A0 =C2=A0377GB
> /www =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A021GB
> zfs snaphost =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A045GB
> free =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0249GB
>
> 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@jabber.ru
>



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