Now running minimal vanilla #Debian on my #RaspberryPi 4B for #Pihole. Unfortunately I tried but failed to boot with root mounted to #HDD. After the third attempt's kernel panic due to "no working init found", I gave up. I now at least have swap disabled on #SD and Pi-hole logs disabled. Any other tips for SD longevity?
@djsumdog Hard to tell. It seemed worn/corrupted with my last install, but I had swap enabled, 24/7 logs etc, so no surprise it wasn't healthy. But now after flashing Debian it seems OK again. The SD card is fairly new, class 10 SanDisk, ~60GB.
@syntax huh … well if you run into more issues, you could put your logs on a logfs partition which does append only. If you’re doing a lot of I/O, you might just want to attach a USB SDD for your / or maybe just your /var. There are also some single board solutions out there with horizontal SATA ports so you can slide in an SSD (The Bananna Pi comes to mind, although I had stability issues with mine).