HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Quota exceeded when creating container (http://www.howtoforge.com/forums/showthread.php?t=30931)

eager 4th February 2009 21:05

Quota exceeded on CentOS 5.2 when creating OpenVZ container
 
I've installed CentOS 5.2 on a VirtualBox x86_64 VM and applied the latest OpenVZ patch (028stab059.6). When I run the following command

vzctl create 201 --ostemplate centos-5-x86_64-minimal --config vps.basic

I get a series of disk quota and tar unpack errors starting with this:

tar: ./fastboot: Cannot open: Disk quota exceeded

I have confirmed that disk quotas on the CentOS VM system are turned off. There is plenty of available disk space in /vz, as well as /. I am able to untar the template into /vz/private without problem.

Any suggestions?

falko 5th February 2009 22:06

My guess is that the uncompressed template is already bigger than the disk space that is configured in /etc/vz/conf/201.conf.

eager 5th February 2009 22:52

Quote:

Originally Posted by falko (Post 167975)
My guess is that the uncompressed template is already bigger than the disk space that is configured in /etc/vz/conf/201.conf.

Thanks for the reply.

There isn't any 201.conf. There is ve-vps.basic-conf-sample, which contains the line "DISKSPACE="1048576:1153024".

I copied ve-vps.basic-conf-sample to 201.conf and increased both values tenfold. Running the vzctl create w/o --config vps.basic gives the same error.

Why would config for a VPS container have anything to do with the error being issued from tar?

falko 6th February 2009 19:50

Hm, not sure what's happening. Is SELinux disabled?

eager 7th February 2009 07:32

SELinux is disabled.

I ran strace, but there's nothing obvious.


All times are GMT +2. The time now is 11:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.