-
Senior Member
registered user
Run with ramdisk, update persistent store instead of ramdisk
The traditional way of using persistent store has been to remaster seldom, if at all, and use a rather "large" (as compared to the sizes of short time changes) persistent store, typically 4 GB for FAT32 compatibility. I have usuallly done a couple (1-4) of remasterings of each Knoppix version, and the option of running with just ramdisk has been for special occasions only. I could use the ramdisk -> overlay technique, but I don't find it very useful for me.
With Debian live and much more frequent squashfs remasterings, I have started to look at ramdisk use in another way. Right after a remastering, it won't make much difference whether you run with ramdisk or persistent store, and there may be a few advantages to decide only afterwards whether you want to keep the changes. Also. the need for space is rather limited, it is mostly for program installs and upgrades - almost all user space files (except for init/configuration stuff) are kept on volumes that are mounted the ordinary way.
An alternative way of using persistent store/ramdisk could be to read the content of the persistent store into the ramdisk on startup, run from ramdisk and have the option to save to persistent store as needed, typically with a question about saving on shutdown. Most of the time, I would choose not to save.
Reading from persistent store into the ramdisk takes some time, but with my use, typically below 1 GB used on persistent and SSD disks, it would take only a few seconds. And the machine would run faster.
My total uncompressed system size is around 10 GB. That includes Oracle XE 11g and VMware workstation 10. With default squashfs compression, I have yet to approach the 4GB "limit", but the system is rather bloat-free.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
SuperMicro CSE-836 16LFF Server X9SCL+-F Xeon E3-1220V2 3.10GHz CPU 8GB RAM
$169.99
HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP
$10.00
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon
$846.48
Supermicro 6028U X10DRU-i+ 2x LGA2011v3 Xeon E5-2600v3/v4 2U Server CTO
$199.99
X10SLH-N6-ST031 SUPERMICRO SYSTEMBOARD MOTHERBOARD LGA 1150 MICRO ATX FIREWALL
$60.00
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00
Custom Server 15" Depth X11SSH-F E3-1270 V6 3.8Ghz 4 Core - 128GB NVME 32GB RAM
$399.00