于 2012-11-9 9:24, Dave Chinner 写道: > On Fri, Nov 09, 2012 at 09:12:37AM +0800, yyq@eisoo.com 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.