OpenVZ Forum


Home » General » Support » [SOLVED] HD quota incorrect
Re: HD quota incorrect [message #34899 is a reply to message #34897] Wed, 11 February 2009 14:07 Go to previous messageGo to previous message
Vadtec is currently offline  Vadtec
Messages: 7
Registered: February 2009
Junior Member
I powered down the VM and changed the hd quota to 10G, and this was the result after power up:

[root@vps2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 10G 342M 9.7G 4% /
[root@vps2 ~]# ls -la /etc/mtab
-rw-r--r-- 1 root root 171 Feb 11 05:11 /etc/mtab
[root@vps2 ~]# ls -la /proc/mounts
lr-xr-xr-x 1 root root 11 Feb 11 05:12 /proc/mounts -> self/mounts

What is showing in HyperVM:

Resource Used Max
Disk 342 MB 10 GB
Inode 20443 5242880
Memory 20 MB 512 MB


So I powered down again and changed the hd quota back to 100G:

[root@vps2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 59G 342M 55G 1% /
[root@vps2 ~]# ls -la /etc/mtab
-rw-r--r-- 1 root root 171 Feb 11 05:15 /etc/mtab
[root@vps2 ~]# ls -la /proc/mounts
lr-xr-xr-x 1 root root 11 Feb 11 05:16 /proc/mounts -> self/mounts

Here is what HyperVM is showing once again:

Resource Used Max
Disk 342 MB 100 GB
Inode 20443 52428800
Memory 20 MB 512 MB

Give than HyperVm was showing 10G and the VM was showing 10G, I do not see this as a HyperVM issue. How does OpenVZ allocate HD space, and does it allocate it all at once?

Thanks,

Vadtec
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Server - Kernel Won't Load
Next Topic: [Answered] Multiple VETH's and only 1 NIC (eth0) .....
Goto Forum:
  


Current Time: Tue Sep 30 19:17:08 GMT 2025

Total time taken to generate the page: 0.09829 seconds