Questions tagged [tmpfs]

69 questions
0
votes
1 answer

tmpfs changes size on restart

I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm, the size will correct itself to 1G. But it'll revert the next time the server is…
ben
  • 189
  • 1
  • 1
  • 8
0
votes
1 answer

Very Slow tmpfs Read/Write speeds

I have attempted to use a tmpfs to speed up some heavily accessed files. I wanted to test the read and write speeds of both the HDD its self and a tmpfs. My results where strangely low for what I was expecting: dd if=/dev/zero…
Zac Fryle
  • 1
  • 2
0
votes
3 answers

Linux tmpfs having no effect on performance!

In order to speed up JBoss startup and use, I copied the contents of my dir to a big enough tmpfs 'disk'. With this, I was expecting significant speedup. However, to my surprise, I saw not one bit improvement - neither in startup time,…
Harry
  • 403
  • 1
  • 5
  • 12
0
votes
1 answer

Create a /tmp partition that uses filesystem type of tmpfs in kickstart?

I'm writing a kickstart script to use when PXE booting to automatically configure new systems with basic settings. I've got everything working except for the partitioning of the boot drive: my /tmp directory is under my / (root) partition instead of…
enpaul
  • 202
  • 2
  • 13
0
votes
1 answer

Clarification on understanding Linux disk usage with df and how tmpfs should be assessed

I have searched serverfault, SO and other sites but could not find a clear answer. I have done some reading on the basics of Linux storage and filesystems, but I'm still unclear about how to solve my problem. My aim is to do a simple assessment of…
rc1
  • 103
  • 2
0
votes
1 answer

systemd tmpfs shadow directory -- copy to/from ram and back when (u)mount-ing

I'd like to keep some directories (e.g. /var/cache/apt, /var/lib/apt/lists, user browser caches or even Mozilla profiles) in RAM, but still backed by disk. The files should be copied to RAM when mounting and copied back to disk when umounting. Short…
usretc
  • 101
  • 1
-1
votes
1 answer

Volatile Linux with a huge tmpfs and swap partition

I want to deploy Linux on user computers in a way state is never preserved between boots (except state saved explicitly by users on external removable devices). System image will be stored on a read-only removable media and possibly network. All my…
-1
votes
1 answer

Is there a way to make /tmp mounted as tmpfs to use only swap?

I have a swap of 64 GB SSD. So is there a way to make /tmp mounted as tmpfs to use swap alone and not use RAM?
nitins
  • 2,579
  • 15
  • 44
  • 68
-1
votes
1 answer

TMPFS Available space does not equal Size of drive

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 setup as the following: tmpfs /mnt/vmware tmpfs…
thiesdiggity
  • 437
  • 1
  • 9
  • 22
1 2 3 4
5