xfs_quota off/remove

Dave Chinner david at fromorbit.com
Wed Dec 10 14:41:31 CST 2014


On Wed, Dec 10, 2014 at 06:37:41PM +0000, Meij, Henk wrote:
> Is off/remove working for xfs_quota? I seem to not be able to zero
> out the project quota metadata and move the project to another
> partition. I did not remove the entries in the /etc/proj* files.
.....
> 
>  1318  xfs_quota -x -c 'off' -c 'remove' /data/1
> 
>  1331  umount /data/1; mount /data1

And the output of /proc/self/mounts after this?

>From the xfs_quota man page:

       off [ -gpu ] [ -v ]
	     Permanently switches quota off for the filesystem
	     identified by the current path.  Quota can only be
	     switched back on subsequently by unmounting and then
	     mounting again.

So it's likely that mounting is still picking up the quota mount
options from /etc/fstab and turning quotas back on....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list