Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Advanced users • Re: Howto: Using an Rpi5 as a Server With Btrfs, Raid1, Serial Console and Dual NVME/SD Card Eecovery

$
0
0
Please give feedback and corrections here as needed, hope this helps:

http://marc.merlins.org/perso/linux/pos ... -Boot.html
I have done a quick scan of it but thagrol has already given very detailed feedback I had not focused on. It is more the topic title already that i would question. RAID1 on a Pi that has no own native storage HW is a no go for me. I use multiple 'servers' so 2x (computer_board + storage_device) instead of 1x (computer_board +2x storage_device). Differential send|receive auto script to make sure I have services available in case of a HW issue. A HW issue was for example crashing USB stack in RPi4, although the watchdog in the RPi4 could mitigate it.

I read your conversion on github with RPL personal in a bit more detail and it just conforms for me what I think already several years. RPL won't take requirements from individuals. They lock topics that are 'requesting' in this forum. You took the time to do it, but I just went on using other SBC's as those simply do what I want for years same as any other embedded systems (before you need to use a Lauterbach/JTAG). Fixed ROM code that reads a codeblock from embedded/included storage like eMMC or SPI-flash and that you can program/write yourself, typically U-Boot, but also EDK2-UEFI is good enough nowadays and also works via serial console.
If you browse the U-boot docs a bit, you can see that when you put a proper/default U-Boot in embedded/included storage, you can even write FAT filesystem from U-Boot command-line (all via serial console of course). Select other kernels etc. Use extlinux.conf or even grub-efi as it understands (minimal) EFI as well. It also has enough methods to jump to alternative OS/device if 1 fails, but I only experienced that because I made some error and it booted via network where I had a working (older btrfs snapshot) roottree stored.

I use simple (currently cost 1.25 Euros) USB serial adapter permanent for most SBCs or just a USB-C<=>USB-A cable when USBserial chip is already on the board, see picture viewtopic.php?t=389972#p2326872
Now unconnected there, but usually dongle from 1 is in the other computer. It is then just how stable is my fiber internet? That determines if I need to be/go home or not.

Statistics: Posted by redvli — Sat Jul 19, 2025 9:23 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles