Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ramdisk]

The tag has no usage guidance.

0
votes
2answers
45 views

Can a script unmount the volume containing itself?

I have a computer with a hard drive mounted read-only. I am running a script from a flash drive. I would like the script to be able to unmount the flash drive, but this can't be performed as the ...
0
votes
2answers
27 views

Can I create a virtual network and place its configuration file outside of etc directory?

For some reasons, I need a temporary interface where its configuration file will exist only on a ram drive, so it will be removed if the power goes off. Is it possible? How?
2
votes
1answer
317 views

can a full ram-disk cause swapping?

I have a application that is using /opt/otrs/var/tmp for caching a lot of temporary data. The vendor suggest that one option could be also to put this directory on a ramdisk (If you have enough RAM). ...
2
votes
1answer
385 views

Generate bootable ELF from bootloader, kernel, device tree, ramdisk

I'm new to Linux Kernel programming, and am pretty stuck with (what I think is) the last step in building my bootable image. For some background, we are trying to upload a complete OS image onto the ...
2
votes
1answer
402 views

Tmpfs with overflow on disk?

I'm looking for a way to have a tmpfs-like file system that can be unlimited in size, but will use a specified amount of RAM after which the "oversize" data will be stored on another disk-backed ...
1
vote
1answer
1k views

Is there ramdrive on AWS EC2 instance by default?

I found my df command says the following: $ df Filesystem 1K-blocks Used Available Use% Mounted on udev 31428656 0 31428656 0% /dev tmpfs 6288016 9136 ...
1
vote
1answer
825 views

Kernel's cached memory can't be freed, even dropping caches

All host's memory is cached and there's no way it can be freed. /dev/ram1 is used for storing testing files, but after each build we run freeramdisk. $ freeramdisk /dev/ram1 $ echo 3 > /proc/sys/...
0
votes
1answer
575 views

Under guest virtual machine, Debian hangs when loading initial ramdisk

I am new to Linux, and recently installed Debian 8 to a guest virtual machine running under Virtual Box on a Windows 8 laptop (Asus x552cl). When I try boot up the Debian system, the virtual machine ...
0
votes
1answer
278 views

Attaching a phram mtd0 device to gadget serial mass storage

I'm using a Atmel SAMA5D3, I have created two phram devices /dev/mtd0 and /dev/mtd1 I am trying to attach them to a gadget mass storage module. insmod g_acm_ms.ko file=/dev/mtd0,/dev/mtd1 The ...
2
votes
0answers
475 views

htop showing less memory usage

I'm currently trying to benchmark performance improvements when using a RAM disk. So I've been giving my VM 24 of the total 32 GB RAM, and created a 16GB RAM Disk inside. It's beeing used, ...
2
votes
0answers
132 views

switching to ramdisk root

My application is to do a secure erase on my system disk (an SSD) using hdparm from a shell script. So my thoughts were: create a ramdisk copy the linux OS to the ramdisk unmount the original system ...
1
vote
0answers
137 views

Why can't dd write to /dev/ram0 on Core Linux?

I created an ext2 file-system on /dev/ram0 ramdisk, and mounted it at /mnt/ram. mkdir /mnt/ram mkext2fs /dev/ram0 sudo mount /dev/ram0 /mnt/ram -o rw Reading from ramdisk with dd works. dd if=/dev/...
1
vote
0answers
95 views

Anything-sync-daemon is not making backup snapshots

I have Anything-sync-daemon ("asd") installed and minimally configured according to this page: Anything-sync-daemon - ArchWiki Running asd p gives the following output: Anything-sync-daemon v5.85 ...
1
vote
0answers
326 views

Using compressed RAM disks for swap in FreeBSD on an early Raspberry Pi board

I have an old Raspberry Pi one model B with 256Mb RAM with FreeBSD installed (12.0-CURRENT). Since the device has so little memory, I thought I'd try to use compressed swap in RAM, in order to achieve ...
1
vote
0answers
126 views

Define RAM disk size of a custom built kali iso when booted live

I'm building a custom kali iso and would like to define the size of the root / (tmpfs) partition when it's booted live from an USB. Is this possible? I've got 32G of ram, and the ram disk size is 50%=...
1
vote
0answers
452 views

How to reserve ram for ramdisk (tmpfs) but also prevent it from swaping

My scenario: I have a server with 256GB of ram and I want to create a ram disk, with let's say a 224GB size. Now, I know that there are two main types for ramdisk - ramfs & tmpfs (taken from here)...
1
vote
0answers
30 views

Can you write your whole existing filesystem to an image?

I'm reading about filesystems for embedded linux. If you're using a ramdisk, how its supposed to work is a compressed image of the filesystem is kept in the boot partition, and is copied into the root ...
1
vote
0answers
286 views

Display boot splash on ramdisk only system

I'm working on a kiosk system with the root file system loaded into RAM. One of the requirements is that the boot process output should be completely hidden from the user. I've already managed to set ...
0
votes
0answers
16 views

Run Minidlna from RAMDisk

I am using Raspberry Pi to stream movies to my LAN. The movies are mounted using sshfs and streamed with MiniDLNA. Now the Pi has very slow SD-Card I/O, at iotop I can see minidlna uses <95% I/O ...
0
votes
0answers
73 views

Unetbootin + DB gives error: `Could not find ramdisk image /ubninit`

I installed dban-2.3.0_i586.iso onto a usb with unetbootin on a mac. But when I run it on a computer and select dban on the menu I get: Could not find ramdisk image /ubninit Any ideas?
0
votes
0answers
287 views

Benchmark /dev/shm

I am currently developing a software that needs fast inter-process and temporary I/O communication (images as well as big hdf5 arrays). The "lifetime" of the data is different and dependent on several ...