The main problem solved in this series is that for project quotas, the numbers of blocks reported by the xfs_quota "df" subcommand is twice what it should be. While looking at this I also noticed two other problems that I corrected. Below is a script that demonstrates the problem. -Alex #!/bin/bash ############################################################ # Note that the following clobbers whatever is on /dev/sdk # It also clobbers files /etc/project and /etc/projid. # And it uses and then removes /qmnt. ############################################################ # Initialize the filesystem and mount it with project quotas mkfs.xfs -f /dev/sdk mkdir -p /qmnt mount -t xfs -o prjquota /dev/sdk /qmnt # Set up the project quota configuration files echo test:1 > /etc/projid echo 1:/qmnt/test > /etc/projects # Make the top-level directory, set up quotas on it mkdir /qmnt/test xfs_quota -x -c 'project -s test' /qmnt # Assign block quota limits xfs_quota -x -c 'limit -p bsoft=500m bhard=500m test' /qmnt # The "report" command will show the right numbers xfs_quota -x -c report /qmnt # But the "df" command will show doubled block counts xfs_quota -x -c df /qmnt # This time using "human readable" output xfs_quota -x -c 'report -h' /qmnt xfs_quota -x -c 'df -h' /qmnt # Clean up umount /qmnt rmdir /qmnt rm /etc/projid /etc/projects _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs