All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 29th, 2017, 13:09 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
BGman wrote:
Spildit wrote:

Of course one still needs a "valid" Super ON for the specific drive. Super ON for IBM/HGST/Hitachi change very often so one needs to either compute the correct Super On or use a table of Super On commands for the specific drive.


Are you sure? :shock:

It doesn't need "techno mode", as far as I know.


Are you saying that you just apply the clear S.M.A.R.T. VSC and that's it ?

I did never test it without the Super On. As a matter of fact i did never test the VSC by itself (without using firmware tool).

I will have to try it out.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 29th, 2017, 14:08 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
:(

The command that i have requires "Super On".

:( :( :(

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 29th, 2017, 16:27 
Offline

Joined: August 24th, 2017, 1:56
Posts: 12
Location: United States
hi,
from what i can tell, the "super on" command has been the same probably since at least 2008. i want to say i found a much earlier reference to it but i can't find it in my history :(

from the victoria changelog from 2008-08-13 4.46b: "Added support for super-SMART for IBM / HITACHI ("factory" attributes)"
from http://forum.ixbt.com/topic.cgi?id=11:42461-72, there is a link to a tool which sends the command, ibm_ss.exe: http://vlo.name:3000/tmph/ibm_ss.rar

i attached an image showing the disassembly of ibm_ss where it sends the super on/super off - the command is clearly visible and the same.

i can't find any references to the clear smart vsc, however. just the super on/super off that *seems* to go back to ibm drive days.

the mhdd script i obtained did clear many smart attributes from the WD80EFAX drive, but it unfortunately did not clear the actual error log. UDMA_CRC_Error_Count did go to 0. my main goal was to clear the *log* though :shock: Power_On_Hours and other wear-related attributes were not changed. i attached a before & after of the attributes cleared if anyone is interested.

if anyone knows the vsc or otherwise to clear the actual log, i'd be very much appreciative :D

and, as far as the logic of selling the same drive for $100 less as an external vs. internal, well. i guess western digital doesn't have any other (cheaper) 8tb skus. they have the purple but maybe it's not suitable for desktop/external use?

i did make a quick collage of an earlier gen wd red drive (WD20EFRX), my drive (WD80EFAX), and a hitachi helioseal 8tb (not sure of model). the WD80EFAX and Helioseal look identical, so that for me at least answered the question of it's a rebranded hitachi. this might be a "well duh" for the rest you :) although this is supposedly 5400 rpm while i only see 7200 rpm skus on the hitachi website...

thanks,
-matt


Attachments:
beforeandafter.txt [1.17 KiB]
Downloaded 92 times
sidebyside.jpg
sidebyside.jpg [ 839.28 KiB | Viewed 1536 times ]
supersmart.png
supersmart.png [ 11.94 KiB | Viewed 1536 times ]
Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 30th, 2017, 8:49 
Offline

Joined: September 30th, 2005, 7:33
Posts: 519
Quote:
"SMART Function Set Command (B0h)
The SMART Function Set command provides access to Attribute Values, Attribute Thresholds and other
low level subcommands that can be used for logging and reporting purposes and to accommodate special
user needs. The SMART Function Set command has several separate subcommands which are selectable
via the device‟s Features Register when the SMART Function Set command is issued by the host."


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 30th, 2017, 17:03 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
Ok !!!

Some clarifications :

1 - This "S.M.A.R.T." Super command (on and off) doesn't have anything to do with Tech mode or "true" Super On in the sense of a command you send to the drive to place it in "factory" mode to access SA, etc ....

2 - The script have 3 commands. One places the drive in S.M.A.R.T. "super" mode, the other clears S.M.A.R.T. and the 3rd disables the S.M.A.R.T. "super" mode.

3 - Smart function set is used as mentioned but on this case it's VENDOR SPECIFIC. Meaning this set of commands will only work on Hitachi/IBM/HGST and will NOT work on other drives, so at the end of the day it's VSC even if it uses a "standard" command as basis.

4 - This works on the same way as the Super Format in the way that is exclusive to the IBM/Hitachi/HGST and doesn't require Tech mode or "Super On".

5 - "Victoria" uses the "Smart Super" on IBM/Hitachi to show S.M.A.R.T. values. You can set this on/off on Victoria. The commands that are used are the same for turning the S.M.A.R.T. "super" ON or OFF.

Attachment:
1.jpg
1.jpg [ 25.2 KiB | Viewed 1438 times ]


6 - For the drive to accept the CLEAR S.M.A.R.T. command (FE .... A2 ....) it's MANDATORY to turn on Super S.M.A.R.T. first, if not the command is rejected by the drive.

7 - This should work on the majority of Hitachi/IBM/HSGT drives as "Format Unit" works as well.

8 - Unlike on "Samsung" clearing S.M.A.R.T. will not clear the logs. One can edit modules to do so.

9 - SeDiv uses some other methods to clear S.M.A.R.T. as well like reading modules, patching them and writing them back. SeDiv for several brands uses several methods to do some operations.

Regards.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 30th, 2017, 17:10 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
http://forum.ixbt.com/topic.cgi?id=11:42461:2540#2540

FR SC SN CL CH DH CMD

f8 f6 b9 4f c2 a0 b0 - enable hidden smart
f8 00 00 4f c2 a0 b0 - disable hidden smart

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 30th, 2017, 18:13 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 9688
Location: Australia
ISTM that only the performance related attributes are cleared.

Code:
                                 BEFORE:                 AFTER:
                                 ID;Current;Raw          ID;Current;Raw

Raw_Read_Error_Rate             1;100;0;                1;100;0;
*Throughput_Performance          2;127;120;              2;100;0;
*Spin_Up_Time                    3;161;34385559976;      3;100;0;
Start_Stop_Count                4;100;24;               4;100;24;
Reallocated_Sector_Ct           5;100;0;                5;100;0;
Seek_Error_Rate                 7;100;0;                7;100;0;
*Seek_Time_Performance           8;128;18;               8;100;0;
Power_On_Hours                  9;100;272;              9;100;272;
Spin_Retry_Count                10;100;0;               10;100;0;
Power_Cycle_Count               12;100;21;              12;100;21;
Helium_Level                    22;100;100;             22;100;100;
Power-Off_Retract_Count         192;100;32;             192;100;32;
Load_Cycle_Count                193;100;32;             193;100;32;
*Temperature_Celsius             194;253;188979806231;   194;240;115965755419;
Reallocated_Event_Count         196;100;0;              196;100;0;
Current_Pending_Sector          197;100;0;              197;100;0;
Offline_Uncorrectable           198;100;0;              198;100;0;
*UDMA_CRC_Error_Count            199;200;3;              199;200;0;

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 30th, 2017, 19:11 
Offline

Joined: August 24th, 2017, 1:56
Posts: 12
Location: United States
fzabkar wrote:
ISTM that only the performance related attributes are cleared.


yep. according to the person who sent me the script, it *used* to clear more, but recent hgst (and "wd") don't clear the wear-related ones. which is good, imo. i think it shouldn't be that easy to wind back an "odometer"...


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 31st, 2017, 16:12 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
tofurky wrote:
fzabkar wrote:
ISTM that only the performance related attributes are cleared.


yep. according to the person who sent me the script, it *used* to clear more, but recent hgst (and "wd") don't clear the wear-related ones. which is good, imo. i think it shouldn't be that easy to wind back an "odometer"...


That is why tools like SeDiv will read the SMART modules and patch them or write cleared copies .... Instead of using that "VSC" / script if you patch the modules directly you can clear whatever you want ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: August 31st, 2017, 16:56 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
Here :

Attachment:
1.jpg
1.jpg [ 74.68 KiB | Viewed 1374 times ]

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 3rd, 2017, 2:27 
Offline

Joined: September 30th, 2005, 7:33
Posts: 519
Spildit wrote:
3 - Smart function set is used as mentioned but on this case it's VENDOR SPECIFIC. Meaning this set of commands will only work on Hitachi/IBM/HGST and will NOT work on other drives, so at the end of the day it's VSC even if it uses a "standard" command as basis.

I would say vendor specific subcommands of Smart B0h command.

Quote:
T13/1699-D Revision 4a
May 21, 2007
Working Draft AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS)
7.53 SMART
Individual SMART commands are identified by the value placed in the Feature field
.......
E0h-FFh vendor specific


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 3rd, 2017, 6:01 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
Agree ! :D :D :D

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 5th, 2017, 1:45 
Offline

Joined: August 24th, 2017, 1:56
Posts: 12
Location: United States
so as a last ditch effort (and because i was kind of planning on doing a secure erase anyways) i spent some time trying to get igor_me's IBM/Hitachi format program (i.e. Format Unit) working on windows 10 64-bit. somehow, after disabling integrity checks and enabling test signing via bcdedit, downloading the WinIo .dll/.sys 64-bit driver separately, and installing a utility that allows specifying locale (e.g. russian) on a per-program basis, i got the utility working and was able to translate the various text in the program using ocr+google translate.

well, 10 minutes into the format of the WD80EFAX and i get a blue screen "driver power state failure" and my pc reboots. now, the drive is not recognized. :oops: it is hooked up via esata with an external power supply, so the power wasn't necessarily cycled on the drive during the blue screen. i suspect it may still be executing the format and ignoring ata commands until it finishes.

does that sound right or even possible? i'd rather not interrupt the format if it's still going, because it'll probably crash again if i restart it. but i also don't want to wait 20 hours to see if the drive is actually formatted.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 5th, 2017, 7:25 
Offline

Joined: September 30th, 2005, 7:33
Posts: 519
BGman wrote:
FormatUnit will erase all your data and will clear only Atr. 5 of the SMART data.
It takes me less than a minute to clear SMART of all Hitachi drives and it's always free for my clients.


You were told what to expect from FormatUnit !
The problem is that the script you were given can clear only a few attributes. I tried these commands on a relatively new HGST drive and the result was as yours. Then I used my old utility and it cleared all attributes , including POH ! :shock:


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 5th, 2017, 18:07 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
BGman wrote:
BGman wrote:
FormatUnit will erase all your data and will clear only Atr. 5 of the SMART data.
It takes me less than a minute to clear SMART of all Hitachi drives and it's always free for my clients.


You were told what to expect from FormatUnit !
The problem is that the script you were given can clear only a few attributes. I tried these commands on a relatively new HGST drive and the result was as yours. Then I used my old utility and it cleared all attributes , including POH ! :shock:


What "old" utility are you using ?

I would bet that the utility is just patching module instead of using VSC clear S.M.A.R.T. ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 5th, 2017, 18:08 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
tofurky wrote:
so as a last ditch effort (and because i was kind of planning on doing a secure erase anyways) i spent some time trying to get igor_me's IBM/Hitachi format program (i.e. Format Unit) working on windows 10 64-bit. somehow, after disabling integrity checks and enabling test signing via bcdedit, downloading the WinIo .dll/.sys 64-bit driver separately, and installing a utility that allows specifying locale (e.g. russian) on a per-program basis, i got the utility working and was able to translate the various text in the program using ocr+google translate.

well, 10 minutes into the format of the WD80EFAX and i get a blue screen "driver power state failure" and my pc reboots. now, the drive is not recognized. :oops: it is hooked up via esata with an external power supply, so the power wasn't necessarily cycled on the drive during the blue screen. i suspect it may still be executing the format and ignoring ata commands until it finishes.

does that sound right or even possible? i'd rather not interrupt the format if it's still going, because it'll probably crash again if i restart it. but i also don't want to wait 20 hours to see if the drive is actually formatted.


Use Vendor Specific Commands instead - http://www.hddoracle.com/viewtopic.php?f=21&t=2068

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 6th, 2017, 2:46 
Offline

Joined: September 30th, 2005, 7:33
Posts: 519
Spildit wrote:
I would bet that the utility is just patching module instead of using VSC clear S.M.A.R.T. ...


:shock: :shock: :shock:
Don't bet. It uses commands similar to yours.
For patching modules it needs SuperON command and a time machine to get it.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 6th, 2017, 15:22 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
BGman wrote:
Spildit wrote:
I would bet that the utility is just patching module instead of using VSC clear S.M.A.R.T. ...


:shock: :shock: :shock:
Don't bet. It uses commands similar to yours.
For patching modules it needs SuperON command and a time machine to get it.


I'm not understanding ....

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 6th, 2017, 15:24 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 8118
Location: Portugal
Are you saying that if you use format uint and then clear smart all attributes will be cleared ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: clear smart error log on wd red 8tb
PostPosted: September 6th, 2017, 16:19 
Offline

Joined: September 30th, 2005, 7:33
Posts: 519
Spildit wrote:
Are you saying that if you use format uint and then clear smart all attributes will be cleared ?

No. Format Unit can clear only attr. 5 , 196 and 197. The others can be cleared by a set of commands based on B0h command.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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