40

Probably due to a power outage, I suddenly lost access to a connected USB HDD yesterday. According to parted, I get the message “unknown partition table,” and gdisk says the GPT is corrupted. Using testdisk, I was able to copy the files to another drive and restore the partition table and mount the HDD.

Is it possible that the partition table was damaged by the power outage, or does this point to a different problem? Can I safely store data on such an HDD again, or should I replace it?

you are viewing a single comment's thread
view the rest of the comments
[-] yuman@programming.dev 12 points 2 days ago

can't help you with your conundrum, but I'd like to point out there are so many potential issues in the chain regarding a drive in a USB enclosure that you're unwise to treat it as an always-on connected device. any number of those things can go wrong and net you what you had, and worse.

this post was submitted on 25 May 2026
40 points (100.0% liked)

Linux Questions

3930 readers
32 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS