Quota Issue New VPS [message #15142] |
Fri, 20 July 2007 02:44 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
Choclo
Messages: 1 Registered: July 2007
|
Junior Member |
|
|
Hi,
I've been working around with Openvz and all of the sudden, I can't create any new VZs:
[root@206-251-73-170 ~]# vzctl create 112 --ostemplate centos-4
Creating VE private area (centos-4-i386-default)
vzquota : (error) inode_hard_limit [220000] < inode_soft_limit [2000000]
vzquota init failed [2]
vzquota : (error) Can't open quota file for id 112, maybe you need to reinitialize quota: No such file or directory
vzquota : (error) inode_hard_limit [220000] < inode_soft_limit [2000000]
vzquota init failed [2]
vzquota on failed [61]
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
vps-create ERROR: Error in tar xzf /vz/template/cache/centos-4-i386-default.tar.gz
vzquota : (error) Can't open quota file for id 112, maybe you need to reinitialize quota: No such file or directory
vzquota off failed [11]
Creation of VE private area failed
[root@206-251-73-170 ~]# cat /proc/version
Linux version 2.6.18-ovz028stab035.1-smp (root@centos-32-build) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Sat Jun 9 12:15:32 MSD 2007
[root@206-251-73-170 ~]# lsmod
Module Size Used by
simfs 4268 1
vzrst 127764 0
ip_nat 14608 1 vzrst
vzcpt 109636 0
ip_conntrack 48172 3 vzrst,ip_nat,vzcpt
vzdquota 42804 1 [permanent]
af_packet 17672 0
xt_tcpudp 3168 0
xt_length 1696 0
ipt_ttl 1568 0
xt_tcpmss 1952 0
ipt_TCPMSS 3584 0
iptable_mangle 3712 1
xt_multiport 3200 0
xt_limit 2176 0
ipt_tos 1344 0
ipt_REJECT 4128 0
iptable_filter 3456 2
ip_tables 12952 2 iptable_mangle,iptable_filter
x_tables 13092 10 xt_tcpudp,xt_length,ipt_ttl,xt_tcpmss,ipt_TCPMSS,xt_multipor t,xt_limit,ipt_tos,ipt_REJECT,ip_tables
parport_pc 26660 1
lp 8740 0
parport 20704 2 parport_pc,lp
autofs4 19428 0
sunrpc 143932 1
vznetdev 14400 3
vzmon 34632 4 vzrst,vzcpt,vznetdev
vzdev 2788 5 vzdquota,vznetdev,vzmon
thermal 11176 0
processor 16140 1 thermal
fan 3556 0
button 4976 0
battery 7876 0
asus_acpi 13912 0
ac 3620 0
uhci_hcd 22156 0
usbcore 119076 2 uhci_hcd
i2c_i801 6892 0
i2c_core 17248 1 i2c_i801
e1000 127264 0
floppy 57540 0
ide_cd 38916 0
cdrom 40544 1 ide_cd
I tried to include as much info as possible. What do you think I'm doing wrong?
Thanks!!!
|
|
|
Re: Quota Issue New VPS [message #15146 is a reply to message #15142] |
Fri, 20 July 2007 07:08 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
![5072133](/theme/ovz3/images/icq.png)
|
|
it looks like something goes really wrong on your server.
1. check disk space available in the system with `df -h`
2. looks like your defaults for inode diskquota in /etc/vz/conf/vps-basic.sample are wrong, since inode soft limit should always be smaller then hardlimit (it is stored in sample config as DISKINODES="200000:220000", in your case it looks like it is =2000000:220000, which is wrong.
3. check that VE template /vz/template/cache/centos-4-i386-default.tar.gz archive is not broken. just unpack it somewhere with commands like:
# tar vzxf /vz/template/cache/centos-4-i386-default.tar.gz
# echo $?
and check that no errors occured. Maybe you have to redownload it from openvz.org
[Updated on: Fri, 20 July 2007 07:08] Report message to a moderator
|
|
|