xfs_quota: cannot set limits.Why ?
Dear sir,
linux-nr79:~ # cat /etc/issue
Welcome to openSUSE 11.1 - Kernel \r (\l).
linux-nr79:/boot # cat config-2.6.27.7-9-default | grep XFS CONFIG_XFS_FS=mCONFIG_XFS_QUOTA=yCONFIG_XFS_DMAPI=yCONFIG_XFS_POSIX_ACL=yCONFIG_XFS_RT=y
# CONFIG_XFS_DEBUG is not setCONFIG_VXFS_FS=m
linux-nr79:~ # mount /dev/sdc1 /xfs linux-nr79:~ # mount -o remount,usrquota,grpquota /xfs
linux-nr79:~ # mount/dev/sda2 on / type ext3 (rw,acl,user_xattr) /proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5) fusectl on /sys/fs/fuse/connections type fusectl (rw) securityfs on /sys/kernel/security type securityfs (rw) /dev/sdc2 on /ext3 type ext3 (rw,usrquota,grpquota) /dev/sdc1 on /xfs type xfs (rw,usrquota,grpquota)
linux-nr79:~ # xfs_quota -x -c 'limit bsoft=5m bhard=6m user01' /xfsxfs_quota: cannot set limits: Function not implemented
Why cannot set limits? Any idea how I can use xfs quota? Thanks.
Best Regards,
Frank
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Hi Frank!
The problem is that you cannot set usrquota and grpquota via a remount command. You must take care that these flags are set on the very first mount of the filesystem. Otherwise they are silently ignored and quotas are not enforced at all.
hth,
Michael
-------- Original-Nachricht --------
Betreff: xfs_quota: cannot set limits.Why ?
Von: Frank Peng <[email protected]>
An: [email protected]
Datum: 19.08.2009 12:21
Quoted 36 lines
Dear sir,
linux-nr79:~ # cat
/etc/issue
Welcome to openSUSE 11.1 - Kernel \r (\l).linux-nr79:/boot # cat config-2.6.27.7-9-default | grep XFS
CONFIG_XFS_FS=mCONFIG_XFS_QUOTA=yCONFIG_XFS_DMAPI=yCONFIG_XFS_POSIX_ACL=yCONFIG_XFS_RT=y
#CONFIG_XFS_DEBUGis not setCONFIG_VXFS_FS=mlinux-nr79:~ # mount
/dev/sdc1/xfs linux-nr79:~ # mount -o remount,usrquota,grpquota /xfslinux-nr79:~ # mount
/dev/sda2on / type ext3 (rw,acl,user_xattr) /proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on/sys/kernel/debugtype debugfs (rw) udev on /dev type tmpfs (rw)
devpts on/dev/ptstype devpts (rw,mode=0620,gid=5) fusectl on/sys/fs/fuse/connectionstype fusectl (rw) securityfs on/sys/kernel/securitytype securityfs (rw)/dev/sdc2on /ext3 type ext3 (rw,usrquota,grpquota)/dev/sdc1on /xfs type xfs (rw,usrquota,grpquota)linux-nr79:~ #
xfs_quota-x -c 'limit bsoft=5m bhard=6m user01' /xfsxfs_quota: cannot set limits: Function not implementedWhy cannot set limits? Any idea how I can use xfs quota? Thanks.
Quoted 8 lines
Best Regards,
Frank_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs