I own a WD Elements 3TB external hard drive (WDBAAU0030HBK-01) which I disassembled and converted into an internal SATA drive. When I did that I partitioned the drive after installing it in my machine.
Now I want to use it as an external drive again so I put it back into the enclosure. However, I can't do anything with it anymore. Formatting works with neither Windows nor Linux tools.
Using Windows Disk Management: I am prompted to create a partition table. Once I agree to do that it tells me that the device is write-protected.
Using Linux: Plugging the device into a Linux machine gives lots of errors on dmesg
:
[ 1351.123500] sd 11:0:0:0: [sdh] Unhandled sense code [ 1351.123503] sd 11:0:0:0: [sdh] [ 1351.123505] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 1351.123508] sd 11:0:0:0: [sdh] [ 1351.123509] Sense Key : Data Protect [current] [ 1351.123512] sd 11:0:0:0: [sdh] [ 1351.123516] Add. Sense: Logical unit access not authorized [ 1351.123519] sd 11:0:0:0: [sdh] CDB: [ 1351.123520] Read(16): 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
When running GParted it reports:
Input/output error during read on /dev/sdh
and fails with that same error when trying to create a partition table.
My guess is that the WD SATA/USB converter that is part of the external hard drive enclosure requires the drive to be formatted in a certain way. Otherwise it will not accept commands.
How can I make this drive work in the external enclosure again?