A true cautionary tale β and the reason the node shopping list says buy your storage new, from a real brand.
So there I was, minding my own business with my Proxmox server humming along nicely, when I decided to check on my trusty USB backup drives. You know β the ones that are supposed to save my data, not speedrun deleting it.
Enter stage left: "usb5" β a seemingly innocent 512 GB USB drive that my wonderful mother picked up at one of those Amazon returns / warehouse stores. You know the ones: where Amazon quietly resells the stuff other people sent back for "mysterious reasons." She got it for what seemed like a steal.
As they say: "If it seems too good to be true⦠it's probably faking its own capacity."
First sign of trouble β my backups started looking like they were written in ancient hieroglyphics:
???????????? ???? /????????
I thought, "Huh, maybe I set my terminal to Klingon." Nope. Much worse. Those ??? are what a
directory looks like when the filesystem reads back bytes that were never actually stored.
This little gift from Mom didn't just corrupt its own files β that would be too simple. This overachiever:
Lovely parting gift:
EXT4-fs warning: htree_dirblock_to_tree: error -5 reading directory block
(Translation: error -5 is EIO β an I/O error. The filesystem is having an existential crisis and would
like to speak to a manager.)
β
Suspiciously cheap for 512 GB β "What a bargain!" (famous last words)
β
No brand name β because brands are for suckers who want, y'know, working products
β
From a returns/warehouse reseller β previously returned by someone who learned this lesson first
β
Character corruption β the digital equivalent of speaking in tongues
β
Took its housemates down with it β bad RAID-of-one energy
Vet every new drive in ~5 minutes, before you trust it with anything:
f3write + f3read (the f3 tools) fill the drive and read it
back β if it's fake, the read fails exactly where the real flash runs out. (badblocks -wsv is the
nuclear-option surface test.)??? is a fake β bin it.Buy so you never have to:
fsck, badblocks, and a lot of patience)The drive that was supposed to be my backup solution nearly became my backup problem. It's like hiring a bodyguard who turns out to be running the heist.
Mom's heart was in the right place. That USB drive's data was not.
When it comes to storage, you really do get what you pay for β and sometimes what you pay for is a very expensive lesson in filesystem corruption. Test new drives, buy real ones, and never let a stranger's flash near your backups.
P.S. β Mom, I love you, and this was honestly hilarious in hindsight. But maybe next time let's get USB drives from places that don't also sell returned underwear and mystery liquids. π
P.P.S. β The drive has been exiled to the digital afterlife (the trash). It finally found a job it's good at: being a paperweight.