OpenVZ Forum


Home » General » Support » *SOLVED* Moved /vz and now vzquota is complaining.
*SOLVED* Moved /vz and now vzquota is complaining. [message #11172] Wed, 14 March 2007 18:26 Go to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
ls -l /var/vzquota
total 12
-rw-------  1 root root 132 Mar 14 17:22 q.1
-rw-------  1 root root 132 Mar 14 17:39 quota.1000
-rw-------  1 root root 131 Mar 12 15:08 quota.900
[root@mainhost001 vzquota]# vzctl --verbose start 1000
Starting VE ...
vzquota : (error) Quota on syscall for 1000: File exists
vzquota on failed [3]


I copied /vz/* using rsync to /home/master/vz because /home has a lions share of the disk space. I was running low on /. VEID 1000 ran out of disk space. I moved /vz /oldvz and linked /home/master/vz to /vz. I changed /etc/vz/conf/1000.conf to give it more disk space.

I tried to start 1000, got the above message, removed the /var/vzquota/quota.1000 (actually moved it to q.1) and reran the vzctl start.


I did a search on the error, but nothing turned up. This is a Centos on Centos install.


vzquota show 1000
   resource          usage       softlimit      hardlimit    grace
  1k-blocks        2468160         6004899        6225380
     inodes          21175           80100          88100



Thanks,
Jim.

[Updated on: Thu, 15 March 2007 11:15] by Moderator

Report message to a moderator

Re: Moved /vz and now vzquota is complaining. [message #11185 is a reply to message #11172] Thu, 15 March 2007 08:28 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

please, try to perform `vzquota drop 1000` and then start VE #1000. I guess it can help.

Vasily
Re: Moved /vz and now vzquota is complaining. [message #11187 is a reply to message #11172] Thu, 15 March 2007 08:53 Go to previous messageGo to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
I forgot to mention I tried that. I removed the link and mv'ed /oldvz to /vz and all works again as expected.
Re: Moved /vz and now vzquota is complaining. [message #11191 is a reply to message #11187] Thu, 15 March 2007 09:13 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Oh, I think I know the reason Smile
Do you have _usual_ Linux quota runing on /home filesystem?
If yes, than you should turn it off and umount/mount /home.

Vasily.
Re: Moved /vz and now vzquota is complaining. [message #11204 is a reply to message #11191] Thu, 15 March 2007 10:43 Go to previous message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
Yes, we do have quotas running. Thanks.

Jim.
Previous Topic: Make vzrpm43 rpm package failed.
Next Topic: kernel 2.6.18 028stab021.1 on RHEL4?
Goto Forum:
  


Current Time: Wed Jul 10 14:30:40 GMT 2024

Total time taken to generate the page: 0.02714 seconds