OpenVZ Forum


Home » General » Discussions » Docker into OpenVZ container
Re: Docker into OpenVZ container [message #52369 is a reply to message #52368] Sun, 27 March 2016 09:31 Go to previous message
tburazin is currently offline  tburazin
Messages: 6
Registered: June 2015
Junior Member
Hi locara,
the number of inodes is set per container. If you are experiencing a shortage of inodes you can check with the command:
vzctl exec CTID df -i

You can find some explanation regarding disk quotas here: https://openvz.org/Resource_shortage#Disk_quota
The command to change number of inodes is:
vzctl set CTID --diskinodes softlimit:hardlimit --save
eg:
vzctl set 101 --diskinodes 5000000:5500000 --save

The default size is 2000000:2200000 if I remember correctly and it's recommended to allocate 200000 inodes per GB hard drive (for softlimit) and 220000 inodes per GB hard drive (hardlimit)

You can go with a different amount, but be careful not to use up all your inodes on one container.



blog.codeanywhere.com/tag/tommy-burazin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: full filesystem
Next Topic: openvz kernel error
Goto Forum:
  


Current Time: Sun Nov 10 19:57:42 GMT 2024

Total time taken to generate the page: 0.03483 seconds