bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50432: DF shows incorrect disk usage which include disk usage of a m


From: Paco Xu
Subject: bug#50432: DF shows incorrect disk usage which include disk usage of a mounted path
Date: Wed, 8 Sep 2021 07:02:22 +0000

Paul, thanks for reply.

Agree, it may be related with the file system. 

I use this workaround to add `--local` and `-x` flag for `df` to avoid the 
wrong calculation. I got the workaround from 
https://github.com/moby/moby/issues/42823#issuecomment-913584814.


Best regards
Paco


在 2021/9/8 下午2:55,“Paul Eggert”<eggert@cs.ucla.edu> 写入:

    It sounds like df is reporting disk usage for the file system you're
    running your docker instance atop. In that case, there may be other uses
    of the file system, aside from the docker instance, which means df is
    reporting the correct numbers (and du is, too).

    The problem, if it is a problem, is not likely to be in df itself; it's
    likely to be in the underlying filesystem code. You can check for this
    by running 'strace df' and looking at what numbers the system calls return.
    ________________________________
     本邮件及附件含 DaoCloud 
保密信息,仅限发送给上面地址中列出的个人或群组,禁止任何其他人以任何形式使用本邮件中的信息。若误收本邮件,请务必通知发送人并直接删去,不得使用、传播或复制本邮件。


reply via email to

[Prev in Thread] Current Thread [Next in Thread]