Questions tagged [tmpfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
38 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,...
1
vote
1answer
585 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?
1
vote
0answers
70 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 ...
1
vote
0answers
56 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-...
0
votes
0answers
19 views

How to save more space?

I have my server running and notice that my disk space accumulated overtime below is the list of usage: node@server:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G ...
2
votes
1answer
278 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 ...
0
votes
0answers
108 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 ...
4
votes
1answer
3k 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 ...
1
vote
1answer
397 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 ...
0
votes
0answers
137 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 /...
0
votes
1answer
589 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 ...
1
vote
1answer
291 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 ...
2
votes
0answers
363 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 ...
1
vote
0answers
955 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. ...
1
vote
1answer
115 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 ...
2
votes
0answers
375 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 ...
0
votes
1answer
319 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,...
6
votes
1answer
6k 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=...
1
vote
1answer
910 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 ...
0
votes
2answers
526 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.
1
vote
1answer
2k 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 ...
2
votes
0answers
225 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 ...
1
vote
1answer
58 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 ...
0
votes
1answer
2k 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,...
1
vote
0answers
199 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 ...
-2
votes
1answer
64 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 ...
4
votes
2answers
6k 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 ...
1
vote
0answers
221 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 ...
0
votes
2answers
744 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 ...
4
votes
1answer
711 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'...
0
votes
1answer
4k 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, ...
0
votes
1answer
458 views

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

Currently I using ramdisk in windows7 by using http://memory.dataram.com/products-and-services/software/ramdisk. Update: RamDisk software by DataRam has the ability to save RamDisk virtual disk ...
4
votes
1answer
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 ...
1
vote
0answers
865 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 ...
2
votes
3answers
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) ...
0
votes
1answer
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 ...
0
votes
2answers
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 ...
0
votes
1answer
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 ...
0
votes
1answer
3k 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 ...
0
votes
2answers
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. ...
3
votes
0answers
125 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 ...
1
vote
2answers
1k views

Increase /tmp folder space using external drive

Using Ubuntu 12.04 precise pangolin, 32 bit on 6GB partition I don't have much space left on my HDD, so I installed ubuntu on a partition of just 6GB. Everything was working fine. I decided to have a ...
2
votes
0answers
955 views

Device is busy error when trying to unmount tmpfs home area

I have been trying to get pam_mount to mount a tmpfs drive for domain users, so that it is volatile storage and is cleared on every logout. The problem I found was that although the area would mount ...
0
votes
1answer
307 views

Are there adverse effects from (or a better way than) writing to /run or /dev/shm to protect temporarily unencrypted data?

I am having trouble finding an answer to a question about protecting unencrypted data. I run Ubuntu 12.04. Although I'm not sure that it's relevant, I'll also mention that I use an encrypted home ...
2
votes
3answers
4k views

Postfix and tmpfs for /var/spool

My main disk is an SSD so in order to preserve its lifetime by reducing writes I followed some advice and made /var/spool a ram disk by adding this line to /etc/fstab: tmpfs /var/spool tmpfs ...
1
vote
2answers
483 views

What happens to remounted data/directories

According to suggestions in this post I am trying to improve my system to run better with a Solid State Drive. But regarding to RAMdisks and /etc/fstab usage I have some understanding problems coming ...
4
votes
1answer
2k views

Free space in tmpfs partition not adding up

I have had my /tmp/ partition filling up recently when it should not be anywhere near full. On further investigation, I found that the partition was listing free space a lot lower than it should be. I ...
92
votes
2answers
153k views

How can I use RAM storage for the /tmp directory and how to set a maximum amount of RAM usage for it?

After seeing the comment by Anonymous on the question How is the /tmp directory cleaned up?, I found that it would be a great idea to implement on my system, since I have 16GB of RAM and I never used ...
2
votes
1answer
1k views

How to use `chown` and `chmod` to make a “pipe” or “pass through” link from guest directory to elsewhere

I want to either extend the size of my guest partition or figure out how to copy stuff from the guest partition to my normal /home directory. (Because of some other problems I can only run Xorg as ...
1
vote
1answer
2k views

Does using both tmpfs and zram make any sense?

I wondered if tmpfs and zram do negatively interfere with each other in any way? After what I've read about it I'm unsure whether there is a positive cumulative effect accomplishable with that ...