public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Patzig <fp@mdlink.de>
To: xfs@oss.sgi.com
Subject: [xfs] quota project problem
Date: Fri, 28 Jul 2006 16:22:01 +0200	[thread overview]
Message-ID: <44CA1D89.3080104@mdlink.de> (raw)

Hallo,

i have a problem with project quota. Can i help you.

combolix:~ # uname -a
Linux combolix 2.6.18_rc1-jen27-default #1 Thu Jul 13 01:34:23 CEST 2006 
i686
i686 i386 GNU/Linux

combolix:~ # cat /etc/mtab
/dev/hdc2 / xfs rw,uquota,gquota,pquota 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs rw 0 0

combolix:~ # echo 42:/var/log >> /etc/projects
combolix:~ # echo logfiles:42 >> /etc/projid

combolix:~ # xfs_quota -x -c 'project -c logfiles' /
Checking project logfiles (path /var/log)...
Processed 1 /etc/projects paths for project logfiles

combolix:~ # xfs_quota -x -c 'limit -p bhard=1g logfiles' /
xfs_quota: cannot set limits: No such process

xfs_quota -x -c 'state -p' /
Project quota state on / (/dev/hdc2)
   Accounting: OFF
   Enforcement: OFF
   Inode: #18446744073709551615 (0 blocks, 0 extents)
Blocks grace time: [7 days]
Inodes grace time: [7 days]
Realtime Blocks grace time: [7 days]

combolix:~ # xfs_quota -x -c 'report -p' /
not answer

combolix:~ # xfs_quota -x -c 'quota -p logfile' /
xfs_quota: cannot find project logfile
combolix:~ # xfs_quota -x -c 'quota -p 42' /
not answer

combolix:~ # xfs_quota -x -c 'print'
Filesystem          Pathname
/                   /dev/hdc2 (uquota)
/var/log            /dev/hdc2 (project 42, logfiles)

combolix:~ # xfs_quota -x -c 'quot -p'
/dev/hdc2 (/) Project:
    16080    logfiles

combolix:~ # xfs_quota -x -c 'free'
Filesystem           1K-blocks       Used  Available  Use% Pathname
/dev/hdc2             76006520    4666116   71340404    7% /
XFS_GETQUOTA: No such process

combolix:~ # xfs_quota -x -c 'path'
       Filesystem          Pathname
[000] /                   /dev/hdc2 (uquota)
  001  /var/log            /dev/hdc2 (project 42, logfiles)

I have not a idee for this problem.

Thanks
-- 
Frank Patzig	

MDlink online service center GmbH       mail: fp@mdlink.de
Universitätsplatz 12                    phone:  +49 391 25568 0
Magdeburg                               fax:    +49 391 25568 99
39104                                   http://www.mdlink.de
Germany	

             reply	other threads:[~2006-07-28 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-28 14:22 Frank Patzig [this message]
2006-07-31  0:31 ` [xfs] quota project problem Nathan Scott
2006-07-31  9:41   ` Frank Patzig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44CA1D89.3080104@mdlink.de \
    --to=fp@mdlink.de \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox