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

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

    89.3%
  1. Nov 6, 2010 #261 of 761
    jangell2

    jangell2 Godfather

    311
    2
    Apr 6, 2004
    No, I wasn't going to do that. I did go ahead and do the restore and got the same results. I deleted a bunch of the warning mesages. Here they are:

    root@debian:~# mkdir /mnt/fap
    root@debian:~# mkdir /mnt/hr20
    root@debian:~# mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fap
    root@debian:~# mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20
    root@debian:~# xfsdump -J - /mnt/hr20 | xfsrestore -J -p 300 - /mnt/fap
    xfsrestore: using file dump (drive_simple) strategy
    xfsrestore: version 2.2.48 (dump format 3.0) - Running single-threaded
    xfsdump: using file dump (drive_simple) strategy
    xfsdump: version 2.2.48 (dump format 3.0) - Running single-threaded
    xfsdump: level 0 dump of debian:/mnt/hr20
    xfsdump: dump date: Sat Nov 6 19:04:13 2010
    xfsdump: session id: 7716ae1c-c2bc-4ff9-a7ee-250ac1663695
    xfsdump: session label: ""
    xfsrestore: searching media for dump
    xfsdump: ino map phase 1: constructing initial dump list
    xfsdump: ino map phase 2: skipping (no pruning necessary)
    xfsdump: ino map phase 3: skipping (only one dump stream)
    xfsdump: ino map construction complete
    xfsdump: estimated dump size: 700305320768 bytes
    xfsdump: creating dump session media file 0 (media 0, file 0)
    xfsdump: dumping ino map
    xfsdump: dumping directories
    xfsrestore: examining media file 0
    xfsrestore: dump description:
    xfsrestore: hostname: debian
    xfsrestore: mount point: /mnt/hr20
    xfsrestore: volume: /dev/sdb2
    xfsrestore: session time: Sat Nov 6 19:04:13 2010
    xfsrestore: level: 0
    xfsrestore: session label: ""
    xfsrestore: media label: ""
    xfsrestore: file system id: 30bda9af-0153-47b1-89de-41e7fe856e07
    xfsrestore: session id: 7716ae1c-c2bc-4ff9-a7ee-250ac1663695
    xfsrestore: media id: 12055b31-2e53-4ffb-891b-1aa50255e8d1
    xfsrestore: searching media for directory dump
    xfsrestore: reading directories
    xfsdump: dumping non-directory files
    xfsrestore: 960 directories and 67354 entries processed
    xfsrestore: directory post-processing
    xfsrestore: restoring non-directory files

    xfsrestore: status at 19:09:13: 871/66185 files restored, 1.8% complete, 300 seconds elapsedxfsrestore: status at 19:09:13: 871/66185 files restored, 1.8% complete, 300 seconds elapsed
    xfsrestore: status at 19:14:13: 1722/66185 files restored, 3.5% complete, 600 seconds elapsedxfsdump: WARNING: could not open regular file ino 112629 mode 0x000081ed: Input/output error: not dumped
    xfsdump: WARNING: could not open regular file ino 112630 mode 0x000081ed: Input/output error: not dumped
    xfsdump: WARNING: could not open regular file ino 112631 mode 0x000081ed: Input/output error: not dumped
    xfsdump: WARNING: could not open regular file ino 112632 mode 0x000081ed: Input/output error: not dumped
    xfsdump: WARNING: could not open regular file ino 112633 mode 0x000081ed: Input/output error: not dumped
    xfsdump: syssgi( SGI_FS_BULKSTAT ) on fsroot failed: Input/output error
    xfsdump: dump size (non-dir files) : 34202676848 bytes
    xfsdump: NOTE: dump interrupted: 856 seconds elapsed
    xfsdump: Dump Status: INTERRUPT
    xfsrestore: attempt to read 20992 bytes failed: end of recorded data
    xfsrestore: restore complete: 857 seconds elapsed
    xfsrestore: Restore Status: SUCCESS
    root@debian:~#
    root@debian:~#
     
  2. Nov 6, 2010 #262 of 761
    ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    It is interesting that it states SUCCESS when it obviously hasn't succeeded.
    Try the repair again:
    xfs_repair -r /dev/sdb3 /dev/sdb2
    Then, try the restore again.
    If still unsuccessful, either try one of the hard drive tools listed by P Smith here:
    http://www.dbstalk.com/showthread.php?p=2504350#post2504350
    or use the DVR's advanced hard drive utilities that I linked in post 252:
    http://www.dbstalk.com/showthread.php?p=2614471#post2614471
    Of course you can skip the red button reboot, since you'll be able to enter that mode as you are powering it on.
     
  3. Nov 7, 2010 #263 of 761
    jangell2

    jangell2 Godfather

    311
    2
    Apr 6, 2004
    I'm quoting this message from earlier in the thread because the error messages are very similar to mine. I have been PMing with the poster and he tells me the problem was with the new recipient drive, not the old source drive. Once he replaced his new Toshiba with a new drive, he was able to do a successful restore to a new drive.

    One thing that has bugged me about these messages is, at least to my eyes, they don't specify the drive that is causing the problem.

    Considering this new info, should I consider the possibility of my new WD20EVDS as being the problem?
     
  4. Nov 7, 2010 #264 of 761
    P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
    Run MHDD or use Victoria - do SMART fog then Scan with Remap=on then take SMART log again and post those two.
     
  5. Nov 7, 2010 #265 of 761
    ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    The errors are pretty much the same. However, his Toshiba drive was likely the problem because of the special virtual cd partition. The Western Digital EVDS series drives, on the other hand, are widely reported as a great choice for these DVRs on this forum. In post 222 you said the drive was a Seagate. Did you mean the source drive was a seagate, and was it a 750GB Free Agent Pro? People that have had those for a while a noticing that they are failing now. If that drive is the problem, you may be able to extract it from the enclosure (destructive process) to increase your chances of success. Was your new drive a bare drive or packaged in a retail box? The chances are higher that it was damaged in shipping if it was something like Neweggs crappy bare drive packaging. If you have use for another drive, it wouldn't hurt to buy one a try it to see if it fairs better. Also, it you already happen to have a drive with at least as much capacity as was used on the original drive (750GB or higher capacity), you can try that instead. Otherwise, consider trying the tools P Smith recommends on both drives.
     
  6. Nov 7, 2010 #266 of 761
    jangell2

    jangell2 Godfather

    311
    2
    Apr 6, 2004
    I meant the source drive. The old source drive is a ST31000340NS. I might have bought it from New Egg. Definitely not an FAP. And yeah, I agree the EVDS drives are getting good revues here, that's why I bought it.

    You'd think the software could at least specify what drive is producing the messages. I've noticed over the years, that developers seem to take pride in making messages obscure.
     
  7. Nov 8, 2010 #267 of 761
    jangell2

    jangell2 Godfather

    311
    2
    Apr 6, 2004
    This morning I had difficulty booting up my PC. I had to do a cold restart and then it went into a repair function. I eventually got it up and running. The only thing I'd done to the computer recently is to unplug my hard drives and plug in the two DVR drives and run gparted.

    I don't think gparted did anything to my PC but perhaps the many, and I do mean many, plug and unplug of hard drives introduced some flakiness into my system drive. I have therefor decided to not pursue restoring to the new DVR drive anymore. It's getting too risky with too little chance of success.

    I want to thank ntrance and P Smith for all their help. The process didn't fail for lack of help. It failed because I'm not a linux person and perhaps because the source drive is just too flakey.

    I will just install the new drive and perhaps on occasion try to boot up the old drive watch programs we would other wise miss.

    Again, my hearty thanks to you.
     
  8. Nov 8, 2010 #268 of 761
    P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
    It's sad we didn't reach a point of understanding and didn't reach the goal.
     
  9. Nov 8, 2010 #269 of 761
    jangell2

    jangell2 Godfather

    311
    2
    Apr 6, 2004
    I am sorry too. I was just getting ready to post here with something kinda weird. I've got the new drive up and running and thought I was going to have set up the series manager all over again. But, no, it's already populated with all my programs.

    I've got no recorded programs copied over, but it did successfully put something on the disk, my series manager entries. I have also recorded one program and played it back successfully to verify the new hard works.
     
  10. orion7144

    orion7144 Mentor

    46
    0
    Oct 22, 2003
    Has anyone tried DD to copy a bit for bit yet? I have an upgrade coming for my HR21-100 this week and am very familiar with linux and always use DD to backup my drives.
     
  11. CCarncross

    CCarncross Hall Of Fame

    7,058
    60
    Jul 19, 2005
    Jackson
    SOmeone might have tried, but we know that the gparted method works flawlessly so most of us try not to re-invent the wheel if its still rolling.
     
  12. P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
    What advantage of using DD ? Isn't both drives should be identical for use the method ?
     
  13. ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    It's been tried, and it doesn't work. You can read the original thread if you want more details:
    http://www.dbstalk.com/showthread.php?t=100894
     
  14. PhoneGeek

    PhoneGeek New Member

    6
    0
    Nov 27, 2010
    So I have read both the original thread and this one entirely and while not throughly confused I am looking for some clarification on what type of hard disk to use. I recently picked up a couple of new 2TB disks just to have on the shelf because the price was right and was thinking of using one of them to replace the internal drive on my HR23.

    The new drive I am looking to use is: Seagate Barracuda LP ST32000542AS 2TB 5900 RPM 32MB Cache SATA 3.0Gb/s 3.5"

    I have seen some people in the thread use some specific types of drives and others that have used whatever is the best deal of the week with various forms of success.

    I am not looking to copy all the data from the existing drive to the new one, (it's just full of my wifes garbage anyway, housewives of someplace I don't care about, etc) I just mostly want to actually be able to use the DVR to record stuff I want to watch without having to worry about deleting something of hers....

    Thanks!
     
  15. P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
  16. ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    He probably wants a thread pertaining to drives for DirecTV boxes:
    http://www.dbstalk.com/showthread.php?t=92029

    BTW, not that it means much coming from 1 person, but I had that particular drive fail on me:
    http://www.dbstalk.com/showthread.php?p=2312584#post2312584
     
  17. rick52768

    rick52768 Mentor

    33
    0
    Oct 11, 2008
    Hunting through the forum I could not find the answer to my strange request, nothing new there. Could I copy a folder(show) that my wife wants to keep to another drive, maybe the internal hard drive if it can hold the folder. The reason I ask is i have an enternal hard drive 1.5TB gets >70% full or more quickly and runs like a one legged turtle when that happens. Wife has a project in which a certain show will be helpful, but is not needed at this moment. Will be watched one day on this DVR. So can it been done and if so, how? Thanks

    PS. hopefully your replies will not be for nothing as my external drive started giving me a 75-175 error. Cannot do anything but watch what channel the dvr was left on last. No playlist, channel changing, nothing. But works fine from the internal hard drive. Have some friends looking to see if the hard drive is toast as I cannot even see it when it is hooked to my computer, including with knoppix. If not now, will I get my replacement drive it will be important and likely to others as well. I cannot be the only person to ask such a question, possible or not. Thanks again
     
  18. P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
    Try boot from CD with MHDD or run Victoria under Windows - check/post SMART log.

    There is no such method developed to help you with selected recording(s).
     
  19. Richierich

    Richierich Hall Of Fame

    8,489
    7
    Jan 10, 2008
    Hopefully, Directv will allow us in the Future to Offload Recordings in an Archival Mode so in the unfortunate event of losing an Internal Hard Drive we can Replace our Internal Hard Drive and then Restore our Offloaded/Archived Recordings back to the New Hard Drive on the DVR.

    This would be a WIN/WIN SITUATION for Directv and for Directv's Customer such as you who are losing a Hard Drive and need to replace it without losing all of your recordings.

    Of course this direction is up to Directv but it would be Nice!!!
     
  20. P Smith

    P Smith Mr. FixAnything

    22,441
    224
    Jul 25, 2002
    W.Mdtrn Sea
    Dream, dream ... sweet dreams last couple years ... :)
     

Share This Page