Error when creating a Proxmox server in OpenVZ

rskretting

New Member
Jul 12, 2007
9
0
1
Hi,

Hopefully you can provide me some help on this one.

Hardware: 2x Opteron 265, 8GB memory
OS: Debian 4.0 (Etch) - amd64
Kernel: 2.6.18-ovz-028stab048.1-smp

I have problems creating a Proxmox VE in OpenVZ. This is what I´ve done so far:
1. wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-4.0-proxmox-mailgateway-2.0.tar.gz
2. vzsplit -n 10 -f default
3. vzctl create 1001 --ostemplate debian-4.0-proxmox-mailgateway-2.0 --config default

So, it tries now to create the Proxmox VE but I get these error messages:
Creating VE private area (debian-4.0-proxmox-mailgateway-2.0)
tar: ./usr/share/locale/eu/LC_MESSAGES/dpkg.mo: Wrote only 3072 of 10240 bytes
tar: ./usr/share/locale/eu/LC_MESSAGES/dselect.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/libapt-inst1.1.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/adduser.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/newt.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/wget.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/apt.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/libapt-pkg3.11.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/aptitude.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/nano.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/tasksel.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/debian-tasks.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/install-keymap.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/console-data.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/psmisc.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_MESSAGES/shared-mime-info.mo: Cannot write: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_TIME: Cannot mkdir: Disk quota exceeded
tar: ./usr/share/locale/eu/LC_TIME/coreutils.mo: Cannot open: No such file or directory
tar: ./usr/share/locale/fi: Cannot mkdir: Disk quota exceeded
tar: ./usr/share/locale/fi/LC_MESSAGES: Cannot mkdir: No such file or directory
tar: ./usr/share/locale/fi/LC_MESSAGES/shadow.mo: Cannot open: No such file or directory
tar: Skipping to next header
tar: ./usr/share/locale/fi/LC_MESSAGES/coreutils.mo: Cannot open: No such file or directory
tar: Skipping to next header

....
tar: Error exit delayed from previous errors
vps-create ERROR: Error in tar xzf /var/lib/vz/template/cache/debian-4.0-proxmox-mailgateway-2.0.tar.gz
Creation of VE private area failed



The thing is that I can create other VE´s based on other templates without any problems.


I have a 1 year subscription to Proxmox Mail Gateway Standard 1 (single domain).


Thanks,
Rune Skretting
 
It suddenly became more clearer what I should look for after seeing my own post ;)
´Disk quota exceeded´

I have not found the solution, but it should be easy to find. I hope...

Cheers,
Rune
 
Hi Tom,

hi,
you did: vzsplit -n 10 -f default
can you post the generate file?

I used the document you´re linking to to setup my virtual environment.

This is what fixed my problem:
vzsplit -n 10 -s 0 -f default (so, -s 0 is added to the command)

I could then create my proxmox ve without any errors :-)

The generated file is now:
# Configuration file generated by vzsplit for 10 VEs
# on HN with total amount of physical mem 7917 Mb
# low memory 7917 Mb, swap size 0 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="4052:4052"
AVNUMPROC="2026:2026"
NUMTCPSOCK="4052:4052"
NUMOTHERSOCK="4052:4052"
VMGUARPAGES="120334:9223372036854775807"

# Secondary parameters
KMEMSIZE="166044221:182648643"
TCPSNDBUF="38751081:55348073"
TCPRCVBUF="38751081:55348073"
OTHERSOCKBUF="19375540:35972532"
DGRAMRCVBUF="19375540:19375540"
OOMGUARPAGES="120334:9223372036854775807"
PRIVVMPAGES="722004:794204"

# Auxiliary parameters
LOCKEDPAGES="8107:8107"
SHMPAGES="72200:72200"
PHYSPAGES="0:9223372036854775807"
NUMFILE="64832:64832"
NUMFLOCK="1000:1100"
NUMPTY="405:405"
NUMSIGINFO="1024:1024"
DCACHESIZE="36255565:37343232"
NUMIPTENT="200:200"
DISKSPACE="1487719:1636492"
DISKINODES="812419:893662"
CPUUNITS="32643"





cheers,
Rune
 
UPDATE: No problems with v2.1

Hi, I upgraded today to version 2.1 of Proxmox. I wanted to enable the usage of swap disk as advised in the wiki, so I created a new default-sample config file:
# vzsplit -n 10 -f default

As mentioned in my first post I got an error with version 2.0 of Proxmox. This seems now to be fixed with version 2.1 :D


cheers,
Rune
 
Hmm, did I post this one in the Proxwall forums??

If possible, it should be moved to the Proxmox Mailgate forums... :confused: