2 ms·
> every couple of months the SD card gets corrupted. You may want to check your power supply before switching to USB storage. In my case, the corrupt SD card t
by sirius87 9y ago
> every couple of months the SD card gets corrupted.
You may want to check your power supply before switching to USB storage. In my case, the corrupt SD card turned out to be an issue with the power adapter I bought for the raspi Model 3B. Switching to a better 2A adapter fixed the issue.
- eriknstr 9y agoI am powering the Raspberry Pi from the usb port of my router and would prefer not to have an additional power adapter. However the SD corruption issues also happened previously when I was using the Raspberry Pi for something else and was using a power adapter. To be honest I think perhaps the SD card I am using is actually bad. I seem to recall that I lost some photos from the same SD card previously when I used it in a digital camera. So I could also try replacing the SD card if I haven't already but at that point I feel like a USB stick will be just as good anyway. I intend to configure my Raspberry Pi to not write logs and such to persistent memory in order to reduce wear on the storage since such files are of no interest to me anyway, but haven't gotten around to do so yet. Still the files for my website will be on the USB stick though so therefore I wonder, will the read and write speed be ok even with USB? I think it probably will. Additionally I've been wishing to keep the website files themselves in memory as well (but to write to disk when they are changed ofc) but haven't gotten around to that either.