Questions tagged [tmpfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 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 ...
user avatar
1 vote
0 answers
176 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 ...
user avatar
  • 201
0 votes
0 answers
64 views

When I use RAM storage for the /tmp directory some programs failed to run, how to solve the issue?

I use the solution provided in https://askubuntu.com/a/173294/ to use RAM storage for the /tmp directory: code 1: tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0 But ...
user avatar
  • 141
0 votes
1 answer
521 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, ...
user avatar
13 votes
2 answers
3k 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 "...
user avatar
  • 89.5k
3 votes
1 answer
2k 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 ...
user avatar
6 votes
2 answers
8k 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@...
user avatar
  • 63
0 votes
0 answers
240 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 ...
user avatar
  • 101
5 votes
0 answers
724 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 ...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
  • 373
0 votes
0 answers
410 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
7k 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
0 answers
159 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 ...
user avatar
  • 126
1 vote
0 answers
201 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-...
user avatar
2 votes
1 answer
699 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 ...
user avatar
0 votes
0 answers
309 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 ...
user avatar
9 votes
1 answer
14k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
0 answers
233 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 /...
user avatar
0 votes
1 answer
953 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 ...
user avatar
  • 768
1 vote
1 answer
781 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 ...
user avatar
3 votes
1 answer
863 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 ...
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. ...
user avatar
  • 11
1 vote
1 answer
207 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 ...
user avatar
  • 13
2 votes
0 answers
454 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 ...
user avatar
  • 121
0 votes
1 answer
506 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,...
user avatar
  • 1,841
7 votes
1 answer
10k 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=...
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 ...
user avatar
  • 23
0 votes
2 answers
2k 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.
user avatar
  • 129
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 ...
user avatar
  • 351
2 votes
0 answers
277 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 ...
user avatar
1 vote
1 answer
60 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 ...
user avatar
  • 8,090
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,...
user avatar
  • 337
1 vote
0 answers
421 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 ...
user avatar
  • 111
-2 votes
1 answer
96 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 ...
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 ...
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 ...
user avatar
  • 11
0 votes
2 answers
977 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
4 votes
1 answer
874 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'...
user avatar
  • 41
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, ...
user avatar
  • 455
0 votes
1 answer
477 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 ...
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 ...
user avatar
  • 51
1 vote
0 answers
900 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 ...
user avatar
2 votes
3 answers
1k 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) ...
user avatar
  • 30k
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 ...
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 ...
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 ...
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 ...
user avatar
  • 11
0 votes
2 answers
1k views

How to fix anacron & cups-pdf when you have /var on tempfs

I have a ssd drive in my laptop and I followed various advice that said to put /var/log /var/spool & /var/cache on a tmpfs so that the constant read/writes wouldn't lessen the life of my ssd. ...
user avatar
3 votes
0 answers
135 views

Hiding a 'removable device'

I have my downloads folder mounted as a tmpfs, achieved by putting this line into fstab: tmpfs /home/sam/Downloads tmpfs defaults,noatime,mode=1777 0 0 However, one unfortunate side effect is that ...
user avatar
  • 1,703