Questions tagged [ramdisk]
The ramdisk tag has no usage guidance.
89
questions
0
votes
1
answer
31
views
Custom initrd script failing to init "Attempted to kill init"
I am trying to create a custom ramdisk, but it keeps failing right before launching init.
Here is the script: https://gist.github.com/amanuel2/f3e8bb9399f3b3bd36a90cd925ecf63d
Logs:
Edit 2:
Logs: ...
0
votes
1
answer
46
views
How to go about moving my webserver data onto a (tmpfs) RAM disk? (experiment)
For How to go about moving my webserver data onto a (tmpfs) RAM disk? (experiment), I formulated some ideas, notes, and stuff around. Need to hear if my whole idea is sound and solid, and that such ...
1
vote
1
answer
61
views
Is it possible to boot into new Linux image which is stored in RAM (and not written to disk)
I'm looking to create a setup where an OS image is (automatically) downloaded over the network and then booted into. The obvious way would be to write it to disk, reconfigure grub (or whatever) and ...
2
votes
0
answers
80
views
What's the expected overhead of a passthrough device mapper?
I'm trying to establish a baseline throughput overhead for a passthrough device mapper; i.e. a device mapper that does nothing. Roughly following benchmarking procedures from Cloudflare, I'm measuring ...
2
votes
1
answer
40
views
Why do /dev/ramX devices have all 0's in /proc/diskstats?
Is there away way to turn on IO accounting for /dev/ramX block devices in Linux? I already tried echo 1 > /sys/block/ram1/queue/iostat but it did not work.
Notice that all devices have stats except ...
0
votes
0
answers
272
views
Problem with Loading initial ramdisk in Archlinux (character firing)
In the boot arch initial (Loading initial ramdisk) some characters are appearing, photo below:
As well as when switching off, the same characters also appear, photo below:
However, sometimes (...
1
vote
0
answers
103
views
What is /dev/selinux?
Is there a device node called /dev/selinux
Android 13 init crashes with the following
[ 1.417333] (7)[1:init]selinux: SELinux: Loaded file_contexts
[ 1.417341] (7)[1:init]selinux:
[ 1....
0
votes
1
answer
417
views
Is it possible to suppress initramfs logs during shutdown?
There are quite a few Linux kernel parameters that can prevent the boot and shutdown logs from appearing on the screen.
I was able to set the following kernel parameters to achieve a completely silent ...
1
vote
1
answer
212
views
Is it possible to increase the size of OpenBSD's bsd.rd without building it from source?
Having a bsd.rd extracted from an installation image and mounted as a vnode I can see there is 0.2MB free space available for additional files such as used during unattended installation.
I want to ...
8
votes
3
answers
13k
views
Ubuntu 21.04 hangs at "loading initial ramdisk" after kernel update with LUKS
I've reproduced this twice from a fresh install - the setup initially works fine, but when a kernel update is applied, the system hangs on reboot. Selecting the older kernel I have available from GRUB ...
0
votes
1
answer
98
views
RAMDisk disappears after random read tests
I have created 60GB RAMDisk using the command modprobe brd rd_size=62914560. It creates 16 RAMDisks and I use /dev/ram1. The linux is CentOS 7.5 with kernel version 3.10. I don't make any filesystems ...
2
votes
1
answer
2k
views
Make a temp virtual RAM disk from some RAM + some SSD
I'm in an odd situation where I have plenty of RAM sitting around (200gb extra) and ALMOST enough SSD to do a read/write intensive process. Is there any way to say "Dear System, please create a ...
1
vote
1
answer
572
views
Allocate RAM block device faster than Linux kernel can normally allocate memory
Background
I'm trying to download about 150GB to a newly-created Linux box (AWS EC2) with 100gbps network connection at full speed (12.5GB/s) or close to that. The network end is working well. However,...
1
vote
0
answers
231
views
How to create a ramdisk during a systemd service initialization (ex. Postgresql)?
Is there any way to create a ramdisk during systemd service initialization and run some command after its creation and after the "main" service process starts?
Basically what I am trying to ...
0
votes
1
answer
356
views
Common Features among Multiple RAMDisks Created Using modprobe brd
I wanted to create a 60GB RAMDisk to check the read and write performance of it. Using the command modprobe brd rd_size=62914560, 16x 60GB RAMDisks have been created: /dev/ram0, /dev/ram1, ..., /dev/...