Re:Raspberry Pi as a local server for self hosting applications
by numpad0 on Tuesday September 15, 2020 @01:39AM
(#24478189)
Many Raspberry Pi distro spend all the card’s TBW writing /var/log stuffs for no reason. It’s a known issue often attributed to “cheap microSD cards”.
Re:Raspberry Pi as a local server for self hosting applications
by Moru on Tuesday September 15, 2020 @03:06AM
(#24478605)
Yes, just to explain why:
microSD cards (and all flash storage) has a limited number of writes. If you let your rpi write logs, you will soon run out of writable space and if you are lucky you end up with a card that is read only. If unlucky it just stops working all toghether.
Re:Raspberry Pi as a local server for self hosting applications
by sorenjan on Monday September 14, 2020 @09:10PM
(#24476912)
This is purely an anecdote, but I had to replace a few SD cards in my Pi until I changed power supply. It's not even the official, it's just one that's rated for 5.0 V, 2.5 A. I've used the same card for a few years now.
Re:Raspberry Pi as a local server for self hosting applications
by m-p-3 on Monday September 14, 2020 @09:41PM
(#24477083)
It's possible to boot from USB with the Pi4, I wouldn't run anything important from the MicroSD.
Re:Raspberry Pi as a local server for self hosting applications
by catdog on Tuesday September 15, 2020 @01:50AM
(#24478243)
Even if direct USB boot does not work out you can just use the SD card to boot the kernel and have the root fs on USB.
With the PI4 you probably can even get better performance from using a USB storage device as it has USB 3.0 Ports.
Re:Raspberry Pi as a local server for self hosting applications
by vorpalhex on Monday September 14, 2020 @11:14PM
(#24477565)
A common setup is to pull the OS over the LAN and just use usb storage for all your actual stuff. Skip the sd card entirely except maybe as an OS fallback.
Re:Raspberry Pi as a local server for self hosting applications
by jsjohnst on Tuesday September 15, 2020 @12:17AM
(#24477832)
Go with the high endurance microSD cards. They are only a tiny bit more expensive and last a lot longer. If you’ve got a Pi with USB3 ports, I’d also recommend using an USB3 SSD flash drive for the majority of your writes.
But this is not something new of course, everybody will tell you to either use good uSD cards or put the os somewhere else, like an external hdd or so.