xfs
[Top] [All Lists]

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

To: "yyq@xxxxxxxxx" <yyq@xxxxxxxxx>
Subject: Re: xfs_quota -x -c 'report -u /dev/sde5' shows the duplicate result.
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 9 Nov 2012 16:39:31 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <509C7825.1080401@xxxxxxxxx>
References: <20121108222315.505370321@xxxxxxx> <20121108222315.709683665@xxxxxxx> <509C5885.5060300@xxxxxxxxx> <20121109012405.GX6434@dastard> <509C7825.1080401@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Nov 09, 2012 at 11:27:33AM +0800, yyq@xxxxxxxxx wrote:
> 
> 于 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 [--------]

Can you attach the strace output of the command?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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