Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8349  / 3 Years ago, tue, september 21, 2021, 9:52:03

I'm interested in exactly this up, now let me explain what would like to do with this. I'm preparing to buy 32GB of RAM and already have Quad Core. My idea is to implement another option in GRUB that will do exactly this:




  1. On boot move whole / partition to ramfs, and boot ubuntu from there

  2. From time to time and also at shutdown signal, run rsync to "backup" data to HDD, of course in background.



I already have SSD, and I think that rsync wouldn't take much to sync files. And also, loss of data is less important, except if it would be loss of more than 30 minutes active work, Because uptime of my computer is almost 99.99%, never turning off, so really don't think that this could get some bigger problem than forced power off from HDD.



/ filesystem is not much big, around 7GB.



Now my question is: Would this idea be "cost effective", would rsync take much resources, and is somewhere already implemented some similar solution of this?


More From » boot

 Answers
4

rootramfs_0.2-1_all.deb



This package load root FS to RAM before startup system. For sync to HDD use rootramfs --sync sync_path [exclude_path1] [exclude_path2] ...



You can easy verify this package. Package contains scripts written in python, it fix initrd and cryptroot initramfs hooks.


[#31978] Tuesday, September 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jokaned

Total Points: 315
Total Questions: 116
Total Answers: 119

Location: Somalia
Member since Mon, Feb 27, 2023
1 Year ago
;