Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
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.

Increasing the size of size of tmpfs

mywebhostingmywebhosting Member, Host Rep

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

  • jmgcaguiclajmgcaguicla Member
    edited May 2021

    Sure you can, does mount -t tmpfs -oremount,nr_inodes=1000,size=1G none /tmp not work for you?

  • mywebhostingmywebhosting Member, Host Rep

    @jmgcaguicla said:
    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?

  • jmgcaguiclajmgcaguicla Member
    edited May 2021

    @mywebhosting said:

    @jmgcaguicla said:
    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.

  • mywebhostingmywebhosting Member, Host Rep

    @jmgcaguicla said:

    @mywebhosting said:

    @jmgcaguicla said:
    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

Sign In or Register to comment.