xfs
[Top] [All Lists]

Re: Trouble activating xfs pquotas

To: James Lawrie <james@xxxxxxxxxxxxxx>
Subject: Re: Trouble activating xfs pquotas
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Wed, 18 Jan 2012 22:18:08 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4F170A53.9070202@xxxxxxxxxxxxxx>
Organization: Intellique
References: <4F170A53.9070202@xxxxxxxxxxxxxx>
Le Wed, 18 Jan 2012 18:07:15 +0000 vous écriviez:

> I'm unable to activate project quotas on a partition which used to
> have it enabled - I just get "Function not implemented". The
> partition is mounted with pquota, and I can't seem to find any other
> reason this would happen.

See my answer here:
http://serverfault.com/a/351241/10310

Copied here for the list:

Caveat: did you mount the volume directly with the quota options? I
know for sure that xfs doesn't support enabling quota (and many other
options) through "remount", though mount lists the options as enabled.
Here comes a non working example:

# mount -t xfs /dev/dm-0 /mnt/test
# mount
/dev/dm-0 on /mnt/test type xfs (rw)
# mount -o remount,pquota /mnt/test
# mount
/dev/dm-0 on /mnt/test type xfs (rw,pquota)

mount lists the mountpoint as quota enabled, but quotas won't actually
work. You must umount then mount.


-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>