Hi all,
I have a few appliances around the house based on Arch Linux ARM (dockstars, now a zyxel nsa325) and I would like to make them safe to USB wear issues.
All of them boot from USB pendrives and those are doomed to fail, one day or another, it is not a matter of IF but WHEN, we all know this here right?
So the question is: what is the best strategy to have a second pendrive in every box that constantly mirrors (even daily, not necessarily continuously) the boot drive and can be swapped and boot from it if the first one fails?
- LVM snapshots?
- any obscure sync utility like, as an example rsnapshot?
- a simple dd from boot drive to the second drive in a cron job?
How can consistency be guaranteed?
Anyone willing to suggest how to approach this issue will have may eternal gratitude, and maybe even a more tangible reward
TIA, Paolo