xfs
[Top] [All Lists]

Re: xfs_quota -x -c 'report -u /dev/sde5' shows the duplicate result.

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: xfs_quota -x -c 'report -u /dev/sde5' shows the duplicate result.
From: "yyq@xxxxxxxxx" <yyq@xxxxxxxxx>
Date: Fri, 09 Nov 2012 11:27:33 +0800
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20121109012405.GX6434@dastard>
References: <20121108222315.505370321@xxxxxxx> <20121108222315.709683665@xxxxxxx> <509C5885.5060300@xxxxxxxxx> <20121109012405.GX6434@dastard>
User-agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

于 2012-11-9 9:24, Dave Chinner 写道:
On Fri, Nov 09, 2012 at 09:12:37AM +0800, yyq@xxxxxxxxx wrote:
Hi,

    When I use "xfs_quota -x -c 'report -u /dev/sde5'" to show
/dev/sde5's quotas, and the result have two same block as below:
What version of xfs_quota are you using? What is the output of
/proc/mounts and /etc/mtab say?
xfs_quota's version is 3.1.1 and output of /proc/mounts like this:

.....
/dev/sde3 /root/mnt_path xfs rw,relatime,attr2,usrquota 0 0
/dev/sde5 /root/mntpath2 xfs rw,relatime,attr2,usrquota 0 0
/dev/sde7 /root/mntpath3 xfs rw,relatime,attr2,usrquota 0 0


/etc/mtab:

....
/dev/sde3 /root/mnt_path xfs rw,uquota 0 0
/dev/sde5 /root/mntpath2 xfs rw,uquota 0 0
/dev/sde7 /root/mntpath3 xfs rw,uquota 0 0


in the original post "/dev/sde5" was removed and try "/dev/sde7", the remain the same problem.

And does the latest version of xfs_quota have the same problem?
version 3.1.8's output have the same problem,and even worse, there are three same blocks :

User quota on /root/mntpath3 (/dev/sde7)
                               Blocks                    
User ID          Used       Soft       Hard    Warn/Grace    
---------- --------------------------------------------------
root                0          0          0     00 [--------]
user2               0     102400     409600     00 [--------]
user3               0     204800     512000     00 [--------]

User quota on /root/mntpath3 (/dev/sde7)
                               Blocks                    
User ID          Used       Soft       Hard    Warn/Grace    
---------- --------------------------------------------------
root                0          0          0     00 [--------]
user2               0     102400     409600     00 [--------]
user3               0     204800     512000     00 [--------]

User quota on /root/mntpath3 (/dev/sde7)
                               Blocks                    
User ID          Used       Soft       Hard    Warn/Grace    
---------- --------------------------------------------------
root                0          0          0     00 [--------]
user2               0     102400     409600     00 [--------]
user3               0     204800     512000     00 [--------]




Cheers,

Dave.

<Prev in Thread] Current Thread [Next in Thread>