All times are UTC - 5 hours [ DST ]


Switch to mobile style


Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 5:10 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Hi, I'm looking for help to identify and fix an issue with my HDD.

Whats the HDD?
Western Digital RED WD40EFRX - 4TB, SATA 64MB Cache

How did the problem start?
I tried to use DBAN to wipe the HDD which failed midway through due to a power cut.

Why did you try to wipe the drive?
The drive was fully functional in my NAS for a few year. But I decided to upgrade my NAS and its drives and so I wanted to wipe the drives before selling them on.

What's the problem with the drive?
The device I'm using to connect the drive is a startech SATDOCK2REU3, see link (https://www.startech.com/en-gb/hdd/satdock2reu3). When connecting the drive I am able to see it in Device Manage under "Disk Drives". However, I am not able to see the drive within "Computer Management" > "Disk Management". I also cannot see the drive in CMD when using "DISKPART" and the command "list disk".

Tonight I will try and connect the date directly via a SATA cable instead of the above USB dock to see if the problem differs. I.E. the docker is causing an issue.

Does the drive produce any noising, clicking, ticking etc.?
No, audibly the drive sounds fine like any other

Could anyone help with any additional directions I could take? Programs I could run to help identify or fix the problem. Data recovery is not my goal here, I'm happy to wipe the drive entirely. I just need the drive to be functional.

Many Thanks


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 5:30 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
Grab a linux livecd and check what it makes of the drive. There may be some windows tools someone else could recommend. Who knows what sort of state it's been left in by your NAS and DBAN.

If you're unlucky the power problems may have caused damage to the drive rather than just the logical structure but it's not likely if the drive is identified (ID and Capacity) correctly in the bios.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 10:32 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Ok, so a little update.

The good news is after plugging the drive into a PC via SATA, the drive is visible within the BIOS.

I'm not running a Linux USB and the following image is the current progress of booting in:
https://ibb.co/VwQTdxJ
Image

I'll update again soon once I'm in the OS (fingers cross) and we'll see what it sees :)


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 10:37 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
If you have no interest in the data you might as well stop the file system check.

Once you're up an running have a look under "disks" and "gparted" you'll probably be able to nuke whatever is hanging around on the drive from there.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 11:47 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Ok, another update.

I got in to the OS, went into "disks" and I can see the disk, great. However, I then tried to format the disk to FAT32 so it will work in any system for the moment and I was instantly met with the following error:

"Error wiping device: Failed to probe the device '/dev/sda' (udisks-error-quark, 0)"
Image

Any thoughts on this?


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:08 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
I forgot to say. I also launched gparted. On launch I got the following two errors which endlessly loop:

Error 1
Error fsyncing/closing /dev/sda: Input/output error
Image

Error 2
Input/output error during read on /dev/sda
Image


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:20 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
what's the output of hdparm -I /dev/sda from root at the terminal

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:34 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Results were pretty long, here's two screenshots:
Image

Image

I've now also run a Smart Self-Test Short and this is the results of that:
Image


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:49 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
Looks like the drive has been left with the master password set which is why you can't do anything with it. You'll need to find out what dban sets the password to and either finish the secure erase with hdpram with it or remove it and start again.

I'm surprised dban can't recover from it and finish the format. Have you tried running it again?

Having looked at the smart results - I take it you already know the drive isn't healthy either.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Last edited by Lardman on February 4th, 2022, 12:54, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:54 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Well that seems odd, I certainly never set a password.

I tried the dban erase a long time ago and can't remember what I did specifically, but I gave up after it went wrong so I'm picking up from where I left off.

I can try running dban again, but right now I don't want to start a long erase process ideally. I just wanted to get the drives functional again for myself to use. Or do I have no choice and will need to go through a long process?


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 12:58 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
It's been ages since I looked at dban but I'm guessing it set the password to do a secure erase and would have clear it when finished. Someone more familiar with it as a tool may be able to assist more.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 13:05 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
K I found out how to unlock the drive on a random website post here:
https://serverfault.com/questions/71284 ... ith-hdparm

I had to run a command or two first but this seemed to be the command which unlocked the device:
hdparm --user-master m --security-disable WDCWDCWDCWDCWDCWDCWDCWDCWDCWDCW /dev/sda

I can now appear to format the drive in linux. YEY! Screenshot of progress:
Image

My only worry is if the lock might reappear as I couldn't seem to run the final command:
Command hdparm --user-master m --security-disable WDCWDCWDCWDCWDCWDCWDCWDCWDCWDCW /dev/sda
It resulted in:
security_password: "WDCWDCWDCWDCWDCWDCWDCWDCWDCWDCW"
/dev/sda: Permission denied

But I'm certainly a step closer and its good to see the drive isn't at all dead it was just a stupid password! So much for your help on this.

Do you think I should be okay after the format?


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 13:26 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
Sorry I typed the above incorrectly.

Command to remove the password was:
hdparm --user-master m --security-unlock WDCWDCWDCWDCWDCWDCWDCWDCWDCWDCW /dev/sda

Command to keep it removed which did not work for me was:
hdparm --user-master m --security-disable WDCWDCWDCWDCWDCWDCWDCWDCWDCWDCW /dev/sda


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 4th, 2022, 19:38 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
Lardman wrote:
Having looked at the smart results - I take it you already know the drive isn't healthy either.

SMART looks OK to me. :-?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 5th, 2022, 12:33 
Offline

Joined: February 4th, 2022, 4:56
Posts: 9
Location: UK, England
To quickly roll back I was confused by this note:
Lardman wrote:
Having looked at the smart results - I take it you already know the drive isn't healthy either.

Rason I'm confused is from what I can see on that smart test screen, it appeared the results of the SMART test were good. Is that not how you read it?

fzabkar also seems to agree:
fzabkar wrote:
SMART looks OK


Top
 Profile  
 
 Post subject: Re: HDD not accessible from attempted DBAN wipe
PostPosted: February 5th, 2022, 14:54 
Offline

Joined: November 7th, 2020, 5:31
Posts: 928
Location: The_UK
And this boys and girls is why you should always check what you're told on the internet - especially at 5pm on a Friday afternoon after a long week. :lol: I only briefly looked at the picture and didn't check the column headers :oops: If everything is clear after the format finished you're good to go.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: michael chiklis and 58 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group