xfs
[Top] [All Lists]

Re: du result is smaller than xfs_quota report

To: "Emmanuel Florac" <eflorac@xxxxxxxxxxxxxx>
Subject: Re: du result is smaller than xfs_quota report
From: "YeYin" <eyniy@xxxxxx>
Date: Tue, 20 Oct 2015 21:30:08 +0800
Cc: "xfs" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1445347812; bh=RF6accZ0R29eqt2N7i3cyNtsbAHDz+au69CfJkTLpb4=; h=In-Reply-To:References:From:To:Cc:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID; b=FP++JaAgQhp3Pqob27GsZaikLQjHd4cGYuQMmaZtU7A9N0ocxs2nIv+kqBKWyWoyh FZYB94FArRgUbkrbRfy1eiyTHJtS2k3qjAWudIAOBJnc9yMCjJuBJGYWqGGFab4vP2 yNflR0BOszlp4s+OTS+fHp8b3VfMDmDPU8wBBXcA=
In-reply-to: <20151020133129.4eeabf88@xxxxxxxxxxxxxxxxxxxx>
References: <tencent_7585C3B40C484DE23B248E82@xxxxxx> <20151020133129.4eeabf88@xxxxxxxxxxxxxxxxxxxx>
>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@xxxxxxxxxxxxxx>;
Date:  Tue, Oct 20, 2015 07:31 PM
To:  "YeYin"<eyniy@xxxxxx>;
Cc:  "xfs"<xfs@xxxxxxxxxxx>;
Subject:  Re: du result is smaller than xfs_quota report

Le Tue, 20 Oct 2015 17:09:58 +0800
"YeYin" <eyniy@xxxxxx> é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@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------
<Prev in Thread] Current Thread [Next in Thread>