Questions tagged [tmpfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
152 views

TMPFS has completely filled the system

I'm still new to this field. I can't find a specific solution in any way. The first problem was that when I started the system after a long break, I was offered to update the application packages. I ...
асланчик's user avatar
1 vote
1 answer
41 views

Firefox complaining about a running instance after crashing with umounts on Xubuntu

In order to run Firefox without allowing any changes to its configuration, I did setup a tmpfs and from it, create two overlays before launching the browser. Script runs fine, creates and destroys the ...
user avatar
0 votes
0 answers
292 views

faster tmpfs with large page size

I'm trying to use some sort of ramdisk using tmpfs on a system with about 1TB of system memory. However, there is a problem that the speed of reading and writing files to memory is less than 100MB/s, ...
tsp's user avatar
  • 1
0 votes
1 answer
110 views

Transfer I/O to RAM on ssd based linux

I have kubuntu 20.04 lts on my ext4 installed on ssd. There are processes lattedock and jdb2/ constantly writing on ssd. How can i safely mount these processes on RAM to avoid I/O on ssd, where i ...
pasmon 79's user avatar
1 vote
0 answers
863 views

Is there any way to see tmpfs devices mounted under WSL2/Ubuntu2004 from Windows?

I'm trying to run some tests against a large number of small-medium (<10KB) files. Everything is going fine, but now I'm at the point where I want to see what I can do with msys2 and github tools ...
SkyLeach's user avatar
  • 211
0 votes
1 answer
912 views

Install Ubuntu 20.04 server without tmpfs ram disks enabled

Context I freshly installed some small VMs with Ubuntu server 20.04 with default installation settings. The applications I run on them already warned me about limited free disk space, which is odd, ...
Erik Norman's user avatar
21 votes
2 answers
8k views

How to allow snap applications to access /tmp folder?

Usually I'm avoiding snap-based applications, but sometime I need them. For example - Markdown Lint Tool is shipped only as Snap named mdl. It works great when files are in home folder - $ echo "...
N0rbert's user avatar
  • 99.7k
5 votes
1 answer
5k views

Is the `size` parameter for tmpfs in fstab not working?

I am confused about whether my /tmp using tmpfs is respecting the size parameter that I gave to it in /etc/fstab: My fstab entries now read: root_pool/var/tmp /tmp /var/tmp zfs rw,nodev,nosuid 0 0 ...
Stonecraft's user avatar
12 votes
2 answers
16k views

Mounting /tmp as tmpfs on Ubuntu 20.04

I'd like to mount /tmp without fstab entry using tmp.mount However on Ubuntu 20.04 LTS, it doesn't seem to work. user@user-x1:~$ systemctl status tmp.mount Unit tmp.mount could not be found. user@...
x70766c's user avatar
  • 123
0 votes
0 answers
340 views

Which files/directories should I move to ramdisk to improve Chrome performance?

I am running Ubuntu 19 and Chrome 79 on a laptop with a slow and noisy hard drive. I have 12 GB of RAM which is rarely full. I find that opening a web page in Chrome is very slow and creates a lot of ...
pinoyyid's user avatar
6 votes
0 answers
1k views

Is there anything in ~/.cache that is not really cache?

My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk. This makes the browser run faster and reduces SSD usage. When I reboot, it all goes away, but it ...
Ray Butterworth's user avatar
3 votes
2 answers
6k views

How would I place the Chromium cache on tmpfs (ram)?

Some background: Today I have realized that my system SSD is almost full (90% full) for the /home dir. I have realized that the main culprit is (are) the 77 chromium profiles that I use on my ...
AlexN's user avatar
  • 493
1 vote
0 answers
659 views

How to automatic mount a tmpfs directory

I read about a configuration to load the directory ~/.cache/thumbnails/ to tmpfs https://askubuntu.com/a/809084 With this lines in /etc/fstab none /home/username/.cache/thumbnails tmpfs rw,noexec,...
user avatar
4 votes
1 answer
12k views

What is "udev" and "tmpfs"

I run the command df -h and it showed that udev has a size of 471M and the other 5 tmpfs have an estimated size of 1.1G. What should I do to them?
user avatar
1 vote
1 answer
343 views

How do you set mount options for tmpfs volumes?

I am trying to add the nodev option to the /run tmpfs partition on my Ubuntu 18.04 LTS system. For other file systems like /boot that exist in /etc/fstab I can add mount options there. /run does not ...
zaphoyd's user avatar
  • 126
1 vote
0 answers
245 views

R in 18.04 lockfile error in tmp directory when building a package: Bad Address

I am getting the following address when I try building a package in R. > R CMD build bootLR ... cp: error writing '/tmp/RtmpIwkIfV/Rbuild1cf97228aeac/bootLR/.Rproj.user/6295459/sources/s-...
Ari B. Friedman's user avatar
2 votes
1 answer
896 views

vm.swappiness does not apply to tmpfs, Ubuntu Server 16.04.5

Need for some expert advise has brought me here. Observation: OS locks up during high RAM usage, very low swap usage (plenty available), high tmpfs usage. My setup: Ubuntu Server 16.04.5 with ...
madhurya's user avatar
0 votes
0 answers
433 views

low disk space due to its usage as tmpfs

I have ran a program and i just entered wrong dimensions (100 times larger) so it took all my disk space and even then it didnot ran and hang the system for 5 minutes. Now when I restared my system it ...
Indu Bala's user avatar
10 votes
1 answer
19k views

/tmp in tmpfs, how do this only with systemd?

I have now a laptop with Ubuntu 18.04 and i love it. i have mounted /tmp as tmpfs via /etc/fstab line as this: tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777 ...
Yonsy Solis's user avatar
1 vote
1 answer
3k views

How do I increase the size of live image [aufs]?

When I boot into a live image to try out ubuntu, the core storage capacity is 50% of the memory that I have available. aufs 16G 6.2G 9.6G 40% / [32GB total] How do I increase the ...
apiTesting's user avatar
0 votes
0 answers
279 views

Cache and sync a directory using RAM for faster access

Are there any apps or any ways to cache and sync a hard disk directory with RAM? Currently I'm making a fake disk and RAM RAID. Firstly, I make an .img file on hard disk: qemu-img create -f raw /...
smnlss689's user avatar
0 votes
1 answer
1k views

Tmpfs using up more than available RAM

I have 8GB RAM: » cat /proc/meminfo MemTotal: 8096188 kB But I am using way more than that just with the mounted tmpfs: » sudo df -ha | grep tmpfs tmpfs 791M 9,9M 781M 2% /run ...
blueFast's user avatar
  • 818
1 vote
1 answer
969 views

Accessing other drives on an AWS EC2 instance?

I ran an application on an Ubuntu instance of Amazon EC2, and it ran out of memory. Here is what df shows: ubuntu@ip-172-31-9-56:~/layers/punctuation$ df Filesystem 1K-blocks Used Available ...
Erel Segal-Halevi's user avatar
3 votes
1 answer
1k views

canonical-livepatch cannot perform operation: mount

I'm trying to enable canonical-livepatch on ubuntu server 16.04 sudo snap install canonical-livepatch canonical-livepatch 7.24 from 'canonical' installed sudo canonical-livepatch enable my_TOKEN_here ...
Ivan Nikolaev's user avatar
1 vote
0 answers
2k views

No space left on device /tmp

I know this has been asked serval times, but my issue is a little bit different as I do NOT have a /tmp ramdisk nor a mountpoint. on the / I have 15G free. The file I try to write is just 9kb. ...
Nullx8's user avatar
  • 11
1 vote
1 answer
510 views

Is it possible to make a folder/partition of RAM and sync it with persistent storage automatically, periodically?

I want to have one folder in which I will store data which needs to be queried as fast as possible and the disk makes me wait a lot even it is SSD. On the other hand I have to store it permanently. I ...
daffr32's user avatar
  • 13
2 votes
0 answers
481 views

/run mount keeps filling up

i have some weird issue where the /run mount keeps filling up. Eventually it will reach 100% and stuff starts to malfunction, up untill i reboot. root@nasnvt:/run# df -h Filesystem Size ...
tomvda's user avatar
  • 121
0 votes
1 answer
648 views

Too much space occupied by several filesystems

Here is the output of the df -h command on my recently set up Ubuntu 16.04.01 df -h Filesystem Size Used Avail Use% Mounted on udev 3,9G 0 3,9G 0% /dev tmpfs 790M 9,...
pkaramol's user avatar
  • 2,111
7 votes
1 answer
12k views

How do I increase size of per-user tmpfs partition /run/user/$(id)?

Fresh installation of Ubuntu 16.04. File /etc/fstab contains no references to /run/user/... mount prints ... tmpfs on /run/user/115 type tmpfs (rw,nosuid,nodev,relatime,size=1612068k,mode=700,uid=...
wl2776's user avatar
  • 233
1 vote
1 answer
2k views

Ramdisk / tmpfs which does not remove subfolders and symbolic links on reboot

I created a temporary harddrive which uses the system memory (ramdisk) with these commands: sudo mkdir -p /media/ramdisk sudo mount -t tmpfs -o size=2048M tmpfs /media/ramdisk After that i created a ...
Sambir's user avatar
  • 23
0 votes
2 answers
3k views

What is terminal command line that tells me where system has assigned TMPDIR?

I want to type a command in an Ubuntu 15.10 terminal, that will tell me what folder is being used as the "temporary" folder. Is there one? Tx for any comments.
OldGrampa's user avatar
  • 139
2 votes
1 answer
3k views

Make Ubuntu 16.04 "live" (read-only with read/write layer)

I want to set up Ubuntu 16.04 like a live CD. This worked great in Ubuntu 12.04 but with 16.04 there are problems. Services are crashing, CRON doesn't work, X doesn't work, I can't even login to the ...
Michael's user avatar
  • 371
2 votes
0 answers
302 views

Edit Aufs Tmpfs partition size

I followed this instruction https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash to create a aufs RAMDISK for my xubuntu. It creates a 512MB Filesystem. SO, HOW CAN I CHANGE THAT SIZE FOR ...
Ted Mosby's user avatar
1 vote
1 answer
72 views

Is it possible to make all files in a dir be always created as symlinks to /dev/null or ignore all writes to them in other way?

I always redirect unneeded logs that are always stored under one name to /dev/null by symlinking. But some applications create directories with files named, for example, by date. I do not want to ...
int_ua's user avatar
  • 8,554
0 votes
1 answer
3k views

use tmpfs for mounting ~/.cache directory

I am using Ubuntu 15.04, my home partition is encrypted. I was trying to use tmpfs for .cache directory . But don't know why its not working. Here is my fstab tmpfs /var/log/ tmpfs defaults,noatime,...
pyprism's user avatar
  • 377
1 vote
0 answers
526 views

Preloading Files

I want to pre-load some Files / Programs into the memory, ram, cache to open / access them faster. I already tried creating a tmpfs, ramfs System https://wiki.ubuntuusers.de/RAM-Disk_erstellen (Sorry ...
hypnomaki's user avatar
  • 111
-2 votes
1 answer
99 views

Go back to windows

How can I go back to Windows? I installed Ubuntu using wubi. Then I selected Ubuntu 14.04 as default os. Now I have to unistall it and install it from a cd or usb. The problem is that my pc starts ...
Ferdinand Miranda's user avatar
5 votes
2 answers
8k views

No /var/log/syslog file after moving /var/log to tmpfs

To avoid useless write to my SSD I've moved /var/log (and /tmp) to RAM via /etc/fstab: cat >> /etc/fstab <<'EOT' tmpfs /tmp tmpfs defaults,size=1g ...
CDuv's user avatar
  • 151
1 vote
0 answers
230 views

Problem with booting ubuntu 14.10 when using tmpfs for /tmp

I was following the recommendation on this page: http://yktoo.com/en/blog/post/id/233 Apparently when I put my /tmp to tmpfs then the system cannot boot. It seems that the booting runs into some loop ...
teodor's user avatar
  • 11
0 votes
2 answers
1k views

SSD is always running out of room

Today I opened my laptop to find the message: Failed to write file '/home/chris/.cache/xfce4-notifyd-theme.rc.TF9RSX': write() failed: No space left on device displayed on all workspaces. I googled ...
user avatar
5 votes
1 answer
960 views

How to Setup tempfs/RAM Disk (Generally and for LuaLaTeX)?

I've spent the past several hours (not few, several!) reading different pages and questions on how to setup a tmpfs/RAMDisk. They all say different things and say what filesystems I should and shouldn'...
airatin's user avatar
  • 51
0 votes
1 answer
5k views

Why can MySQL not use /run/shm as tmpdir?

I read that using RAM for MySQL's temporary tables should improve performance. I tried to create /etc/mysql/conf.d/local.cnf with the contents: [mysqld] tmpdir = /run/shm But restarting mysql fails, ...
Arild's user avatar
  • 455
0 votes
1 answer
498 views

Is there any software application for Ubuntu like RAMDisk by Dataram?

Currently I create a ramdisk in Windows7 by using this RamDisk software by DataRam that has the ability to save RamDisk virtual disk image on shutdown and restore on Windows startup and sync data to ...
Sam's user avatar
  • 111
4 votes
1 answer
2k views

anacron not working

I have a clean install of Xubuntu 14.04 32-bit, and anacron doesn't seem to be working. I read that it's better to use a cron job to trim SSDs, and that Ubuntu has a cron job to do that, so I removed ...
Dominic's user avatar
  • 51
1 vote
0 answers
914 views

What can be moved safely to tmpfs in 14.04?

I installed Ubuntu 14.04 on my laptop with SSD and 8gb RAM. What can be moved safely to tmpfs(and how to do it correctly, i'm mediocre in linux)? I don't know is it important or not, I mounted ...
Hozuki Ferrari's user avatar
2 votes
3 answers
2k views

Why isn't the dist-upgrade showing up in update-manager?

Ubuntu 14.04 was released on 17 April 2014, and today it is already the 18th. Why isn't the distribution showing up in my ubuntu update-manager? (I have set it so it will anounce every new version) ...
rubo77's user avatar
  • 32.4k
0 votes
1 answer
1k views

mysql error : Incorrect key file for table '/tmp/#sql_5115_0.MYI

Query failed by reason : Incorrect key file for table '/tmp/#sql_5115_0.MYI i read that it may be realted to disk space issue but i ma not sure how that is as df -h returns Filesystem Size ...
Desi's user avatar
  • 1
0 votes
2 answers
2k views

ramdisk not in ram (ubuntu 12.04)

I followed this post to create a ramdisk. After that, when I copy a file to the directory, the file was copied, but memory usage as shown in gnome-system-monitor does not increase. Also, I tried ...
shaoyl85's user avatar
  • 103
0 votes
1 answer
2k views

freshclam not working because clamav folder in /var/log and /var/log is in ramdisk

I was looking for this on the web but since English is not my primary language it seems that I can not find what I want, that is why my question is here... Intro: I have an SSD and I did some ...
Zalom's user avatar
  • 103
1 vote
1 answer
4k views

TMPFS for /var/cache

When I use the TMPFS set for /var/cache and I reboot the computer and then once the computer has booted back into the Ubuntu 13.10 and login and goto run the Ubuntu Software Center it loads for about ...
Dltzone's user avatar
  • 11