The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
16 views

Mount disk with write permissions but leave it untouched

I have a raw image that I would like to mount to my system (Ubuntu 12). The problem is that I don't want to write anything to the disk itself, so the raw image will stay as it was before mounted. I ...
0
votes
0answers
11 views

Looking for a tiered cache solution for data logger

I have a Ubuntu14.04 serving as a traffic logger. Currently, the data are being written to a Ramdisk, and then later synced to a hardware storage. I'm curious if there's a software solution that will ...
0
votes
0answers
63 views

ramfs not using ram

Currently I am trying to improve performance of a server by putting files into a RAM disk to improve access time. Unfortunally Ubuntu seems not to really use the RAM, instead it still uses HDD space. ...
1
vote
1answer
238 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 ...
0
votes
1answer
117 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
329 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
521 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 ...
0
votes
0answers
160 views

What happens after /tmp reaches the limit of tmpfs

Imagine this is the configuration in /etc/fstab (/tmp directory uses tmpfs wih maximum size of 10M). none /tmp tmpfs noatime,nodiratime,size=10m 0 0 I want to know what exactly ...
1
vote
3answers
377 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
478 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
329 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
188 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
772 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
500 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
24 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
96 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
505 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
358 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
181 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
2k 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
335 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 ...
2
votes
1answer
1k 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 ...
27
votes
1answer
36k 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
731 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
980 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
377 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
1k 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 ...
4
votes
2answers
2k 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 ...
7
votes
1answer
5k 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 ...
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 ...
5
votes
2answers
1k 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 ...
9
votes
3answers
9k 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
952 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
616 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
317 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 ...
4
votes
2answers
3k 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?
5
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
2k 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
729 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 ...
14
votes
2answers
9k views

How to create RAM drive?

How do i create RAM drive under ubuntu. And would he automounted at startup?
4
votes
2answers
597 views

tmpfs for cowbuilder builds? [closed]

I'm a packager, so I often need to use cowbuilder or pbuilder to build packages either for my own use or when I'm sponsoring somebody elses' work. On my laptop, my disk isn't the fastest in the ...