So for those who farm (not plot) with Raspberry Pi, how is it even possible? How have you gotten around the size of the blockchain (mainnet) files?
So I got my pi set up just fine with the 16gb SD card I bought it with, put Ubuntu on it, installed chia fine, all that jazz, but then I realized that the blockchain files have already exceeded 5 GBs and that I would need a larger card to store the blockchain files going forward since the linux /home directory is on the boot drive by default and I do not have the savviness to relocate it. It also appears that you cannot change the location that the chia program stores the mainnet/wallet files, so you’re stuck with it being in the default location on /home.
So I got myself a 512gb micro sd and have had much trouble setting up the pi. Frantic googling revealed that larger cards come in the exFAT file format, whereas the pi can only boot in FAT32 format. Well, the max file size of FAT32 is 4GB…already smaller than the size of the mainnet files.
So for those who are farming their already-plotted HDDs on their Raspberry Pi’s, how the hell are you doing this? What am I missing? Is there in fact a way to change where Chia stores the mainnet files? Am I stuck having to troubleshoot relocating the /home directory to an external drive? Or is chia farming on Rpi doomed to fail when the blockchain gets too large?
Pi is just a computer. Not sure why you’d choose exFAT or FAT32 to run Linux on, most of the world is on ext4 if they aren’t being overly creative.
Plenty of options for putting the chia files on a different drive. Mount a drive on /mnt/home copy the existing files to it, the put it in /etc/fstab as /home and reboot. Mount a drive anywhere and symlink ~/.chia to it.
I had the same issue as you, my blockchain file was 5GB and taking up a chunk of drive space. I switched to booting (ubuntu server) from an external 240GB SSD connected by USB. Problem solved. Not gonna lie, it was a pain to set up as it a relatively new feature and my Pi4 needed a firmware flash to get this working, but apparently newer pi4s with updated firmware will support this out of the box.
With the proper usb adapter with UASP enabled, it has much better I/O performance compared to MMC SD cards as well, but meh. Actually, copying the blockchain db files from my plotting machine to the pi was noticeably quicker.
Use what you have I guess, pulled my SSD out of an old laptop that was gathering dust in the corner, and dug out a really old 2.5" usb3 drive caddy. Someone else in another thread also correctly pointed out you’d be losing a USB port for the boot drive.
Back to the OP, not sure why you would have problems with a 512GB SD card. Doesn’t the filesystem (format) get overwritten when you copy the OS image on to it, shouldn’t really be a factor. My understanding is only the boot partition is FAT32, and the rest (home dir) is ext4. How are you copying the OS onto the SD card?
This is my boot SSD which was formatted and written to using the rpi-imager and gparted: