Results 1 to 6 of 6

Thread: xfs_quota: cannot set limits ??

  1. #1
    frankpeng2009 NNTP User

    Default xfs_quota: cannot set limits ??

    linux-nr79:~ # cat /etc/issue
    Welcome to openSUSE 11.1 - Kernel \r (\l).

    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' /xfs
    xfs_quota: cannot set limits: Function not implemented

    Why cannot set limits? Any idea how I can use xfs quota?

  2. #2
    Camalen NNTP User

    Default Re: xfs_quota: cannot set limits ??

    frankpeng2009 wrote:

    > linux-nr79:~ # xfs_quota -x -c 'limit bsoft=5m bhard=6m user01' /xfs
    > xfs_quota: cannot set limits: Function not implemented
    >
    > Why cannot set limits? Any idea how I can use xfs quota?


    Maybe you are being bitten by this bug :-?

    Bug 781 - xfs_quota doesn't report success/failure in exit status
    http://oss.sgi.com/bugzilla/show_bug.cgi?id=781

    Just check if the quotas are already set.

    Greetings,

    --
    Camalen

  3. #3
    frankpeng2009 NNTP User

    Default Re: xfs_quota: cannot set limits ??

    Thanks for your reply.

    I can't find the aquota.user file In the mounted directory. So the quotas are not set.

  4. #4
    frankpeng2009 NNTP User

    Default Re: xfs_quota: cannot set limits ??

    Can someone help me?

  5. #5
    Camalen NNTP User

    Default Re: xfs_quota: cannot set limits ??

    frankpeng2009 wrote:

    > Thanks for your reply.
    >
    > I can't find the aquota.user file In the mounted directory. So the
    > quotas are not set.


    Maybe you are missing some step (shouldn't those files be manually created?,
    defining a quota use in /etc/fstab...), dunno :-?

    Have a look under the docs located
    at "/usr/share/doc/packages/xfsprogs/README"

    Greetings,

    --
    Camalen

  6. #6
    frankpeng2009 NNTP User

    Default Re: xfs_quota: cannot set limits ??

    I find the problem that we cannot set usrquota and grpquota via a remount command.But JFS and EXT3 can set.

    Another question:
    The xfs_quota do not make a file named aquota.user? It's different from JFS and ext3 too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •