New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Increasing the size of size of tmpfs
mywebhosting
Member, Host Rep
in Help
Hi,
I have a doubt, is it possible to increase the size of tmpfs.
I need to modify the /etc/fstab file to define the size of tmpfs and also to define the number of inodes which may used by tmpfs. Is it possible to increase like that?
I am using a OpenVZ VPS.
Comments
Sure you can, does
mount -t tmpfs -oremount,nr_inodes=1000,size=1G none /tmp
not work for you?Do I need to restart the server after this?
No, in fact you'll lose the changes if you reboot unless you persist those options in
/etc/fstab
.Thanks
let me try this