The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
27 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
0answers
76 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 ...
0
votes
0answers
42 views

Store data on RAM to save loading time

I have large amount of data (about 3 Gb) which needs to be interpreted by Python. Because I don't have any SSD, but large (~50 Gb) amount of RAM, I tried to save data on /dev/shm or tmpfs, but it ...
0
votes
0answers
28 views

Run an application from ramfs/tmpfs

I am developing a python plugin for an application (QGIS) and to see certain changes reflected I have to reclose and reload QGIS. It is getting quite tiresome staring the QGIS splash screen. If the ...
2
votes
0answers
61 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 ...
0
votes
0answers
22 views

Unable to use tmpfs files in website

I have uploaded files in tmpfs by following command: cp -af /var/www/html/assets/js/plugins.js /dev/shm I verified it using : df -h /dev/shm But how can I use this file in my website? When I ...
1
vote
0answers
29 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
223 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
73 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
39 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 ...
3
votes
2answers
2k 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
184 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
280 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
263 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
1k 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
343 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
941 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
805 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 ...
1
vote
3answers
673 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
813 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
615 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
1k 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
856 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. ...
0
votes
0answers
25 views

Running Ubuntu in USB but with a lot of RAM; how to run program from RAM? [duplicate]

I installed Ubuntu on a usb drive and run it with my laptop, which has over 10GB of ram. The system is rather slow. I would want to run some major programs like Chrome directly from RAM instead of the ...
3
votes
0answers
108 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
727 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 ...
1
vote
0answers
540 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
245 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
3k 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
394 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 ...
3
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 ...
48
votes
1answer
80k 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
939 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
1k 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 ...
2
votes
1answer
452 views

How to decompress 20GB of files; tmpfs keeps filling up

I need to decompress huge files when I upload them into a software and it is failing. I thought the problem was with tmpfs. Then I decided to use /tmp as tmpfs, but still failing. I can upload files ...
4
votes
2answers
2k views

Mount /usr in RAM (loading from HDD when starting, and saving to when shutting down)

I have the current scenario: 16GB or RAM. For the most part, around 10~12GB unused Almost never install/remove software, this is a mature system Only reboot like once a week, so (re-)boot time is ...
5
votes
2answers
3k views

large tmpfs /run partition - must it be so big?

I am running Ubuntu 11.10 desktop on a couple of 8G RAM Wintel boxes. Both have been created automatically by the default installer with a 1.6GB tmpfs /run partition, where I suspect this amount of ...
8
votes
2answers
7k views

How do I set the default size of /dev/shm?

I'd like to change the default size of /dev/shm in Lubuntu 11.10 (also known as /run/shm now, I guess). It doesn't seem to appear in my fstab: # / was on /dev/sdb5 during installation UUID=66ac63f0-...
0
votes
2answers
1k views

Moved logs to ram (tmpfs) and now got this problem

I have installed ubuntu server on flash and have done a few things to minimise writes to disk. One of the things I have done is to direct a number of directories to ram via tmpfs. You can see how I ...
6
votes
2answers
2k views

How can I make an existing persistant live USB installation load more of the OS to RAM?

A while back I installed (a permanent installation, not a Live USB) Ubuntu on my USB thumb drive. Unfortunately, the transfer rates are too slow for a smooth and responsive experience, so I'd like to ...
13
votes
3answers
12k views

Why doesn't /tmp use tmpfs?

I have loads of RAM and I use very little. I also do record some screencasts with gtk-recordmydesktop, which by default saves to /tmp while recording. I assumed that it would mean storing to RAM as ...
3
votes
1answer
1k views

Save changes to filesystem in RAM, save to HDD on shutdown

This question is in continuation to this question. I download a lot of small files (a few MBs) which I delete after being done with them. So can I make it that all changes to be saved to my filesystem ...
3
votes
2answers
791 views

TMPFS Available space does not equal size

I have a quick question. I have a 64bit Ubuntu 10.04 server with 24GB of RAM and is used as a VMWare Workstation 7.1 host. I would like to use an in-memory drive for the VM Memory location, which I ...
1
vote
1answer
344 views

are there any issues creating a tmpfs mount when my root partition is a RAID5 array

I have a new Ubuntu 11 server install created per the wiki with the following partitions: md1 : active raid5 sdc5[2] sda5[0] sdb5[1] 1935813632 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/...
4
votes
2answers
5k views

How to configure Shutdown tasks?

I have a shell script I'd like to run automatically every time I logout, shutdown or reboot. Does anyone know where can I configure this in Ubuntu 10.10?
6
votes
2answers
2k views

tmpfs vs. ext4 ramdisk

I would like to know which of both is faster; a tmpfs or a ext4 ramdisk. If someone knows a good way to benchmark disk perfomance on ubuntu, I will gladly do the test myself and post the results.
4
votes
1answer
3k views

Moving files to /dev/shm ramdisk doesn't increase RAM usage?

I've been wanting to make us of a ramdisk on my Ubuntu system for a while, and have done a bit of reading online. Most of the advice centres around using /dev/shm to move files into RAM. I wanted to ...
1
vote
1answer
818 views

What is the default file system of /var/run, /var/lock

Trying to figure out if my /var/run is using disk or not. See the command output: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-root 40G 15G 26G 36% / none ...
15
votes
2answers
10k views

How to create RAM drive?

How do i create RAM drive under ubuntu. And would he automounted at startup?