public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: YeYin <eyniy@qq.com>
To: "Emmanuel Florac" <eflorac@intellique.com>
Cc: xfs <xfs@oss.sgi.com>
Subject: Re:  du result is smaller than xfs_quota report
Date: Tue, 20 Oct 2015 21:30:08 +0800	[thread overview]
Message-ID: <tencent_16249F797E1AC1F37AC93A92@qq.com> (raw)
In-Reply-To: <20151020133129.4eeabf88@harpe.intellique.com>


[-- Attachment #1.1: Type: text/plain, Size: 1266 bytes --]

>What does say
>
>ls -l /data/docker-volumes/docker-15092311522409
>
>is it coherent with du, or xfs_quota?


/data/docker-volumes/docker-15092311522409 is a directory which have a lot of subdirectories,  run 'ls -l' is meaningless. 
'ls -l' and 'du' used  fstat or lstat similar function to get file's size, so ls should be coherent with du.


Thanks,
Ye



------------------ Original ------------------
From:  "Emmanuel Florac";<eflorac@intellique.com>;
Date:  Tue, Oct 20, 2015 07:31 PM
To:  "YeYin"<eyniy@qq.com>; 
Cc:  "xfs"<xfs@oss.sgi.com>; 
Subject:  Re: du result is smaller than xfs_quota report



Le Tue, 20 Oct 2015 17:09:58 +0800
"YeYin" <eyniy@qq.com> écrivait:

> It seems that some blocks owned by project wasn't be freed. Anyone
> can give me some suggestions to find the reason?
> 

What does say

ls -l /data/docker-volumes/docker-15092311522409

is it coherent with du, or xfs_quota?
-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 2160 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2015-10-20 13:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  9:09 du result is smaller than xfs_quota report YeYin
2015-10-20 11:31 ` Emmanuel Florac
2015-10-20 13:30   ` YeYin [this message]
2015-10-20 19:35 ` Eric Sandeen
2015-10-21  6:37   ` YeYin
2015-10-21  7:13     ` Dave Chinner
2015-10-21  8:09       ` YeYin
2015-10-23  6:55         ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_16249F797E1AC1F37AC93A92@qq.com \
    --to=eyniy@qq.com \
    --cc=eflorac@intellique.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox