I have a couple Raspberry Pi 5 single board computers with NVMe hats. NVMe is light years faster, higher capacity, and more durable than micro SD. I built both of them last spring and they ran flawlessly until early winter when the NVMe drives started becoming unreachable on the bus. The only way to get back to a normal state is hold the power button down until it reboots, because without access to the NVMe drive, the OS can't read the "shutdown" command.
I upgraded drivers, NVMe firmware, etc. but nothing helped. I was a bit puzzled so I used a life-line and called my former coworker who is incredibly knowledgeable on all things electronics and electricity. He suggested I have an ESD problem, then told me some stories about very weird VAX problem he saw and the even stranger way their figured out it was ESD. Like every time one systems admin woman wore a red knit sweater and she touched the keyboard, the main storage drive would suffer corruption. He suggested I get a grounding kit and properly ground the Raspberry Pi metal cases to earth ground. I also got a ESD mat to set them on which is grounded.
I grounded everything properly and have a grounded wrist strap that I put on before touching anything. For the last week since I all the grounding was installed there has been zero problems. I think my friend is correct that I had an ESD problem.
I upgraded drivers, NVMe firmware, etc. but nothing helped. I was a bit puzzled so I used a life-line and called my former coworker who is incredibly knowledgeable on all things electronics and electricity. He suggested I have an ESD problem, then told me some stories about very weird VAX problem he saw and the even stranger way their figured out it was ESD. Like every time one systems admin woman wore a red knit sweater and she touched the keyboard, the main storage drive would suffer corruption. He suggested I get a grounding kit and properly ground the Raspberry Pi metal cases to earth ground. I also got a ESD mat to set them on which is grounded.
I grounded everything properly and have a grounded wrist strap that I put on before touching anything. For the last week since I all the grounding was installed there has been zero problems. I think my friend is correct that I had an ESD problem.