OpenVZ Forum


Home » General » Support » disk quota
disk quota [message #26429] Wed, 23 January 2008 18:11 Go to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hi all,
i installed 2 ve in a server, and i installed cpanel in both of them, but it seems disk quota is not working on ves , in whm , list account , disk pace usage for all accounts is 0 and disk space fr all users unlimited , how can i fix them? can anyone please help me?
also please see here http://www.mihanpars.com

what is these errors? :
Warning: session_start() [function.session-start]: open(/tmp/sess_5291e45396ccb2065c2b390f313f8998, O_RDWR) failed: Disk quota exceeded (122) in /home/ataomega/public_html/index.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ataomega/public_html/index.php:4) in /home/ataomega/public_html/index.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ataomega/public_html/index.php:4) in /home/ataomega/public_html/index.php on line 4

Warning: Unknown: open(/tmp/sess_5291e45396ccb2065c2b390f313f8998, O_RDWR) failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0


how can i fix them?
Re: disk quota [message #26461 is a reply to message #26429] Thu, 24 January 2008 11:44 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

can you please post some additional information:

"df -h", "df -i","cat /proc/vz/quota".
Re: disk quota [message #26475 is a reply to message #26429] Thu, 24 January 2008 16:53 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hi,

result in root server :
[root@i1244 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
108G 14G 90G 13% /
/dev/hda1 99M 42M 52M 45% /boot
none 505M 0 505M 0% /dev/shm
/usr/tmpDSK 485M 11M 449M 3% /tmp
/tmp 485M 11M 449M 3% /var/tmp
[root@i1244 ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
14385152 451624 13933528 4% /
/dev/hda1 26104 57 26047 1% /boot
none 129152 1 129151 1% /dev/shm
/usr/tmpDSK 128016 34 127982 1% /tmp
/tmp 128016 34 127982 1% /var/tmp
[root@i1244 ~]# cat /proc/vz/quota
cat: /proc/vz/quota: No such file or directory
[root@i1244 ~]# cd /proc/vz/quota



result in vps :
[root@server /]# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 30G 4.3G 26G 15% /
simfs 30G 4.3G 26G 15% /home/virtfs/netw/lib
simfs 30G 4.3G 26G 15% /home/virtfs/netw/opt
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/lib
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/sbin
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/share
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/bin
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/man
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/X11R6
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/kerberos
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/libexec
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/local/bin
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/local/share
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/local/Zend
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/include
simfs 30G 4.3G 26G 15% /home/virtfs/netw/usr/local/lib
simfs 30G 4.3G 26G 15% /home/virtfs/netw/var/spool
simfs 30G 4.3G 26G 15% /home/virtfs/netw/var/lib
simfs 30G 4.3G 26G 15% /home/virtfs/netw/var/cpanel
simfs 30G 4.3G 26G 15% /home/virtfs/netw/var/run
simfs 30G 4.3G 26G 15% /home/virtfs/netw/var/log
simfs 30G 4.3G 26G 15% /home/virtfs/netw/tmp
simfs 30G 4.3G 26G 15% /home/virtfs/netw/bin
simfs 30G 4.3G 26G 15% /home/virtfs/netw/dev
simfs 30G 4.3G 26G 15% /home/virtfs/netw/home/netw
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/lib
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/opt
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/lib
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/sbin
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/share
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/bin
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/man
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/X11R6
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/kerberos
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/libexec
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/local/bin
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/local/share
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/local/Zend
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/include
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/usr/local/lib
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/var/spool
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/var/lib
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/var/cpanel
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/var/run
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/var/log
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/tmp
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/bin
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/dev
simfs 30G 4.3G 26G 15% /home/virtfs/geilanc/home/geilanc
[root@server /]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
simfs 200000 200000 0 100% /
simfs 200000 200000 0 100% /home/virtfs/netw/lib
simfs 200000 200000 0 100% /home/virtfs/netw/opt
simfs 200000 200000 0 100% /home/virtfs/netw/usr/lib
simfs 200000 200000 0 100% /home/virtfs/netw/usr/sbin
simfs 200000 200000 0 100% /home/virtfs/netw/usr/share
simfs 200000 200000 0 100% /home/virtfs/netw/usr/bin
simfs 200000 200000 0 100% /home/virtfs/netw/usr/man
simfs 200000 200000 0 100% /home/virtfs/netw/usr/X11R6
simfs 200000 200000 0 100% /home/virtfs/netw/usr/kerberos
simfs 200000 200000 0 100% /home/virtfs/netw/usr/libexec
simfs 200000 200000 0 100% /home/virtfs/netw/usr/local/bin
simfs 200000 200000 0 100% /home/virtfs/netw/usr/local/share
simfs 200000 200000 0 100% /home/virtfs/netw/usr/local/Zend
simfs 200000 200000 0 100% /home/virtfs/netw/usr/include
simfs 200000 200000 0 100% /home/virtfs/netw/usr/local/lib
simfs 200000 200000 0 100% /home/virtfs/netw/var/spool
simfs 200000 200000 0 100% /home/virtfs/netw/var/lib
simfs 200000 200000 0 100% /home/virtfs/netw/var/cpanel
simfs 200000 200000 0 100% /home/virtfs/netw/var/run
simfs 200000 200000 0 100% /home/virtfs/netw/var/log
simfs 200000 200000 0 100% /home/virtfs/netw/tmp
simfs 200000 200000 0 100% /home/virtfs/netw/bin
simfs 200000 200000 0 100% /home/virtfs/netw/dev
simfs 200000 200000 0 100% /home/virtfs/netw/home/netw
simfs 200000 200000 0 100% /home/virtfs/geilanc/lib
simfs 200000 200000 0 100% /home/virtfs/geilanc/opt
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/lib
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/sbin
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/share
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/bin
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/man
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/X11R6
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/kerberos
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/libexec
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/local/bin
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/local/share
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/local/Zend
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/include
simfs 200000 200000 0 100% /home/virtfs/geilanc/usr/local/lib
simfs 200000 200000 0 100% /home/virtfs/geilanc/var/spool
simfs 200000 200000 0 100% /home/virtfs/geilanc/var/lib
simfs 200000 200000 0 100% /home/virtfs/geilanc/var/cpanel
simfs 200000 200000 0 100% /home/virtfs/geilanc/var/run
simfs 200000 200000 0 100% /home/virtfs/geilanc/var/log
simfs 200000 200000 0 100% /home/virtfs/geilanc/tmp
simfs 200000 200000 0 100% /home/virtfs/geilanc/bin
simfs 200000 200000 0 100% /home/virtfs/geilanc/dev
simfs 200000 200000 0 100% /home/virtfs/geilanc/home/geilanc
[root@server /]# cat /proc/vz/quota
cat: /proc/vz/quota: No such file or directory
[root@server /]#



thanks
Re: disk quota [message #26503 is a reply to message #26475] Fri, 25 January 2008 08:08 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:

"cat /proc/vz/quota".

Sorry it was an erratum. I've meant "cat /proc/vz/vzquota".
Try to increase diskinodes for your VPS.
vzctl set VEID --diskinodes 350000:400000 --save


Thank You!
Re: disk quota [message #26506 is a reply to message #26429] Fri, 25 January 2008 09:14 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hi,
thanks my problem solved,

excuse me,, i've some questions , i do appreciate if you anwer them,

please give me an example of creaing a vps with , 30 gb space , 400 gb bw ,min 300 mgz cpu and max 600 mgz cpu , and min 256 mb ram and max 512 mb,


thanks a lot
Re: disk quota [message #26521 is a reply to message #26506] Fri, 25 January 2008 14:19 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:

30 gb space

http://wiki.openvz.org/Resource_shortage#Disk_quota

Quote:

min 300 mgz cpu and max 600 mgz cpu

http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
(Managing CPU Share - p. 53)
And please keep in mind this formula:

                                      Mhz on Node CPUs
VE's Mhz guarantee = VE's CPUUNITS * -----------------
                                     Power_of_the_node


Quote:

256 mb ram and max 512 mb

please look at this pages:
http://wiki.openvz.org/Setting_UBC_parameters
http://wiki.openvz.org/Category:UBC


Can you please explain what does it mean:
Quote:

400 gb bw


Thank You!
Re: disk quota [message #26522 is a reply to message #26521] Fri, 25 January 2008 14:30 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hi,
thanks a lot,
i mean bandwidth , monthly data transfer
Re: disk quota [message #26561 is a reply to message #26522] Mon, 28 January 2008 16:48 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

do you mean something like this?
http://forum.openvz.org/index.php?t=msg&goto=25319&& amp;srch=bandwidth#msg_25319
Re: disk quota [message #26565 is a reply to message #26429] Mon, 28 January 2008 18:47 Go to previous message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

yes ,
thanks,
Previous Topic: /dev/pty always gone
Next Topic: ACLs on VPS!
Goto Forum:
  


Current Time: Tue Aug 27 12:12:19 GMT 2024

Total time taken to generate the page: 0.06187 seconds