OpenVZ Forum


Home » General » Support » vzctl create disk quota exceeded
vzctl create disk quota exceeded [message #23892] Wed, 28 November 2007 13:25 Go to next message
paul_xedos is currently offline  paul_xedos
Messages: 13
Registered: November 2007
Junior Member
I know this is a question that has been asked before but I'm still floundering. The following command fails with disk quota exceeded messages
vzctl create 1 --ostemplate rhel-4.4-i386 
Cannot write: Disk Qouta exceeded


I've tried using the vzctl set -1 diskspace 100000000:150000000 --save but as the VE is not set up this fails

Similarly, I cannot edit the /etc/sysconfig/vz-scripts/1.conf file as again this does not get created until after the VE exists.
Any ideas on how to get round this one

Thanks
Paul
Re: vzctl create disk quota exceeded [message #23893 is a reply to message #23892] Wed, 28 November 2007 14:01 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

There is a disk quota set for this partition — it has nothing to do with OpenVZ Smile


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzctl create disk quota exceeded [message #23896 is a reply to message #23893] Wed, 28 November 2007 14:25 Go to previous messageGo to next message
paul_xedos is currently offline  paul_xedos
Messages: 13
Registered: November 2007
Junior Member
Hi,
Thanks for this but there's no quotas set on this filesystem. I think it is something that I need to set / change on OpenVZ
Cheers
Paul
Re: vzctl create disk quota exceeded [message #23899 is a reply to message #23892] Wed, 28 November 2007 14:44 Go to previous messageGo to next message
paul_xedos is currently offline  paul_xedos
Messages: 13
Registered: November 2007
Junior Member
Here is the entry in /var/log/messages which I receive on running the vzctl create command

Nov 28 14:32:16 titan kernel: VZ QUOTA: disk softlimit exceeded for id=1
Nov 28 14:32:16 titan kernel: VZ QUOTA: disk quota softlimit expired for id=1


I think my question is more along the lines of - when running vzctl create for the first time which config file is being read if any? Or if it is not a config file where does vz get its info about quotas

Thanks
Paul
Re: vzctl create disk quota exceeded [message #23900 is a reply to message #23899] Wed, 28 November 2007 14:48 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Default config for VEs being created is taken from /etc/vz/conf/ve-NAME.conf-sample, where NAME is a value of CONFIGFILE variable from /etc/vz/vz.conf.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzctl create disk quota exceeded [message #23904 is a reply to message #23900] Wed, 28 November 2007 15:20 Go to previous message
paul_xedos is currently offline  paul_xedos
Messages: 13
Registered: November 2007
Junior Member
Splendid. That was the fellow

Changing the parameters in ve-vps.basic.conf-sample to be
#DISKSPACE="1048576:1153434"
DISKSPACE="100000000:150000000"


and re-running the vzctl create command meant a subsequent look at the quotas now reflects a much larger disk quota

[root@titan conf]# cat /proc/vz/vzquota
qid: path            usage      softlimit      hardlimit       time     expire
1: /home/vz/private/1.tmp
  1k-blocks         489856      100000000      150000000          0          0
     inodes           6010         200000         220000          0          0


Thanks very much for your help

Rgds
Paul
Previous Topic: New kernels... which to use?
Next Topic: Fedora 8 Template
Goto Forum:
  


Current Time: Sat Nov 09 01:24:34 GMT 2024

Total time taken to generate the page: 0.03206 seconds