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.5%
  2. NO - I agree to accept full financial responsibility for breaking my Customer Agreement

    89.5%
  1. Rtm

    Rtm Godfather

    413
    2
    Oct 18, 2011
    My genie hard drive seems to have 4 partitions anyone done a genie hard drive and it worked for them?
     
  2. SomeRandomIdiot

    SomeRandomIdiot Godfather

    1,348
    37
    Jan 6, 2009
    I have done a 1TB Genie HD to a 2TB Genie HD using 0.3.7-7 without an issue.

    However, myself and Inkhaus are having an issue going to a larger drive than 2TB in a different thread.

    I will post it here as well for input.



     
  3. inkahauts

    inkahauts Well-Known Member

    22,531
    1,087
    Nov 13, 2006
    One thing I need to mention. When I prepped the new 4tb drive in the hr44 it didn't register all 4tb. It left 2 alone. So I erased it and reprepped it in my HR34. That found all 4tb of it.


    Sent from my iPhone using DBSTalk
     
  4. SomeRandomIdiot

    SomeRandomIdiot Godfather

    1,348
    37
    Jan 6, 2009
    After several hours of failure, where GPart 0.16.1-1 complains from the first mkdir /mnt/fap that you have to be in root, using Google and trial and error, before the first mkdir command you need to type the command sudo -i to run the shell in root mode. After this is done, all the commands from mkdir /mnt/fap forward run correctly.

    However, I have yet to get a successful copy yet and giving up for the night (or morning as it is now).
     
  5. f13dfx

    f13dfx Cool Member

    36
    0
    Apr 9, 2007
    Hello ALL!

    Been away so long that I forgot about this thread. Now I need advice :).

    The stock internal hard drive in my HR23-700 has given up the ghost. I had wanted to replace it anyway.

    Would the Western Digital 2TB Green Caviar HDD be the best one for an internal replacement?

    Is it as simple as opening the receiver (I have read the implications :)) & replacing the old drive & just plugging in the receiver & letting it do it's thing as far as formatting the drive & whatever happens after that.....having it pickup my dish config until I get video. I don't want to bother with keeping my old recordings.

    Your replies & advice are greatly appreciated!
     
  6. marty45714

    marty45714 Godfather

    417
    1
    Dec 15, 2006
    It's unbelievable to me that this thread lives on after 6 plus years. Thanks, all!

    Sent from my SM-N900V using DBSTalk mobile app
     
  7. CCarncross

    CCarncross Hall Of Fame

    7,058
    60
    Jul 19, 2005
    Jackson
    Do you own that HR23? If not, for heaven's sake, call DIrectv and tell them the HDD failed and get a replacement sent to you. The 23's are terribly slow models and you will most likely get a 24......which is a way better model. If you want to add an external to that, it would be a much better investment.
     
  8. palmgrower

    palmgrower AllStar

    132
    3
    Jul 18, 2011
    Upgrade to newer receiver, then add a bigger drive
     
  9. f13dfx

    f13dfx Cool Member

    36
    0
    Apr 9, 2007
    As a matter of fact, I do own this one. So just take out the old & put in the new......and then let the receiver do it's thing?

    And is the WD Caviar Green 2TB HDD a good one for a replacement? Or would a WD AV-GP WD20EURS 2TB HDD be better?

    Thanks for the quick replies!
     
  10. CCarncross

    CCarncross Hall Of Fame

    7,058
    60
    Jul 19, 2005
    Jackson
    Get rid of the 23 1st....they are total junk....order one of the WD AVGP Green drives up to 2 TB....those are the most recommended drives on this site for use in the Directv DVR's....
     
  11. Jan 3, 2014 #591 of 757
    WestDC

    WestDC Well-Known Member

    2,482
    112
    Feb 9, 2008
    As suggested Get one of the WD AVGP Green drives up to 2 TB- Plug it in and go - Since you own the receiver -You won't start a new commitment and if you get D* to replace it - You will get pot luck -Stay with what you know or go to e e*tailer and order a "new" receiver of your choice.
     
  12. Drexon

    Drexon New Member

    1
    0
    Jan 31, 2014
    Utah
    Thanks all to their contributions in this thread. My HR24 loaded with content was dying. It was overheating daily and performing very poorly. It was pretty clear the hard drive had issues either causing the problem or because of the heat. It mattered little.

    Out of a desire to not have to argue with support again and to retain my content I decided to go ahead and open my box. Nothing like being told you are responsible for the maintenance of a leased box, but that you cannot maintain it because it is leased.

    It took some effort, likely due to the failing drive which was the cause of the heat buildup as well. But in the end I have transferred my content off the stock 500GB onto a 2TB drive and now have 80% free where I was almost full before.

    To echo what some others have said before, I had issues and had to step back to an older version of GParted 0.4.6-1. That seemed to resolve some of the issues. I also had to use an interim drive copying first to a dump file and then from a dump file to the new drive. This was likely because of some errors that were being hidden in the piped process from one of the two commands on either side of the pipe. The temp file just made the process much less error prone albeit with the added requirement of a third drive for temp usage.

    In the end it went a bit more like this

    mkdir /mnt/fap
    mkdir /mnt/hr20
    mkdir /mnt/tmp

    mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fap
    mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20
    #My tmp drive was ext4 adjust accordingly
    #exFat and ntfs write did not seem to be supported by .4.6-1
    mount -t ext4 /dev/sdc1 /mnt/tmp

    xfsdump -J -f /mnt/tmp/hr20.dmp /mnt/hr20
    xfsrestore -J -f /mnt/tmp/hr20.dmp /mnt/fap

    This process takes longer, and the truth is I rebooted between dump and restore, though that matters little, I just didnt want to disconnect enough sata connectors to connect all at once, and didn't want to use USB if possible to avoid.

    There are a few comments on this thread about how this is a standard linux file system. Want to take a second to clear that up. While XFS is an increasingly common linux file system it is far from a standard linux filesystem. The standard linux filesystems are the EXT3 or EXT4. Further this XFS filesystem is a real-time filesystem, something that is considered expiramental and unsupported by the XFS developers. There is a thread online elsewhere I came across trying to resolve one of the errors I encountered where those developers discussed this very process at length. They question why someone would use it in any production environment. I work everyday of my life in linux doing development and system administration. Were it not for the information in this thread, I would have been unable to complete this task.
     
  13. palmgrower

    palmgrower AllStar

    132
    3
    Jul 18, 2011
    Glad it worked for you, in the end you saved your recordings/data and Directv saved money, still think you should be allowed to open your receivers
     
  14. inkahauts

    inkahauts Well-Known Member

    22,531
    1,087
    Nov 13, 2006
    Um you are not expected to keep it maintained at all. What gave you that impression?
     
  15. peds48

    peds48 Genius. DBSTalk Club

    19,924
    1,055
    Jan 10, 2008
    NY
    Correct, you don't need to maintain the box, DirecTV will replace the box free of charge. you pay for shipping if you don't have the PP
     
  16. Feb 8, 2014 #596 of 757
    SteveK2

    SteveK2 Mentor

    44
    0
    Jul 5, 2008
    Re-visiting this thread again (last time was April 2013) because my replacement 2TB WD drive won't start up as an external drive on my HR21 (yes I know that's an old box, but about 1.5TB of recordings -- mostly my wife's -- so I'm trying to recover what I can).

    Anyway, re-trying the Gparted procedure, but getting screens-full of this message:
    "xfsrestore: attempt to write xxxxx bytes to viewer/segments/..... at offset yyyyyy failed: Invalid argument"

    Before the dump/restore, I did a surface scan on the source drive with Victoria and got only 1 problematic sector.

    The restore has been running for 25 minutes, 3.9% complete. No doubt the write failures are elongating completion time.

    Question: should I let the restore continue or should I break out of it and take some other action?

    Sorry, I am a linux neophyte, so will need some direction on how best to handle. I saw a post from April 2013 with the same issue, but I don't know what the best path forward to resolve.

    Any ideas, help, or suggestions?

    Thanks in advance!

    SteveK2
     
  17. Feb 8, 2014 #597 of 757
    P Smith

    P Smith Mr. FixAnything

    21,975
    177
    Jul 25, 2002
    W.Mdtrn Sea
    For now, I would wait for a finish, then would read log and get grasp of the errors.
    After that you should choose your direction.
    Perhaps try to separate the processes, instead of using a pipe, just try to dump it first, then see if it works, for that you'll be need third drive.
     
  18. Feb 8, 2014 #598 of 757
    SteveK2

    SteveK2 Mentor

    44
    0
    Jul 5, 2008
    Ok...I will let it continue for now....it has about 6.5 hours left to go. :coffee
     
  19. Feb 9, 2014 #599 of 757
    SteveK2

    SteveK2 Mentor

    44
    0
    Jul 5, 2008
    Dump/Restore completed overnight.
    Screenshot of the completion messages is attached. This was taken with my phone so apologies about the poor quality.

    Messages indicate successful completion....but clearly some data glitches will make the copy incomplete.
    The byte count between media file size and the dumped file is about 99MB...or about 0.006% of the full media size if that's any indication of the gaps in the video stream.

    As I mentioned above, I will need some help with Linux commands to navigate directories to find & review log. My hacking at linux commands and directory structure is just barely above futile. :bang
     

    Attached Files:

  20. Feb 9, 2014 #600 of 757
    P Smith

    P Smith Mr. FixAnything

    21,975
    177
    Jul 25, 2002
    W.Mdtrn Sea
    minimal action is to play recordings what's parts been dumped with warnings, if they are OK or insignificant, I would stop worry here
     

Share This Page