dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
66

koitsu
MVM
join:2002-07-16
Mountain View, CA
Humax BGW320-500

koitsu to rockisland

MVM

to rockisland

Re: Bad Hard Drive(s) / Raid Array

smartctl -x -d usbjmicron /dev/sde may have worked. smartmontools has support for a few USB-SATA bridges (JMicron chips being one of them), but each JMicron chip is different, so sometimes it works, sometimes it doesn't. It all depends on the enclosure -- it's why using USB-based enclosures is not a decent way to do forensics. The -d flag basically gives a hint as to how to communicate with the underlying device; the auto-detection for USB-SATA bridges does not always work correctly, especially on Windows.

WMAP41573589 indicates (via 0xC6) that there has been 1 LBA which the drive could not read nor auto-correct using the ECC section of the sector, and as such (via 0xC5), that LBA has been marked "suspect" (is no longer readable). The data stored in that sector (512 bytes) is lost. The only way to get the drive to re-analyse the LBA (to determine if it's actually OK or if it needs to be remapped to a spare sector) is to issue a write to it. There are many ways to go about doing this if you don't want to do an RMA (and IMO one sector being potentially unreadable after 16,000 hours of use is reasonable). I see no other problems with the drive. I would say this drive is probably the one causing you grief. Let me know how you want to proceed.

WMAP41592444 looks perfectly healthy at this point in time.
rockisland
Premium Member
join:2008-12-15
Friday Harbor, WA

2 edits

rockisland

Premium Member

said by koitsu:

smartctl -x -d usbjmicron /dev/sde may have worked.

Certainly got a lot more output with that command.
This is the disk with Ser. #WMAP41573589

If the Linux live disk option no longer works and Smartmontools doesn't work with NVIDIA RAID I don't have a lot of choice to determine which disk might be bad except to use the enclosure.

When this disk goes into the enclosure I don't get the message that the disk needs to be formatted before it can be used. The others disk generated that message.

APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Disabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
 
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
 
General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
 
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                ( 4783) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off supp
ort.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  72) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x103f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.
 
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     PO-R--   200   200   051    -    0
  3 Spin_Up_Time            POS---   167   160   021    -    4675
  4 Start_Stop_Count        -O--CK   100   100   040    -    847
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -O-R--   200   200   051    -    0
  9 Power_On_Hours          -O--CK   078   078   000    -    16284
 10 Spin_Retry_Count        -O--C-   100   100   051    -    0
 11 Calibration_Retry_Count -O--C-   100   100   051    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    683
194 Temperature_Celsius     -O---K   125   102   000    -    22
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--C-   200   200   000    -    1
198 Offline_Uncorrectable   -O--C-   200   200   000    -    1
199 UDMA_CRC_Error_Count    -O-R--   200   253   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   051    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning
 
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA commands not s
upported
Read GP Log Directory failed
 
SMART Log Directory Version 1 [multi-sector log support]
SMART Log at address 0x00 has    1 sectors [Log Directory]
SMART Log at address 0x01 has    1 sectors [Summary SMART error log]
SMART Log at address 0x02 has    2 sectors [Comprehensive SMART error log]
SMART Log at address 0x06 has    1 sectors [SMART self-test log]
SMART Log at address 0x09 has    1 sectors [Selective self-test log]
SMART Log at address 0x80 has   16 sectors [Host vendor specific log]
SMART Log at address 0x81 has   16 sectors [Host vendor specific log]
SMART Log at address 0x82 has   16 sectors [Host vendor specific log]
SMART Log at address 0x83 has   16 sectors [Host vendor specific log]
SMART Log at address 0x84 has   16 sectors [Host vendor specific log]
SMART Log at address 0x85 has   16 sectors [Host vendor specific log]
SMART Log at address 0x86 has   16 sectors [Host vendor specific log]
SMART Log at address 0x87 has   16 sectors [Host vendor specific log]
SMART Log at address 0x88 has   16 sectors [Host vendor specific log]
SMART Log at address 0x89 has   16 sectors [Host vendor specific log]
SMART Log at address 0x8a has   16 sectors [Host vendor specific log]
SMART Log at address 0x8b has   16 sectors [Host vendor specific log]
SMART Log at address 0x8c has   16 sectors [Host vendor specific log]
SMART Log at address 0x8d has   16 sectors [Host vendor specific log]
SMART Log at address 0x8e has   16 sectors [Host vendor specific log]
SMART Log at address 0x8f has   16 sectors [Host vendor specific log]
SMART Log at address 0x90 has   16 sectors [Host vendor specific log]
SMART Log at address 0x91 has   16 sectors [Host vendor specific log]
SMART Log at address 0x92 has   16 sectors [Host vendor specific log]
SMART Log at address 0x93 has   16 sectors [Host vendor specific log]
SMART Log at address 0x94 has   16 sectors [Host vendor specific log]
SMART Log at address 0x95 has   16 sectors [Host vendor specific log]
SMART Log at address 0x96 has   16 sectors [Host vendor specific log]
SMART Log at address 0x97 has   16 sectors [Host vendor specific log]
SMART Log at address 0x98 has   16 sectors [Host vendor specific log]
SMART Log at address 0x99 has   16 sectors [Host vendor specific log]
SMART Log at address 0x9a has   16 sectors [Host vendor specific log]
SMART Log at address 0x9b has   16 sectors [Host vendor specific log]
SMART Log at address 0x9c has   16 sectors [Host vendor specific log]
SMART Log at address 0x9d has   16 sectors [Host vendor specific log]
SMART Log at address 0x9e has   16 sectors [Host vendor specific log]
SMART Log at address 0x9f has   16 sectors [Host vendor specific log]
SMART Log at address 0xa0 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa1 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa2 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa3 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa4 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa5 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa6 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa7 has   16 sectors [Device vendor specific log]
SMART Log at address 0xa8 has    1 sectors [Device vendor specific log]
SMART Log at address 0xa9 has    1 sectors [Device vendor specific log]
SMART Log at address 0xaa has    1 sectors [Device vendor specific log]
SMART Log at address 0xab has    1 sectors [Device vendor specific log]
SMART Log at address 0xac has    1 sectors [Device vendor specific log]
SMART Log at address 0xad has    1 sectors [Device vendor specific log]
SMART Log at address 0xae has    1 sectors [Device vendor specific log]
SMART Log at address 0xaf has    1 sectors [Device vendor specific log]
SMART Log at address 0xb0 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb1 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb2 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb3 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb4 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb5 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb6 has    1 sectors [Device vendor specific log]
SMART Log at address 0xb7 has    1 sectors [Device vendor specific log]
SMART Log at address 0xc0 has    1 sectors [Device vendor specific log]
SMART Log at address 0xe0 has    1 sectors [SCT Command/Status]
SMART Log at address 0xe1 has    1 sectors [SCT Data Transfer]
 
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
 
SMART Error Log Version: 1
ATA Error Count: 1
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
 
Error 1 occurred at disk power-on lifetime: 16270 hours (677 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle
.
 
  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 08 97 6b 9f 40  Error: UNC 8 sectors at LBA = 0x009f6b97 = 10447767
 
  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 01 08 97 6b 9f 41 00      00:00:32.250  READ DMA EXT
  25 01 08 87 dc 9e 41 00      00:00:32.250  READ DMA EXT
  25 01 01 4e ea a7 46 00      00:00:32.250  READ DMA EXT
  25 01 01 4e ea a7 46 00      00:00:32.250  READ DMA EXT
  61 01 00 ee 89 77 41 00      00:00:32.250  WRITE FPDMA QUEUED
 
SMART Extended Self-test Log (GP Log 0x07) not supported
 
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA
_of_first_error
# 1  Short offline       Completed without error       00%     15315         -
# 2  Short offline       Completed without error       00%     13596         -
# 3  Short offline       Completed without error       00%     12376         -
# 4  Short offline       Completed without error       00%     12329         -
# 5  Conveyance offline  Completed without error       00%      1332         -
 
SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
SCT Status Version:                  2
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                 22 Celsius
Power Cycle Max Temperature:         22 Celsius
Lifetime    Max Temperature:         53 Celsius
SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      5/55 Celsius
Min/Max Temperature Limit:            1/60 Celsius
Temperature History Size (Index):    128 (121)
 
Index    Estimated Time   Temperature Celsius
 122    2012-12-17 12:09    36  *****************
 123    2012-12-17 12:10    36  *****************
 124    2012-12-17 12:11    37  ******************
 ...    ..(  8 skipped).    ..  ******************
   5    2012-12-17 12:20    37  ******************
   6    2012-12-17 12:21    38  *******************
   7    2012-12-17 12:22    37  ******************
   8    2012-12-17 12:23    38  *******************
   9    2012-12-17 12:24    37  ******************
  10    2012-12-17 12:25    38  *******************
 ...    ..(  3 skipped).    ..  *******************
  14    2012-12-17 12:29    38  *******************
  15    2012-12-17 12:30    37  ******************
  16    2012-12-17 12:31    38  *******************
 ...    ..( 21 skipped).    ..  *******************
  38    2012-12-17 12:53    38  *******************
  39    2012-12-17 12:54    39  ********************
  40    2012-12-17 12:55    39  ********************
  41    2012-12-17 12:56    38  *******************
  42    2012-12-17 12:57    38  *******************
  43    2012-12-17 12:58    39  ********************
  44    2012-12-17 12:59    39  ********************
  45    2012-12-17 13:00    39  ********************
  46    2012-12-17 13:01    38  *******************
  47    2012-12-17 13:02    38  *******************
  48    2012-12-17 13:03    39  ********************
 ...    ..( 10 skipped).    ..  ********************
  59    2012-12-17 13:14    39  ********************
  60    2012-12-17 13:15    38  *******************
  61    2012-12-17 13:16    39  ********************
 ...    ..( 12 skipped).    ..  ********************
  74    2012-12-17 13:29    39  ********************
  75    2012-12-17 13:30    38  *******************
  76    2012-12-17 13:31    39  ********************
 ...    ..(  5 skipped).    ..  ********************
  82    2012-12-17 13:37    39  ********************
  83    2012-12-17 13:38     ?  -
  84    2012-12-17 13:39    21  **
  85    2012-12-17 13:40    22  ***
  86    2012-12-17 13:41    22  ***
  87    2012-12-17 13:42    23  ****
  88    2012-12-17 13:43     ?  -
  89    2012-12-17 13:44    24  *****
  90    2012-12-17 13:45    24  *****
  91    2012-12-17 13:46     ?  -
  92    2012-12-17 13:47    25  ******
  93    2012-12-17 13:48    26  *******
  94    2012-12-17 13:49    27  ********
  95    2012-12-17 13:50    28  *********
  96    2012-12-17 13:51    29  **********
  97    2012-12-17 13:52     ?  -
  98    2012-12-17 13:53    22  ***
  99    2012-12-17 13:54     ?  -
 100    2012-12-17 13:55    23  ****
 101    2012-12-17 13:56     ?  -
 102    2012-12-17 13:57    23  ****
 103    2012-12-17 13:58     ?  -
 104    2012-12-17 13:59    25  ******
 105    2012-12-17 14:00    25  ******
 106    2012-12-17 14:01     ?  -
 107    2012-12-17 14:02    22  ***
 108    2012-12-17 14:03    22  ***
 109    2012-12-17 14:04    23  ****
 110    2012-12-17 14:05    25  ******
 111    2012-12-17 14:06    25  ******
 112    2012-12-17 14:07    26  *******
 113    2012-12-17 14:08    27  ********
 114    2012-12-17 14:09    28  *********
 115    2012-12-17 14:10    29  **********
 116    2012-12-17 14:11    30  ***********
 117    2012-12-17 14:12    31  ************
 118    2012-12-17 14:13    32  *************
 119    2012-12-17 14:14    32  *************
 120    2012-12-17 14:15     ?  -
 121    2012-12-17 14:16    22  ***
 
Write SCT (Get) Error Recovery Control Command failed: ATA output registers not supported
SCT (Get) Error Recovery Control command failed
 
Device Statistics (GP Log 0x04) not supported
 
ATA_READ_LOG_EXT (addr=0x11:0x00, page=0, n=1) failed: 48-bit ATA commands not supported
Read SATA Phy Event Counters failed
 

As far as how to proceed - what makes sense to you? I'm open to any suggestions.

koitsu
MVM
join:2002-07-16
Mountain View, CA
Humax BGW320-500

koitsu

MVM

ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
...
  9 Power_On_Hours          -O--CK   078   078   000    -    16284
...
197 Current_Pending_Sector  -O--C-   200   200   000    -    1
198 Offline_Uncorrectable   -O--C-   200   200   000    -    1
...
SMART Error Log Version: 1
ATA Error Count: 1
...
Error 1 occurred at disk power-on lifetime: 16270 hours (677 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle
.
  
  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 08 97 6b 9f 40  Error: UNC 8 sectors at LBA = 0x009f6b97 = 10447767
  
  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 01 08 97 6b 9f 41 00      00:00:32.250  READ DMA EXT
  25 01 08 87 dc 9e 41 00      00:00:32.250  READ DMA EXT
  25 01 01 4e ea a7 46 00      00:00:32.250  READ DMA EXT
  25 01 01 4e ea a7 46 00      00:00:32.250  READ DMA EXT
  61 01 00 ee 89 77 41 00      00:00:32.250  WRITE FPDMA QUEUED
 

This clearly indicates a failed read at LBA 10447767. The drive itself detected this condition during a series of 48-bit LBA READ CDBs. The I/O error happened roughly 14 hours ago, and what you see in attributes 197 and 198 are a result of this.

So how do you want to proceed? (See second paragraph)
rockisland
Premium Member
join:2008-12-15
Friday Harbor, WA

rockisland

Premium Member

My question is whether you think the drive is salvageable or will it always be suspect and I'd be better off replacing it. If it's worth a shot I'd give writing to it a try. It can't hurt anything at this point.

Then what to do with the drive with 30 Ultra DMA CRC Errors in 94 hours of use? That seems like too much especially when compared to the other drives with many times the hours of use. That one may actually be under warranty because it was a replacement last year.

koitsu
MVM
join:2002-07-16
Mountain View, CA
Humax BGW320-500

koitsu

MVM

said by rockisland:

My question is whether you think the drive is salvageable or will it always be suspect and I'd be better off replacing it. If it's worth a shot I'd give writing to it a try. It can't hurt anything at this point. :)

From my perspective there's absolutely nothing anomalous about the drive aside from at least 1 sector that may or may not be bad (won't know until a write is issued to the LBA). Your choices here:

1. Zero the entire drive (writing zeros to every LBA). HD Tune Pro can do this via the Erase tab, or you can use whatever other utility you want (CCleaner for example has this feature too). FORMAT will not do this (at least not on XP), nor will Disk Management. Take a screenshot/snapshot of the SMART attributes before and after the drive is erased. I can do the post-analysis from there.

This choice has the advantage of detecting and dealing with any other LBAs/sectors that may cause issues. Meaning: right now you only know of one, but there may be others (on other areas of the drive you haven't used yet).

On the downside, zeroing the entire drive takes a while.

I tend to recommend this method because it's easiest and can also reveal other sectors that may have issues.

I also tend to recommend that after zeroing, you issue a Error Scan (if using HD Tune Pro) of every LBA on the disk (i.e. un-check the Quick checkbox). This takes a while too, but ensures that every LBA is readable before you put the drive back into the array.

2. Issue a write to the individual LBA that the drive has issues with (LBA 10447767). The drive will re-analyse the individual sector and either remap the LBA to a spare or decide the sector is fine and keep the existing mapping.

This has the advantage of being very quick to do (a single write takes milliseconds), and does not require you to have to back up any data from the drive to begin with (latter doesn't apply in your case since it's used for RAID).

On the downside, doing this is tricky and requires familiarity with tools such as dd (I don't trust any other utility) and exactly what arguments to use (messing these up or omitting one can result in the entire drive being zeroed). You also have to read from that individual LBA first -- why? Because I have seen cases where the drive firmware says LBA X while the OS insists LBA X is perfectly fine and it's LBA X+1 which has the issue (don't ask; this is not an off-by-one mistake, this is just downright something bizarre that I've seen reported here).

In general, on RAID arrays where checksumming filesystems are not used (i.e. NTFS, FAT, ext2, ext3, ext4, etc.), I do not recommend this method unless after doing so you immediately tell the RAID management software to nuke the metadata on the disk and rebuild the array entirely with that drive (i.e. treat the now-repaired drive as a new disk). Failure to do this can/will result in one of your files, when read, returning 512 bytes of zeros where there was previously data. What file is also unknown/undetermined. There's nothing you can do about this situation, sadly (think about the situation if it was a standalone, non-RAID disk).

3. RMA the drive (preferably an Advanced RMA, since it ensures you get a replacement drive first, which you can test fully before sending the other drive back).

This has the advantage of being the simplest choice and usually the least painful, i.e. box the drive up and ship it off.

On the downside, Advanced RMA requires that you have a credit card handy (in case they don't receive the bad drive you get charged for the new one, at a significantly increased price), that you have proper shipping materials (anti-static peanuts/foam, anti-static bags, sturdy box, etc.) for the bad drive, and that it takes about a week to get the replacement drive. The other downside is that if you do this over the phone (please try to avoid that) you have to "prove" to the person you speak to that the drive is bad. They also ask you the question "is this drive in a RAID array?" to which you should answer NO. I've ranted about this sneaky/tricky question in a DSLR/BBR post in the past; I can dig it up if you want. Just answer no and move on. Their website, AFAIK, does not ask this question. For the RMA reason, just say "bad sectors".
said by rockisland:

Then what to do with the drive with 30 Ultra DMA CRC Errors in 94 hours of use? That seems like too much especially when compared to the other drives with many times the hours of use. That one may actually be under warranty because it was a replacement last year.

I already answered this. Quote:
said by koitsu:

... If you really did replace the drive 92 hours ago, I recommend waiting until the next array degradation event happens and then see if the CRC error count [has] increased. ...

rockisland
Premium Member
join:2008-12-15
Friday Harbor, WA

rockisland

Premium Member

Not sure what HD Tune did but the drive seems to be really toasted now. The Erase function didn't take very long at all and filled the entire screen with red segments.
The full error scan took seconds and likewise filled the screen with red segments and now the drive no longer shows up in HD Tune.

CCleaner is unusable because the drive doesn't have a drive letter assigned to it.

C:\Users\Martye>smartctl -x -d usbjmicron /dev/sde
smartctl 6.0 2012-10-10 r3643 [x86_64-w64-mingw32-win7-sp1] (sf-6.0-1)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org
 
Smartctl open device: /dev/sde [USB JMicron] failed: \\.\PhysicalDrive4: Open failed, Error=2
 

I think we killed it. :)

koitsu
MVM
join:2002-07-16
Mountain View, CA
Humax BGW320-500

koitsu

MVM

HD Tune Pro didn't "do anything" in that case. The drive is not dead. The drive is in the same condition as before.

The problem you saw many have experienced, including myself -- and to me, this further indicates it's more of a Windows I/O subsystem problem, not an HD Tune Pro problem, because I experienced it with two separate utilities, then without disconnecting/reconnecting the CF card, used a completely different utility which worked fine.

Proof (read, do not skim): »Re: Repair or Replace Disk Warning on Brand New WD Caviar Black.

I can step you through using dd on Windows (as shown in my post, it does work -- link to software) if you'd like. Be aware if you screw this up you can completely destroy all contents of a drive, so you need to be cautious. Start with dd --list and provide the full output here. If the output is multiple pages, please use dd --list > C:\list.txt then open C:\list.txt in Notepad and copy/paste the contents here.

If you aren't sure which drive is the correct one, disconnect the drive (unplug the USB connector), wait 15 seconds, then re-run dd --list and compare the new output to the old. It should become fairly obvious which device is relevant. If it isn't, please attach both outputs (from when the drive is attached, and from when the drive is not attached).

Again: I can help you through this, but you need to be patient.

In general, blame Windows for it's nonsense/bugs/whatever, and the fact that there are not any good utilities of this sort. (I have some others I could recommend but they do stupid things like require you to unplug/replug the device for absolutely no good reason). Using Windows for forensics/repair -- serious PITA.
rockisland
Premium Member
join:2008-12-15
Friday Harbor, WA

2 edits

rockisland

Premium Member

I'm assuming that destroying drive contents is not an issue as this disk is a member of a RAID array. If the disk is erased it should be no different than replacing it with a new drive and letting the array rebuild. We already tried to erase it with HD Tune.

=> dd software- 0.6 beta or 0.5?

I will need you to walk me through (and thank you for offering) as I am absolutely horrible with command prompts.

Addendum: I got 0.5.zip; extracted it hit run on dd.exe and got a command prompt type window. typed in dd --list hit enter and and got nothing except another copy of the text dd --list.

koitsu
MVM
join:2002-07-16
Mountain View, CA
Humax BGW320-500

koitsu

MVM

First paragraph: correct. The whole premise here is to get the drive to either remap the LBA to a new sector (if the sector is determined as bad) or to clear the "suspect" state (i.e. existing sector is fine). That's all we're effectively trying to do.

0.6 beta is fine.

You need to extract dd.exe from the .zip file and place it somewhere (like C: or wherever you want; C:\ makes it easier). Then launch Command Prompt, and navigate to that path by selecting the drive letter and changing into the directory, i.e. for C:\ :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
 
C:\Documents and Settings\jdc>C:
 
C:\Documents and Settings\jdc>cd \
 
C:\>
 

From there run dd --list. You should get output that roughly resembles this:

C:\>dd --list
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
 
Win32 Available Volume Information
\\.\Volume{03ad2fc1-3b45-11e2-bf5c-806d6172696f}\
  link to \\?\Device\HarddiskVolume1
  fixed media
  Mounted on \\.\c:
 
\\.\Volume{03ad2fc2-3b45-11e2-bf5c-806d6172696f}\
  link to \\?\Device\HarddiskVolume2
  fixed media
  Mounted on \\.\d:
 
\\.\Volume{03ad2fc0-3b45-11e2-bf5c-806d6172696f}\
  link to \\?\Device\CdRom0
  CD-ROM
  Mounted on \\.\e:
 
\\.\Volume{fa47b5c0-3b8c-11e2-a637-806d6172696f}\
  link to \\?\Device\CdRom1
  CD-ROM
  Mounted on \\.\f:
 
NT Block Device Objects
\\?\Device\CdRom0
  size is 6682574848 bytes
\\?\Device\CdRom1
  size is 4347138048 bytes
\\?\Device\Harddisk0\Partition0
  link to \\?\Device\Harddisk0\DR0
  Fixed hard disk media. Block size = 512
  size is 120034123776 bytes
\\?\Device\Harddisk0\Partition1
  link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk1\Partition0
  link to \\?\Device\Harddisk1\DR1
  Fixed hard disk media. Block size = 512
  size is 1000204886016 bytes
\\?\Device\Harddisk1\Partition1
  link to \\?\Device\HarddiskVolume2
 
Virtual input devices
 /dev/zero   (null data)
 /dev/random (pseudo-random data)
 -           (standard input)
 
Virtual output devices
 -           (standard output)
 /dev/null   (discard the data)
 

This is the output I'm looking for, specifically one for when the drive is attached to the system, and one for when it isn't (to determine what the correct \\?\Device\xxx entry is).

To resize the Command Prompt window, please follow this guide:

»physiology.med.unc.edu/w ··· mpt.html

I see that dd doesn't output to stdout (he must be writing to the buffer directly, for no good reason), so redirecting to a file doesn't work. Sigh. I'll have to mail the author about that -- that is just downright stupid, especially for a utility that's supposed to emulate a *IX system, and I'm going to have choice words with him about that.

For now, to copy the contents of the Command Prompt window, please follow one of these guides:

»www.microsoft.com/resour ··· mfr=true
»www.megaleecher.net/Copy ··· s_Window

Then paste the output into a Notepad window and choose Paste and save the results somewhere (doesn't matter where). Do this once with the drive attached, and once with the drive detached, so you'll have 2 files (duh). Then upload each file here using the Preview/Attach button and let me review the rest.

If all of this is too complex/too annoying/doesn't work, I have another alternative program (GUI-based) that I could step you through, but I've never used it for erasing drives (though I do use some of the author's other software) so I don't know if it would have the same issue as HD Tune Pro or Active@ Kill Disk.
rockisland
Premium Member
join:2008-12-15
Friday Harbor, WA

rockisland

Premium Member

not_attached.txt
3,157 bytes
attached.txt
3,322 bytes
I had dd 0.5 so that is what I used.
Almost nothing is too complex if I have instructions; I'm pretty good at following directions.

txt files attached.