Skip to main content

Questions tagged [tmpfs]

Filter by
Sorted by
Tagged with
-1 votes
1 answer
103 views

I find it peculiar, that I could not execute binaries / scripts on my new RAMdisk (tmpfs). 1) tmpfs /ramdisk tmpfs exec,size=3G,noauto,sync,user,rw,x-gvfs-show,x-gvfs-name=RAM 0 0 versus 2) ...
Vlastimil Burián's user avatar
-1 votes
1 answer
139 views

I created an AWS EC2 instance, and I am using the EC2 instance to maintain a database. I'm currently trying to perform some post-processing on my database (by quering my database in batches), but this ...
Joey's user avatar
  • 107
0 votes
0 answers
140 views

I know my title is a little bit convoluted so let me explain what I'm doing here in more detail. I am using a ephemeral root setup on my machine, essentially meaning that my / mount is a tmpfs and ...
Frontear's user avatar
2 votes
1 answer
235 views

Using unshare -Umr I created a new user, mount namespaces where the calling process is moved into. Then via mount -t tmpfs tmpfs / I mounted a new tmpfs instance on the root / of the directory tree ...
CarloC's user avatar
  • 385
0 votes
0 answers
27 views

In RHEL 7 and later as well as other Linux distributions, systemctl enable tmp.mount makes the /tmp folder a tmpfs (a temporary file system). In RHEL 8.10 for example, by default those parameters are ...
ron's user avatar
  • 9,184
1 vote
1 answer
452 views

My systemd linux systems show several tmpfs directories (/run, /dev/shm, /run/lock and on my raspberry also /sys/fs/cgroup). Alas, I cannot find where these top directories are created. I know that ...
user333869's user avatar
1 vote
1 answer
2k views

I haven't seen these tmpfs /run/credentials ... listed mounts in my df output before. What's it about :> df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.0M 0 1....
Stephen Boston's user avatar
9 votes
0 answers
1k views

I have installed and updated Debian testing yesterday, and now I see several files on tmpfs: df -h Sist. Arq. Tam. Usado Disp. Uso% Montado em udev 16G 0 16G 0% /dev tmpfs ...
Challado's user avatar
  • 109
0 votes
1 answer
79 views

As in the title, I'm looking for a user accessible directory that is guaranteed to be tmpfs. /tmp is not even guaranteed to be wiped between reboots, so it's out. /run is guaranteed to be tmpfs, and ...
jaskij's user avatar
  • 200
1 vote
1 answer
3k views

I have a server (Ubuntu 22.04) which has a tmpfs partition mounted at /tmp. The server only reboots for security updates, so I can't rely on reboots to clear out /tmp. systemd-tmpfile is using default ...
QF0's user avatar
  • 391
0 votes
1 answer
118 views

TLDR; If /tmp in mounted as tmpfs, in the presence of swap, is there any kind of priority when swapping ? Does tmpfs start to swap before applications ? FULL STORY I have a laptop with 32G of RAM (...
ChennyStar's user avatar
  • 2,019
-1 votes
1 answer
874 views

Profile-sync-daemon can be installed in Debian based systems with sudo apt install profile-sync-daemon and in Arch based systems with sudo pacman -S profile-sync-daemon, but it lacks native support ...
H2onvety's user avatar
  • 143
0 votes
0 answers
321 views

I have just been bitten by a PID file problem in a (Debian) Docker container that is configured as --restart always Trying to summarize the problem: I start the apache2 service in my container. The ...
rems4e's user avatar
  • 115
2 votes
1 answer
884 views

I am trying to cache CIFS share files on a ramdisk with cachefilesd, however cachefilesd requires the cache directory filesystem to support user_xattr. tmpfs does not by default. Is there any way to ...
kataba's user avatar
  • 21
1 vote
1 answer
624 views

I was considering making /var/tmp a tmpfs mount, similar to systemctl enable tmp.mount in order to meet a security rule requesting /var/tmp be on a separate partition. I did not make that physical ...
ron's user avatar
  • 9,184
0 votes
2 answers
1k views

I've observed that I can create a shared memory object and give it ostensibly any size with ftruncate, regardless of the resource limits on my system. The code below sets the size to 262 TB, and ...
bgfvdu3w's user avatar
  • 115
4 votes
2 answers
3k views

I have 24 GB RAM and a 8 GB swapfile. I know that under Arch Linux there's /dev/shm that uses tmpfs but I want to create a ramfs mount point because I want a place where I can temporary store ...
Dean's user avatar
  • 143
1 vote
1 answer
856 views

I’m running AlmaLinux 9.2 (systemd v.252) on a small embedded(-ish) system, where I like to keep a lot of stuff in /run. When I was using CentOS7.x this was on the order of 1.5G, and I never really ...
Popup's user avatar
  • 714
2 votes
1 answer
657 views

I want to allow users to be able to make temporary changes such as create files and directories, but have all those changes removed after rebooting. This should apply to everywhere in the file system. ...
Jon's user avatar
  • 23
0 votes
1 answer
865 views

When Linux boots, does it first read fstab and mount everything from it, or does it start systemd before that? I expect that fstab comes first, but I didn't know how to confirm it. So, even if you ...
cnikbesku's user avatar
  • 224
0 votes
1 answer
998 views

I have read this question, but it discusses syslog and my question is about journald. Can I mount /var/log/journal as tmpfs using fstab, or will journald be run (and therefore maybe write to the ...
cnikbesku's user avatar
  • 224
1 vote
2 answers
1k views

I am looking for advice about logrotate. I have recently installed log2ram to spare my ssd. Since I was not using all 24Gb RAM I assigned 2Gb to /var/log/. currently +- 300Mb is used. I would like ...
Vincent Stans's user avatar
0 votes
0 answers
2k views

I am on Ubuntu 20.04 and installed evince via flatpak, when I open evince, it usually makes a copy of the opened file into /run/user/1000/doc. I learned that /run/user/1000/doc is the temporary ...
Simon.Zh.1234's user avatar
5 votes
2 answers
13k views

To have /tmp on tmpfs, I know I can use an entry in /etc/fstab, but I do not understand the role of /etc/default/tmpfs mentioned sometimes, and in what case I need to create or modify it. Recently, I ...
Alexey's user avatar
  • 2,380
3 votes
0 answers
93 views

I am experimenting with testing GCC in parallel. My setup will run 96 tests before giving me the test report. If I run these tests sequentially it will invoke GCC once, run the executable, gather ...
Rewbert's user avatar
  • 131
0 votes
1 answer
7k views

when I use lsof as regular user, I get following warnings: lsof: WARNING: can't stat() tmpfs file system /home/testuser/.cache testuser is another user on my systems, and my own user has no access to ...
Martin Vegter's user avatar
0 votes
1 answer
182 views

I wrote simple SystemD service for Raspberry Pi, which collects some data and writes it temporarily to /run/user/1000 It worked, but on reboot I found, that this directory doesn't exist until user ...
Dims's user avatar
  • 3,485
0 votes
1 answer
301 views

I tried doing mandatory mount using the following the command mount -t tmpfs -o mand,size=1m tmpfs ./FileLockFail/ Now when I am trying to copy a folder to the mounted directory, its giving me error ...
Himanshuman's user avatar
0 votes
0 answers
568 views

How do I recover files from a tmpfs? Some people say to use Volatility, but Python 2 Volatility doesn't have any Linux modules, and I don't see where to do file recovery in the Python 3 Volatility ...
Geremia's user avatar
  • 1,250
2 votes
1 answer
4k views

I am setting up a RAM disk in CentOS 7, and by all tutorials, I am able to see the speed increase of writing to the disk. However I never see RAM usage increase either from free -h or from the System ...
J Collins's user avatar
  • 1,205
2 votes
1 answer
14k views

on RHEL/CentOS 7.9 there is by default tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel) A security rule says that it must be mounted with the secure options of nosuid, nodev, and noexec. Why ...
ron's user avatar
  • 9,184
0 votes
2 answers
4k views

I'm new at Linux and I will get use of your help guys on this.. I want to increase the size of /tmp directory without affecting RAM or anything else on Red Hat 8.2 .. any suggestions to do that? ...
Kai Mo's user avatar
  • 1
0 votes
0 answers
343 views

Question: why are there both disk reads and writes when I create or delete files on a tmpfs? The tmpfs is mounted with mount -t tmpfs -o size=1G tmpfs "/SCRATCHSPACE" in /etc/rc.local (add ...
ddlfmbqrc's user avatar
0 votes
1 answer
587 views

I have a 64GB DDR4 3200MHz memory installed on my PC. When I run sysbench, I get the following results: # sysbench memory --memory-block-size=1M --memory-total-size=10G run sysbench 1.0.20 (using ...
Diogo Melo's user avatar
1 vote
1 answer
390 views

I've made the mistake of mounting the /tmp directory as a btrfs subvolume. The problem is that systemd-tmpfiles won't clean it. How can I delete the /tmp subvolume and fix this? I'm new to filesystems,...
Vinícius Gonçalves de Oliveira's user avatar
0 votes
1 answer
617 views

Debian 11 Bullseye pc, systemd, no display manager, startx is used to start X, multiple users. When I login with a user, let's say auser-UID 1000, I see this on process list: USER PID %CPU %MEM ...
Krackout's user avatar
  • 2,897
0 votes
0 answers
173 views

I have a virtual machine (CentOS) that was pre-configured (I didn't partition them) and I have some of my work on it. When I got access to the VM, it had very less storage space, and it isn't ...
thatbangaloreanguy's user avatar
0 votes
0 answers
25 views

I use a script to mount a temporary directory: sudo mount -t tmpfs -o size=5G,nr_inodes=10k,mode=0777,user tmpfs tempdir The script is runned from dozens directories, that probably means that I can't ...
NickKolok's user avatar
  • 101
3 votes
2 answers
2k views

I'm facing fatal errors since 2 weeks in my Ubuntu 20.04. Suddenly, my Chrome, my Visual Studio Code and my Teams app, stop working. They freeze, and I must restart my computer. This happens ...
Marc Gil Sendra's user avatar
1 vote
0 answers
2k views

Good night! I am trying to figure out what is happening with my /run directory! If I look at /run size using df -h | grep tmpfs it returns something like: tmpfs 10G 10G 0 *...
Luciano Andress Martini's user avatar
0 votes
1 answer
3k views

the following folder --> /var/run/kafka , include the PID number of the kafka service example ls -ltr /var/run/kafka/kafka.pid -rw-r--r-- 1 kafka hadoop 7 Nov 10 14:14 /var/run/kafka/kafka.pid ...
yael's user avatar
  • 14k
0 votes
0 answers
181 views

I would like to mount my pendrive (/dev/sdc1) under /tmp/my_dir. I used the following command: sudo mount -t tmpfs /dev/sdc1 /tmp/my_dir. I got no errors from mount command. When I check all my ...
tom654321's user avatar
1 vote
0 answers
605 views

Reading different (1.6 GB) blocks of the same file stored on tmpfs maxes out at 2.5GB/s at around 20 threads: But if the same blocks are split into different files on tmpfs I can get 22GB/s: What is ...
Ole Tange's user avatar
  • 37.6k
6 votes
1 answer
9k views

Background: On my system /tmp is a regular part of the / partition and I use it for a few important features of the system. Current systemd Approach: On new systems systemd has started to take over ...
Ned64's user avatar
  • 9,296
0 votes
1 answer
375 views

I have a process that is using tmpfs and I need to know, out of many tmpfs, which one is getting full. Is there a way to do that after a nightly process has failed due to 'out of memory' errors? ...
tale852150's user avatar
2 votes
3 answers
6k views

I just unmounted cgroup version 1, leaving just a single cgroup2 mount on my system. $ mount | grep -i cgroup tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=...
Evan Carroll's user avatar
  • 35.2k
0 votes
1 answer
3k views

Since it's possible to create a RAM disk via tmpfs, and make it permanently available via /etc/fstab, what would happen if you had a post-boot script that created a swapfile on your freshly-minted RAM ...
warren's user avatar
  • 1,930
1 vote
2 answers
5k views

I'm working on a Linux-like operating system for aarch64, based on a 5.6.4-v8+ kernel for Raspberry Pi 3 (Model B+). The Kernel configuration options include: CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y ...
Daniel G.'s user avatar
0 votes
1 answer
2k views

I have expanded root volume in my Amazon ec2 machine (Amazon Linux 2) but the space in tmpfs and devtempfs is still limited. Here is what output of df -h command looks like: $ df -h Filesystem ...
systemdebt's user avatar
4 votes
0 answers
305 views

I have an issue that seems to hit all the restrictions I have read about regarding tmpfs. I would be very happy to hear anyone's comments on a possible solution. I have an application that generates a ...
Aidan Walton's user avatar

1
2 3 4 5