Re: [PATCH 4/8] Add test of quota accounting using fsx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Kara wrote:
> Run fsx (and also several fsx threads in parallel) and verify that
> quota accounting is correct after they finish.

Jan, I'm having trouble with this one on XFS for some reason, with our 
RHEL6 kernel and quota-3.17...

+Disabling group quota enforcement and accounting on /dev/mapper/VolGroup00-testvol2
+Disabling user quota enforcement and accounting on /dev/mapper/VolGroup00-testvol2
+repquota: Mountpoint (or device) /mnt/testarea/scratch not found or has no quota enabled.
+repquota: Not all specified mountpoints are using quota.
+repquota: Mountpoint (or device) /mnt/testarea/scratch not found or has no quota enabled.
+repquota: Not all specified mountpoints are using quota.

...

however if I remove the quotaon calls (off / on settings) in check_usage()
then it works:

check_usage()
{
        # quotaon -f -u -g $SCRATCH_MNT 2>/dev/null
        repquota -u -g $SCRATCH_MNT  | grep -v "^root" | filter_scratch \
                >$tmp.orig
        quotacheck -u -g $SCRATCH_MNT 2>/dev/null
        repquota -u -g $SCRATCH_MNT  | grep -v "^root" | filter_scratch \
                >$tmp.checked
        # quotaon -u -g $SCRATCH_MNT 2>/dev/null
        diff $tmp.orig $tmp.checked
}


Seems like 2 issues: noisy disable messages, and repquota failing when disabled.

Any ideas?

Thanks,
-Eric

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux