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

Troubleshooting • Raspberry Pi 5 8GB corrupting disk file systems

$
0
0
I've recently bought a RPi5 8GB and plan to make a home server/NAS to replace my aging Banana Pi, but I'm having issues with disk file systems being corrupted/wiped and I'm kind of at the end of my tether now, so need some advice/assistance.

Hardware used:
- Raspberry Pi 5 8GB
- Penta SATA Hat (PCIE connected, with PCIE 3 disabled)
- USB -> SATA adapter (5GBs from Pi Hut) with WD Green 480GB SSD for boot/OS
- Tried Raspberry Pi official 27W power supply originally, and then 12V 5A power supply to Penta Hat instead

When it's running, it runs great and will do for between an hour and a few days before disk corruption happens. I'm running:

- Raspberry Pi OS Lite 64 bit
- OpenMediaVault
- Transmission (docker container)
- Tailscale (docker container)
- Postgres (docker container)
- PiHole (docker container)
- Home Assistant (docker container)

At some point (either during reboot, or just randomly when sat idle) I will get disk corruption. What happens is that the boot drive (WD SSD) gets corrupted and the file system disappears. Re-load Raspberry Pi OS and it's fine to start all over again.
Last time it happened I noticed that the 2.5 HDD on the SATA Hat also got corrupted, and most recently the 2.5 HDD and 3.5 HDD both got corrupted. All were ext4 partitions and now in "lsblk" the disk shows, but shows it has having no partitions anymore. Currently restoring the data using DMDE.

Things I've tried....

- Originally I was getting really slow booting with the USB -> SATA adapter, so I tried a USB extension in case it was static interference. No difference. I then tried an older USB -> SATA adapter (3GBs) and it much quicker. But still corrupted after a few days.
- I've since seen the UAS stuff, and have enabled "USB quirks" for the Pi Hut USB -> SATA adapter (5GBs) and since then speed and booth times have been way faster, and consitent. But still corrupted.
- First time I had corruption I was using just the official 27W power supply with just the USB -> SATA connected and no drives on the SATA Hat.
- Then when my 12V 5A power supply arrived, I power JUST the SATA Hat with this, which powers the Pi as well, and the disks attached (just 1 3.5 HDD and 1 2.5 HDD, which is fine according the the Radxa site.

So, anything else I can try? I think I've tried to eliminate most things I can think of, but I'm stuck now. Could I have faulty hardware somewhere? How would I test or prove this?

Statistics: Posted by ian2000t — Mon Jul 22, 2024 12:53 pm



Viewing all articles
Browse latest Browse all 4774

Trending Articles