http://bugzilla.novell.com/show_bug.cgi?id=542158 User sles@ini.unizh.ch added comment http://bugzilla.novell.com/show_bug.cgi?id=542158#c131 Summary: xfs_quota -x -c report doesn't list all users Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sles@ini.unizh.ch QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.1.2) Gecko/20090824 Firefox/3.5.2 "xfs_quota -x -c report" should print a list of all users configured to have quota limits set, which is not the case in our setup. Reproducible: Always Steps to Reproduce: # mkfs.xfs -f /dev/mapper/users-home meta-data=/dev/mapper/users-home isize=256 agcount=4, agsize=13106944 blks = sectsz=512 attr=2 data = bsize=4096 blocks=52427776, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=25599, version=2 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 eowyn:~ # mount -o usrquota /dev/mapper/users-home /exports/users eowyn:~ # mount | grep users /dev/mapper/users-home on /exports/users type xfs (rw,usrquota) eowyn:~ # xfs_quota -x -c "limit bsoft=1g bhard=2g rich" /exports/users eowyn:~ # xfs_quota -x -c "limit bsoft=1g bhard=2g kevan" /exports/users eowyn:~ # xfs_quota -x -c "limit bsoft=1g bhard=2g stephan" /exports/users eowyn:~ # xfs_quota -x -c "limit bsoft=1g bhard=2g rjd" /exports/users eowyn:~ # xfs_quota -x -c report User quota on /exports/users (/dev/mapper/users-home) Blocks User ID Used Soft Hard Warn/Grace ---------- -------------------------------------------------- root 0 0 0 00 [--------] kevan 0 1048576 2097152 00 [--------] rjd 0 1048576 2097152 00 [--------] eowyn:~ # xfs_quota -x -c state User quota state on /exports/users (/dev/mapper/users-home) Accounting: ON Enforcement: ON Inode: #131 (4 blocks, 3 extents) Group quota state on /exports/users (/dev/mapper/users-home) Accounting: OFF Enforcement: OFF Inode: #18446744073709551615 (0 blocks, 0 extents) Project quota state on /exports/users (/dev/mapper/users-home) Accounting: OFF Enforcement: OFF Inode: #18446744073709551615 (0 blocks, 0 extents) Blocks grace time: [7 days 00:00:30] Inodes grace time: [7 days 00:00:30] Realtime Blocks grace time: [7 days 00:00:30] Actual Results: two of four users are not listed in the report. However, the quota restrictions do apply also for users not reported. Expected Results: list of all four newly added users. eowyn:~ # vgdisplay users --- Volume group --- VG Name users System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size 200.00 GB PE Size 4.00 MB Total PE 51199 Alloc PE / Size 51199 / 200.00 GB Free PE / Size 0 / 0 VG UUID 8M1E5u-nBsr-hvet-hd0U-jROD-MkMz-iZt24Y eowyn:~ # lvdisplay users --- Logical volume --- LV Name /dev/users/home VG Name users LV UUID SWo6q6-XPB1-UTf3-wpn5-jCcF-dED0-0eA8gD LV Write Access read/write LV Status available # open 1 LV Size 200.00 GB Current LE 51199 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 We also tried dumping/restoring the quota infos, but with the same result. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.