xfs
[Top] [All Lists]

[xfs] quota project problem

To: xfs@xxxxxxxxxxx
Subject: [xfs] quota project problem
From: Frank Patzig <fp@xxxxxxxxx>
Date: Fri, 28 Jul 2006 16:22:01 +0200
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (X11/20060719)
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@xxxxxxxxx
Universitätsplatz 12                    phone:  +49 391 25568 0
Magdeburg                               fax:    +49 391 25568 99
39104                                   http://www.mdlink.de
Germany 


<Prev in Thread] Current Thread [Next in Thread>