Comment on Best way to keep a hot spare SD card for a raspberry pi?
dan@upvote.au 4 months ago
Get a USB to SATA cable. This one works great with the Pi: a.co/d/8Jv2Erj
Instead of having a hot spare, a better solution is to attach two drives and use them in a RAID1 config. Unfortunately, I don’t think the Pi supports RAID1.
IsoKiero@sopuli.xyz 4 months ago
I haven’t ran any Pi with hard drives, but I don’t see any reason why it wouldn’t work with software raid on linux.
dan@upvote.au 4 months ago
The issue is that I don’t think its bootloader supports booting from RAID. I guess you could use a MicroSD for booting then have everything else on the RAID1.
IsoKiero@sopuli.xyz 4 months ago
Grub supports software raid just fine. The main issue is that you need to modify grub configuration to add bootloader on both drives, but even if you don’t it’s pretty simple to recreate needed files for second drive when the primary one dies.
dan@upvote.au 4 months ago
GRUB does, but Raspberry Pis don’t use GRUB by default. You should be able to install it, but it’s not officially supported.