OpenVZ Forum


Home » General » Support » Max disk space limit in vps?
Max disk space limit in vps? [message #31687] Mon, 07 July 2008 01:50 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
I created a VPS with unlimited resources but it shows the limit of hard disk. Is there any limit for the VPS file system? There is enough free space in the server
df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
921970 74425 799957 9% /
/dev/hda1 99 52 43 56% /boot
tmpfs 4054 0 4054 0% /dev/shm


uname -a
2.6.18-53.1.19.el5.028stab053.14PAE #1 SMP Thu May 8 21:09:32 MSD 2008 i686 i686 i386 GNU/Linux


But when I run the df -h

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 98G 6.8G 91G 7% /
none 4.0G 20K 4.0G 1% /dev
/tmp 98G 6.8G 91G 7% /var/tmp


Is 98G max disk a VPS can see or it's the max space for all the VPS in server?
How can we create the VPS with more then 100gigs?

Thanks
Re: Max disk space limit in vps? [message #31785 is a reply to message #31687] Thu, 10 July 2008 00:17 Go to previous message
adeeln is currently offline  adeeln
Messages: 6
Registered: July 2007
Junior Member
As far as I know, there isn't a practical limit on the maximum file system size (as my VE shows 150G size), but what I'm assuming is happening is that the VE has determined the maximum available space on your drive is 98G, so that's what is showing you. If you increase your LVM partition, the VE should increase the size of the FS automatically. If you want to know the actual filesystem limit for simfs, you could take a look at the source and it should be listed.

What I'm basically getting at is that 'Unlimited' in OpenVZ means 'Use maximum available resources on the HN'. So if your HN only has 1 gig ram + 1 G swap, it's not going to allocate 4 gigs for the VE, otherwise you can run into an OOM situation easily.
Previous Topic: Unlimited resources in a VPS
Next Topic: VPS with huge server load
Goto Forum:
  


Current Time: Thu Oct 17 03:35:43 GMT 2024

Total time taken to generate the page: 0.05389 seconds