You are not logged in.
IMHO without systemd mounting was somewhat easier...
The problem is: by default systemd allocates 0.5*RAM of memory for the tmpfs mounted as /run (precisely: it is the maximal limit for use). I'm wondering how can I increase this value to, let's say, 0.6*RAM?
The other question is: can I set a new value and remount it on-the-fly, that is: without rebooting a working system?
Offline
You can redefine them in fstab the same way as "before" systemd. Add an appropriate tmpfs line with your new size definition.
https://www.freedesktop.org/wiki/Softwa … leSystems/
Last edited by V1del (2018-08-22 11:12:15)
Offline
For your other question, you need to use the `remount` and `size` mount options.
man mount tmpfsSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I've always used the following, from the wiki on tmpfs, to on the fly resize /tmp
The tmpfs can also be temporarily resized without the need to reboot, for example when a large compile job needs to run soon. In this case, run:
# mount -o remount,size=4G,noatime /tmp
"the wind-blown way, wanna win? don't play"
Offline