xfs_quota on SLES11 SP2

I have trouble setting up project quotas on SLES11 SP2: Simply following
the example in the man page

mount -o remount,defaults,prjquota /var

echo 42:/var/log >> /etc/projects

echo logfiles:42 >> /etc/projid

xfs_quota -x -c ‘project -s logfiles’ /var

xfs_quota -x -c ‘limit -p bhard=1g logfiles’ /var

I get the following error after the last command:
xfs_quota: cannot set limits: Function not implemented

mount | grep var

/dev/mapper/vg1-var on /var type xfs (rw,prjquota)

I xfs_quota on SUSE broken? Has anybody used project quota on xfs with
success on SUSE?

Günther

Günther Schwarz wrote:[color=blue]

I have trouble setting up project quotas on SLES11 SP2: Simply following
the example in the man page

mount -o remount,defaults,prjquota /var

echo 42:/var/log >> /etc/projects

echo logfiles:42 >> /etc/projid

xfs_quota -x -c ‘project -s logfiles’ /var

xfs_quota -x -c ‘limit -p bhard=1g logfiles’ /var

I get the following error after the last command:
xfs_quota: cannot set limits: Function not implemented[/color]

Just in case somebody is still interested in this problem: remount is
not sufficient. After a “real” umount and mount of the file system with
the option prjquota the xfs_quota commands works as expected.

Günther

Hi Günther,

thanks for sharing that small but relevant detail - might have fooled me, indeed!

Regards,
Jens