Mailinglist Archive: opensuse-factory (602 mails)

< Previous Next >
Re: [opensuse-factory] zypper dup disk space requirement
On Thu, 7 Feb 2019 at 11:15, Carlos E. R. <robin.listas@xxxxxxxxxxxxxx> wrote:

Ok; then he said:

woodstock:~ # btrfs fi df /
Data, single: total=60.43GiB, used=59.82GiB
System, single: total=32.00MiB, used=16.00KiB
Metadata, single: total=2.03GiB, used=915.50MiB

So there is (rough aprox):

1 GB of data space available
31 MB of system space available
1 GB of metadata space available

whereas

woodstock:~ # df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 68G 61G 6.1G 91% /


So basically btrfs tools says 1 G free, df says 6. The situation is much
worse than what df says, right?

You're mixing up different units

The device is 68G, that is 63GiB in size
df says 61G is used with 6.1G free (56GiB used, 5.6GiB free)
btrfs fi df / says 60.735GiB is used, therefore just over 2GiB free

So yes, the situation is 'worse' than what df says..or in other words,
df spit out useless nonsense that is not suitable for measuring the
available space, and really shouldn't be used as the basis for any
meaningful discussions
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >