5 ms·
I'm shocked the SD card bit isn't first, and more surprised that the post doesn't suggest USB boot (I have one pi that's been on ~24/7 for years now, and I attr
by yjftsjthsd-h 3y ago
I'm shocked the SD card bit isn't first, and more surprised that the post doesn't suggest USB boot (I have one pi that's been on ~24/7 for years now, and I attribute its lack of problems to 1. using Alpine configured to barely touch disk, and 2. not having an SD card to corrupt - I don't know why USB would be more reliable, but anecdotally it is)
- Tor3 3y agoI've had a bunch of Pi cards, running on SD without problems. But a single one suddenly developed a super-hot SD card, this was a brand new Pi which I was just setting up. Got the card out, and that one and the next Pi got a USB SSD and are now using those. That was a bit scary. But as mentioned I've also been running Pi with micro SD as Cups servers for years, with no problems at all.
- Aerbil313 3y agoWould there be any reliability problems with using USB flash drives instead of USB SSDs?
- Tor3 3y agoI don't really know. I assume they would be slower than SSDs though, but I have never measured USB flash. The SSBs get some 300MB/sec on my Pi 4 boards.
- NortySpock 3y agoSample size of 1, but I ran an RPi4 just fine on a USB thumb drive for about a year. Still upgraded to an SSD later because I wanted even more storage space (and SSD seemed to have better random IOPS than a thumb-drive), but I'd say go for it.
- breton 3y agoI agree with this completely. All my rpi failures were because of SD cards. I have 2 rpis, both boot and run from usb, both for several years now.
- txdv 3y agoMy argon rasberry setup with an SSD is also stable. Only reason why it fails is when the electricity goes out. A battery that could keep it running for 10 minutes would completely be enough.
- severino 3y ago> 1. using Alpine configured to barely touch disk I'd like to learn some tips on how to do that... do you mean something like https://wiki.alpinelinux.org/wiki/Installation#Diskless_Mode https://wiki.alpinelinux.org/wiki/Installation#Diskless_Mode ?
- yjftsjthsd-h 3y agoYeah, exactly - as best as I can remember, and https://wiki.alpinelinux.org/wiki/Raspberry_Pi https://wiki.alpinelinux.org/wiki/Raspberry_Pi seems to agree, Alpine on the pi defaults to a mode where it mosly loads itself into a ram disk on boot and just stays there. Which means that you're constrained on "disk" space (your root filesystem is no larger than ram), but if your workload fits in that then you have the advantage that after boot the system pretty much doesn't touch disk.
- JoBrad 3y agoSame. I use an M.2 HAT to boot from SSD, and it works great.