<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
于 2012-11-9 9:24, Dave Chinner 写道:
<blockquote cite="mid:20121109012405.GX6434@dastard" type="cite">
<pre wrap="">On Fri, Nov 09, 2012 at 09:12:37AM +0800, <a class="moz-txt-link-abbreviated" href="mailto:yyq@eisoo.com">yyq@eisoo.com</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
</blockquote>
<pre wrap="">
What version of xfs_quota are you using? What is the output of
/proc/mounts and /etc/mtab say?</pre>
</blockquote>
xfs_quota's version is 3.1.1 and output of /proc/mounts like this:<br>
<br>
.....<br>
<font color="#990000">/dev/sde3 /root/mnt_path xfs
rw,relatime,attr2,usrquota 0 0<br>
/dev/sde5 /root/mntpath2 xfs rw,relatime,attr2,usrquota 0 0<br>
/dev/sde7 /root/mntpath3 xfs rw,relatime,attr2,usrquota 0 0</font><br>
<br>
/etc/mtab:<br>
<br>
<font color="#990000">....<br>
/dev/sde3 /root/mnt_path xfs rw,uquota 0 0<br>
/dev/sde5 /root/mntpath2 xfs rw,uquota 0 0<br>
/dev/sde7 /root/mntpath3 xfs rw,uquota 0 0</font><br>
<br>
in the original post "/dev/sde5" was removed and try "/dev/sde7",
the remain the same problem.<br>
<blockquote cite="mid:20121109012405.GX6434@dastard" type="cite">
<pre wrap="">
And does the latest version of xfs_quota have the same problem?</pre>
</blockquote>
version 3.1.8's output have the same problem,and even worse, there
are three same blocks :<br>
<br>
<font color="#990000">User quota on /root/mntpath3 (/dev/sde7)<br>
Blocks <br>
User ID Used Soft Hard Warn/Grace <br>
---------- -------------------------------------------------- <br>
root 0 0 0 00 [--------]<br>
user2 0 102400 409600 00 [--------]<br>
user3 0 204800 512000 00 [--------]<br>
<br>
User quota on /root/mntpath3 (/dev/sde7)<br>
Blocks <br>
User ID Used Soft Hard Warn/Grace <br>
---------- -------------------------------------------------- <br>
root 0 0 0 00 [--------]<br>
user2 0 102400 409600 00 [--------]<br>
user3 0 204800 512000 00 [--------]<br>
<br>
User quota on /root/mntpath3 (/dev/sde7)<br>
Blocks <br>
User ID Used Soft Hard Warn/Grace <br>
---------- -------------------------------------------------- <br>
root 0 0 0 00 [--------]<br>
user2 0 102400 409600 00 [--------]<br>
user3 0 204800 512000 00 [--------]</font><br>
<br>
<br>
<blockquote cite="mid:20121109012405.GX6434@dastard" type="cite">
<pre wrap="">
Cheers,
Dave.
</pre>
</blockquote>
<br>
</body>
</html>