Re: vzquota : (error) Quota on syscall for 777: No such file or directory [message #5711 is a reply to message #5708] |
Mon, 28 August 2006 18:46   |
 |
curx
Messages: 739 Registered: February 2006 Location: Nürnberg, Germany
|
Senior Member |

|
|
Hi,
yes, you need a folder, where the quota-files are stored,
i doesn't really know where the g2 set the var-folder of "vzquota"
Please take a look in the vzquota-src:
If variable "VARDIR" is set to "/var", than vzquota-var-folder is "/var/vzquota".
or "strace vzquota show <veid> 2>&1 | grep open"
... on a debian host (as a example)
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/var/lib/vzquota/quota.<veid>", O_RDWR|O_LARGEFILE) = 3
show's me, vzquota, opens a file in folder "/var/lib/vzquota" folder, reading the quota.<veid> stats.file!
|
|
|