You can use log2ram to mitigate that.
Alternatively, you can even boot a root filesystem residing on an NFS share, but in the case of a rpi hosting the network’s DNS and DHCP services, you could end up with a chicken and egg problem.
Comment on Should I use a dedicated DHCP/DNS server hardware
rentar42@kbin.social 10 months ago
Sidnenote about the PI filesystem self-clobbering: Are you running off of an SD card? Running off an external SSD is way more reliable in my experience. Even a decent USB stick tends to be better than micro-SD in the long run, but even the cheapest external SSD blows both of them out of the water. Since I switched my PIs over to that, they've never had any disk-related issues.
You can use log2ram to mitigate that.
Alternatively, you can even boot a root filesystem residing on an NFS share, but in the case of a rpi hosting the network’s DNS and DHCP services, you could end up with a chicken and egg problem.
Yeah, whoever thought that sd cards were a good idea for anything even resembling operating systems is a dum dum
what do you mean? they’re fine unless you want to read or write to them… wait a minute
They’re fine if the OS is read-only. Unraid loads from a USB drive, but the entire OS is copied into RAM on boot and there’s barely any reads or writes after that.
Ecclestoned@lemmy.world 10 months ago
I’ve completely bricked two SD cards using a Pi. The USB option sounds interesting, I’ll have to try it.
dan@upvote.au 10 months ago
Grab this cable: www.amazon.com/gp/product/B00XLAZODE/ (make sure it’s the USB 3.1 version, not the USB 3.0) then plug in any SATA device. you should be able to find a 512GB SATA SSD for less than $40.
Ecclestoned@lemmy.world 10 months ago
Damn this is so much simpler than the USB 2 version I have from 8 years ago…