OpenVZ Forum


Home » General » Support » Openvz container diskspace problem
Openvz container diskspace problem [message #50197] Sat, 03 August 2013 21:26 Go to next message
hvhimbee is currently offline  hvhimbee
Messages: 7
Registered: August 2013
Junior Member
Hi,

I have a debian linux box running with a logical volume where I installed openvz to.
I created three containers with debian kernel 6.0 minimal.

Because the diskspace was full, I resized the logical volume and I also enlarged the diskspace of the containers using the vzctl set x --diskspace command.

My problem is that nothing changes. When I enter df -h inside a container, I get this output:

Filesystem Size Used Avail Use% Mounted on
/dev/simfs 283M 283M 0 100% /
tmpfs 128M 0 128M 0% /lib/init/rw
tmpfs 128M 0 128M 0% /dev/shm
overflow 1.0M 0 1.0M 0% /tmp

The Use% stays 100%. I set as diskspace 1G and saved it, but nothing changes inside the container. I also tried stopping the container, dropping the vzquota and restarting the container again, but it still says use% 100%

Any idea how to solve this problem?

Is there a way to automatically extends the diskspace of containers when for example there's only 10% diskspace left?
Re: Openvz container diskspace problem [message #50219 is a reply to message #50197] Sun, 04 August 2013 16:37 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
please report you vzctl, vzquota, kernel versions.
please show ct config file.
show exact command whith which you tried to give more space for CT.
Re: Openvz container diskspace problem [message #50601 is a reply to message #50197] Fri, 20 September 2013 09:59 Go to previous message
votsalo is currently offline  votsalo
Messages: 26
Registered: December 2011
Location: Greece
Junior Member
This works for me:

vzctl set 110 --diskspace 20G:20G --save
Previous Topic: Migrate from openvz version 2.x to 3.x
Next Topic: vzctl: command not found
Goto Forum:
  


Current Time: Mon Jul 29 10:16:04 GMT 2024

Total time taken to generate the page: 0.02667 seconds