#MicroSD Fail and then unrecoverable fsck the very next day

1 messages · Page 1 of 1 (latest)

frail shale
#

Hey all! Yesterday I woke up and found that my HAOS install was offline. When I plugged the RaspPi 4b into a monitor, I saw that it was because containerd was failing to start, and then it was falling to the emergency shell. I popped out the MicroSD, put it into another Linux machine, and saw that the MicroSD was locked in read-only mode at the device level.

No big deal, it's a couiple years old, I guess it died. I grabbed a brand new MicroSD, DD'd it over, and booted it up. It took a few hours but everything was back to normal.

... I wake up this morning, HAOS is now in a boot loop, failing on fsck. I popped the brand new MicroSD card into another Linux machine, and it has unrecoverable fsck errors, so I'm gonna dd the image I created yesterday, but... Any idea why this is happening? I've always heard RaspPi are fine for running HAOS, but should I switch to an external SSD instead? Do MicroSDs have problems with the way HAOS is writing constantly?

shrewd oyster
#

I'd recommend a powered USB Hub and a SSD. SD Cards are pretty well known for being unreliable and prone to corruption.
Some have more luck with endurance cards but AFAIK they are optimized for sequential writes.
Pis are fine for HAOS but I don't like them: https://gist.github.com/Impact123/6ee130240bdc6a7fed2d5224616544a0
Above is just one of the reasons.

frail shale
#

Thanks for the quick response here. I have a USB Hub attached that I already use for my Zigbee/Zwave/Matter dongles but it's not powered. Does a Pi not have enough power to power an SSD by itself?

Just asking before I go buy what I need.

shrewd oyster
#

It seems like it does not. Pis are very power sensitive.

frail shale
#

I see your note in there about corruption. Good to note.

#

I may just move to an SSD for now and then in a few months, buy a Beelink.

#

I've had a lot of problems with Pi over the years and I'm getting sick of it.

#

Got a favorite Mini PC? I've heard the Beelinks are excellent, just a little pricey for an HAOS machine.

shrewd oyster
#

No. I don't like to recommend specific devices because things are changing all the time.