Article 4PZVH HDD recovery from Bad Superblock

HDD recovery from Bad Superblock

by
FrizzledOldButt
from LinuxQuestions.org on (#4PZVH)
I recently had a HDD failure in an LVM (ext4) array.

After sorting out the array, I thought I'd stick the drive into a docking station to have a closer look.

e2fsck reported a bad superblock and "no such directory" for the device.

I spent a couple of fruitless days with our friend e2fsck, mkfs, Google, Gparted, Gnome-disk-util and finally testdisk researching and testing to see if the HDD could be revived and reformatted.

Testdisk finally informed me that the disk might be unrecoverable and lost.

About to give up I plugged the docking station into a Win10 machine and opened Disk Manager. It told me the HDD needed initialisation.

I did that, and it was back. I formatted it to NTFS. That took awhile, but all good. Further checks with SMART and other utilities tell me HDD is fine, although SMART says there was one failure in the past :)

To my question; is there a utility or command under Linux that would do what Win10 did, i.e. "initialise" a HDD in this simple manner?

Thankslatest?d=yIl2AUoC8zA latest?i=H7DNMTYQ5GQ:6NSwOP99EF8:F7zBnMy latest?i=H7DNMTYQ5GQ:6NSwOP99EF8:V_sGLiP latest?d=qj6IDK7rITs latest?i=H7DNMTYQ5GQ:6NSwOP99EF8:gIN9vFwH7DNMTYQ5GQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments