OpenVZ Forum


Home » General » Support » *SOLVED* can't increase diskspace on VPS, please help
*SOLVED* can't increase diskspace on VPS, please help [message #29477] Mon, 14 April 2008 22:18 Go to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
HI all

I want to add 5GB extra space to an existing VPS, but it doesn't work.

I run vzctl --set 1001 --diskspace 15G:16G, but when I run df -H from within the VPS, I see the following:

 df -H
Filesystem             Size   Used  Avail Use% Mounted on
simfs                  8.9G   5.4G   2.6G  68% /


And this is on the hostnode:

 vzquota show 1001
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
   resource          usage       softlimit      hardlimit    grace
  1k-blocks        3374996        15728640       16777216
     inodes         122722          600000         660000


So it seems like it's supposed to have updated, but it didn't. How do I add more space to the VPS?

[Updated on: Thu, 17 April 2008 09:46]

Report message to a moderator

Re: can't increase diskspace on VPS, please help [message #29492 is a reply to message #29477] Tue, 15 April 2008 10:20 Go to previous messageGo to next message
niatech is currently offline  niatech
Messages: 10
Registered: April 2008
Junior Member
I'm having the same problem. What is your host OS and what template are you using for the VPS?

I'm using CentOS 5.1 for my host and i've tried CentOS 5 Minimal, Default and CentOS 4 Default, still doesn't work. They always create a VPS that has 1.8GB of space.
Re: can't increase diskspace on VPS, please help [message #29496 is a reply to message #29477] Tue, 15 April 2008 11:44 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
CentOS 5.1 & I have CentOS 5-default template.

So does anyone know the problem? I have a client that I urgently need to upgrade. Please assist
Re: can't increase diskspace on VPS, please help [message #29510 is a reply to message #29496] Tue, 15 April 2008 13:39 Go to previous messageGo to next message
swindmill is currently offline  swindmill
Messages: 57
Registered: April 2007
Member
How much free space do you have on the host node filesystem that contains /vz ?
Re: can't increase diskspace on VPS, please help [message #29521 is a reply to message #29510] Tue, 15 April 2008 17:09 Go to previous messageGo to next message
niatech is currently offline  niatech
Messages: 10
Registered: April 2008
Junior Member
I don't know about SoftDux, but I have 200+GB free.
Re: can't increase diskspace on VPS, please help [message #29524 is a reply to message #29521] Tue, 15 April 2008 17:40 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Which filesystem is used for /vz ?

Re: can't increase diskspace on VPS, please help [message #29527 is a reply to message #29524] Tue, 15 April 2008 18:43 Go to previous messageGo to next message
swindmill is currently offline  swindmill
Messages: 57
Registered: April 2007
Member
Can you post the output of df on the host node?
Re: can't increase diskspace on VPS, please help [message #29529 is a reply to message #29477] Tue, 15 April 2008 19:30 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
I see the partition that this VEID resides on is full, which explains this problem. How do I move the VM's to a new partition sucsessfully?
Re: *SOLVED* can't increase diskspace on VPS, please help [message #29570 is a reply to message #29477] Thu, 17 April 2008 10:03 Go to previous message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
Ok, in my case the partition where the containers got created was too small. I moved the containers to a new partition, and all is well Smile
Previous Topic: Public IPs on different subnet
Next Topic: Weird vzquota error
Goto Forum:
  


Current Time: Sat Nov 16 10:13:57 GMT 2024

Total time taken to generate the page: 0.03117 seconds