Skip to contentSkip to conversation

Trouble activating xfs pquotas

DISCUSSION James Lawrie 3 participants 4 messages Jan 18, 2012 – Jan 19, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

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.

Please see more information and output at http://serverfault.com/questions/351137/unable-to-re-implement-xfs-project-quotas-function-not-implemented - I'd really appreciate any advice.

Thank you,

James Lawrie

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw

Le Wed, 18 Jan 2012 18:07:15 +0000 vous écriviez:

Quoted 4 lines

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.

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
In reply to James Lawrie
Quoted 7 lines · James Lawrie

Hi,

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.

Quoted 7 lines

Please see more information and output at
http://serverfault.com/questions/351137/unable-to-re-implement-xfs-project-quotas-function-not-implemented
- I'd really appreciate any advice.

Thank you,

James Lawrie

Based on IRC conversations, the fs was never(?) properly mounted with quota in the first place; an actual remount w/ quota forced by a reboot seems to have resolved this.

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw

Hi,

Quoted 1 line

Based on IRC conversations, the fs was never(?) properly mounted with quota in the first place; an actual remount w/ quota forced by a reboot seems to have resolved this.

That's right, thanks for updating the list for me. The fs did originally have quotas enabled, but lost them at some point. My attempts to umount must not have been clean enough.

Thanks for the help.

James

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs