1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to: Copy and Replace Internal Hard Drive

Discussion in 'DIRECTV Tips and Resources' started by marty45714, Sep 25, 2007.

I have read the disclaimer and I understand that this process in NOT recommended

  1. YES - I agree I will not tamper with my leased equipment

    9.8%
  2. NO - I agree to accept full financial responsibility for breaking my Customer Agreement

    90.2%
  1. Sep 2, 2011 #401 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    That's your [human] error - the parameter 600sec (I used 300 sec) is a best indicator of progress.
    Another one - LEDs (I added those myself to 4 port SATA board to see activity on each drive) on each SATA channel.
     
  2. Sep 2, 2011 #402 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    yep, chalk up another human error.
    it's been running for 7hrs now. 850gb worth of data. (sata connection)
    the status hasnt changed once.
    How long do you think it needs? (or has it locked up)
    The new drive feels like data is being written to it. its not just spinning/i can feel the clickety clack of the arm in there..

    How do I properly shut it down if i want? It would be nice to use that pc today and try the copy again later..
     
  3. Sep 2, 2011 #403 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    Well after about 8hrs it errored out.
    It said:

    attempt to write 81920 bytes to viewer segments/rc rd-01-04-2009-1500-00-70-ch607-min65535-src2.mpg/0000000009364992 at offset 2097152 failed input/output error

    this error happened approx 15times then it said
    dump size (non-dir files) : 792000000000 bytes
    note: dump interupted: 28691 seconds elapsed
    dump status: interrupt
    bus error

    SO what i take from that is that the program i recorded on ch607 on 1-4-2009 has some sort of error and it couldnt copy it. SInce I can boot the hr20 with the old drive I should just do that and go and delete that recording.. then try to copy again. agree? disagree?
     
  4. Sep 2, 2011 #404 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    "attempt to write" - that means you have bad target drive;
    now back to the root/routine - run MHDD/Victoria Scan with Remap = On for the 'new' drive first; post SMART data after.
    Then we will talk about health of the drive ...
     
  5. Sep 2, 2011 #405 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    I downloaded victoria and this is the 1st time I used it..
    I went to the SMART tab but it couldnt read any smart data from the 3 drives connected to my pc. (one of course is the new dvr hdd)
    Not a surprise, when booted to windows this pc can never access SMART data.
    Went to the 'tests' tab and started a surface scan with remap on. it looks like i can only choose remap or erase, not both at the same time. it had 1-600 error at the start of the test but it's only 2% completed so it will be hrs before it's done.
     
  6. Sep 2, 2011 #406 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    That's why I mentioned MHDD (self bootable CD or USB stick) first ...

    If you are desperate to do clean drive - use Erase, it will trigger remap if the sector is bad.

    Cleaning first sector (MBR) would be enough after Scan will finish. For DVR's init.

    So, we need to check SMART after Scan ... two choices - make bootable MHDD CD [DL ISO] (or USB drive) and reconnect the drive to SATA interface, do not use USB.
     
  7. Sep 2, 2011 #407 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    Yeah I know you like MHDD but to save the log file you need to boot it from usb. That looks more complicated. Do you have a link to MHDD usb version?

    If erase is better (trigger remap) is it safe to stop the current scan?
    How did you know i had it connected via usb?
     
  8. Sep 2, 2011 #408 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    Nope, it not exist; you should find some program in Internet to format your USB stick as bootable; then copy MHDD on it (separate folder would be preferable), it's not that hard at all.

    Scan with Remap will do the job (just some ppl like erase the drive's sectors ) for finding bad sectors and remapping those.
    Those program (I've not seen any what can get SMART data thru USB) can't get SMART via USB.
    BTW, speed of testing, scanning, copy will be better if the both drives connected to SATA ports directly. I would say 10-25% difference.
     
  9. Sep 3, 2011 #409 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    family in town for the weekend, prob wont get back to this for a few days.
    i have the drives connected via sata for copying but scanning I went with usb so i could use the pc for regular use..
    thanks P. appreciate the help..
     
  10. Sep 7, 2011 #410 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    I've scanned the drive (erase//remap) using victoria. no errors.
    I've read smart data using mhdd. (pic attached)
    I've tried deleting the existing partitions using gparted and re-formatting using dvr (again).
    Tried copying one more time and it still ends up erroring out with the input/output error i posted above.. This time after a couple of hours not 8hrs.

    any ideas?

    what is the "-r option to resume restore" that gparted talks about?
     

    Attached Files:

  11. Sep 7, 2011 #411 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    Yeah, the SMART looks good (is item#200 last one ? j/c). Why not by Victoria ?
    If you still using USB, I would recommend to switch to direct SATA, may be a chip inside of USB enclosure failed after long continuous use.

    Time to scan your source drive (with remap) and taking SMART data before and after.
     
  12. Sep 7, 2011 #412 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    I am using direct sata connection for eveything now. I was only using it for scanning before. never for copying.
    SMART from the old drive is attached. (wd10eacs)

    Smart data cant be captured by victoria or the WD diag app with vista running on any of the drives connected internally.. Only on the external usb drives can it be read on my system.

    I'll now scan the old drive using victoria. Will erase/remap destroy any of the data on the drive? Will just using the remap setting keep everything intact?
    What exactly is re-mapped?
     
  13. Sep 7, 2011 #413 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    forgot the smart data
    SMART from the old drive is attached. (wd10eacs)
     

    Attached Files:

  14. Sep 7, 2011 #414 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    Wooo ... Not ERASE this time ! You'll kill your recordings !

    Use Scan with Remap, it will check each sector, if the sector is bad, drive's controller (not Victoria !) will try to read its content and copy to good sector, bad one will be hidden from any external reading. Your chance during reading bad sectors is 50-50. :)

    About 1TB drive: #197/198 = 55, it's warning sign, means at least 55 suspicious sectors waiting the remap procedure ...

    PS. You don't need run MHDD to get SMART - use Victoria; then press "Alt+PrtScn" buttons and paste it to MSPaint, crop and save it as PNG or JPEG,then attach to your post here.
     
  15. Sep 8, 2011 #415 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    victoria is now scanning & remapping the drive. about 13% into it it started having errors (sequentially) for 28 straight blocks.. (at this point) They've all been remapped but I''m not sure there's enough free space on the drive to remap very much data.. It was down to 8-10% free when it failed. (1TB drive)
    There's 850gb of data on the drive.

    I was afraid of that happening so I tried to boot it with the HR20 before i connected it to victoria to delete some recordings. It wouldnt boot. So we'll see what we end up with.

    Do you know if it will remap until it runs out of space? Then what?
    I think I need to send you a bottle of wine or something after this is over for helping so much. ARe you the dvr guru?? :)

    one thing I notice is that this old dvr drive gets much hotter than the other drives when in use..

    oh yeah, victoria isnt able to read smart data from any of my drives. thats what I was referring to in my earlier post.. mhdd is the only way I can see it..

    update: you were right about the 55 bad sectors. the scanning slowed down to a crawl while reading the data.. once those 55 were remapped (completed) it's back to scanning at light speed again..
     
  16. Sep 8, 2011 #416 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    We will see after it finished and you'll post new SMART.

    (and yes, I'm helping ppl in recovery data for those failed DVR drives, especially who not inclined to make all that lengthy steps what you doing now)
     
  17. Sep 8, 2011 #417 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    The scan hit 90% and now every LBA is an error. There's no indication of a completed remap. just error. The first one was detected at 445am and I paused the scan at around 945am so the errors are around 284k. The scan is still paused. It's not going to damage the data is it? It's just trying to read it?

    IS there a way to determine if the errors are unrecoverable vs. unable to remap becuz there isn't any free space to put it? becuz if it's out of free space I can always try to reboot again with dvr and remove some items..
     

    Attached Files:

  18. Sep 8, 2011 #418 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    The remap area holding 4k sectors max usually.
    Only SMART would tell us, if your drive close to that red line.
    Scan is good for your records, just the bad sectors factor is the culprit of your DVR failure and responsible for stall scan process.

    Those sectors are like potholes - if there was white line, it's gone, and if you has materials to patch it, you could restore pavement. If you see the line, you can paint it again.

    Well, I was rush to answer, didn't look at your picture ... Sorry, but the drive is in very bad shape: almost 300k errors ! Yikes.

    Stop PC and the drive, cool it down, get triple plastic bag of ice cubes, put on top of the drive, get SMART, post it here. Or fly/send it here. :)
     
  19. Sep 8, 2011 #419 of 750
    mocarob

    mocarob Legend

    275
    2
    Jul 26, 2007
    I'm not sure what that 1st line meant but here's what im gonna do.
    1. Stop the scan at 91%
    2. read SMART data
    3. boot using dvr delete stuff & then remap once more.
     
  20. Sep 8, 2011 #420 of 750
    P Smith

    P Smith Mr. FixAnything

    21,634
    145
    Jul 25, 2002
    W.Mdtrn Sea
    I just updated my post above ^.
     

Share This Page