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. Aug 9, 2011 #361 of 757
    P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    When eSATA connected, mounted only the drive, not internal. So, any other variant not exist here. One drive one time. And it's mounting/unmounting.
     
  2. Aug 9, 2011 #362 of 757
    bsnelson

    bsnelson I can has HR2x?

    149
    0
    Jul 6, 2007
    Not sure I understand this response, and maybe my post was too wordy anyway. I guess all I really meant to say is that the internal drive's state doesn't change as long as there's an eSATA present. If it had previously been shut down clean, it still will be, and if it hadn't been, it still won't be. The instructions in the initial post suggest (to me, anyway) that a graceful shutdown will leave BOTH drives clean, and that's not the case.

    Brad
     
  3. Aug 9, 2011 #363 of 757
    P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    I'm agree - my point was to make it short: only one drive is active under DVR Linux OS, no action against second drive.
    If we will go into different scenarios, we will find other case when eSATA start malfunctioning/died and DVR after restart took internal drive again ... and should put another note: eSATA is 'dirty' ...
     
  4. Aug 9, 2011 #364 of 757
    cigar95

    cigar95 Legend

    135
    1
    May 23, 2008
    Brad, thank you for the reminder that I need to finish my write up of the process.

    One thing that I will say is that if one wishes to transfer a large number of recordings (my drive had 164 on it), it REALLY helps to have at least some familiarity with Unix. Because the names of the files are long, and the opportunity for typos is great, knowing how to use the Unix command history, as well as its "auto-complete" facility for path and file names, is quite helpful. I ended up using some simple Unix scripting to automate the process so that I could turn it loose overnight. (The process only moves about 5-6 Gb per hour, which for 1080i programs, means a 1 hour program can take 40-50 minutes to transfer. When I was connected via USB, it was about half as fast, and the copying missed some necessary files.)

    Also, now that I know how the file structures are set up, I think it's *possible* that there may be a way to move recordings from one DVR to another, although the result would be messy, and to be practical, would probably require some knowledge of Unix scripting quite a bit more advanced than my abilities. (Not to mention that I can't test my theory because I only have one DVR.)

    When I post the process, I'll be sure to include a link to it in this thread.
     
  5. Aug 9, 2011 #365 of 757
    P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    cigar95,
    may be you could drop PM or post quick description about meta data eg names of recordings. I see under /viewer folder those sub-folder for each recording - not found yet shows' names ...
     
  6. cigar95

    cigar95 Legend

    135
    1
    May 23, 2008
    Yes, you've found the key folder(s), under /viewer/segments Those folder names include the date, the time, and the channel of the recordings.

    The *names* of the recordings and other information are, I believe, stored inside the metadata folders, which are in /viewer/indexfile with the same corresponding folder names. Those files are not text files, and I've not a clue how to read their content. I suspect that *this* may be where the information tying the recording to a specific DVR is stored, but that is only an untested theory.

    The *other* bit of metadata are stored in /mw_data, again with corresponding file names. This set of files seems to be where information about playback of the recordings are stored, such as the spot where to pick up when next playing the recording. (Looking at modification times on these files, they seem to have been modified the last time I played the recording.) This may also be where bookmarks are stored for the recording.
     
  7. P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    Thanks, it's time to dive into the pool ...
     
  8. cigar95

    cigar95 Legend

    135
    1
    May 23, 2008
    If you try to do a transfer, post your results back here.

    Just remember that for the files stored in the segments folder, they have to be transferred with the xfs_rtcp command, in order to place them on the real-time portion of the partition. Those are the only files stored on that portion.

    Also, be sure that you set the permissions for both the folder and the individual files in the segments folder to what they are on the original drive - I think I transferred one without setting the permissions, and it wouldn't play.
     
  9. bsnelson

    bsnelson I can has HR2x?

    149
    0
    Jul 6, 2007
    I know the answer is probably "you're SOL", but I'm gonna run it past everyone anyway. :)

    My aging HR20-100 started getting stuck with diagnostic code 14-346 last week ("problem with the storage device..."). Figuring that the drive was dying, I copied the old one (which had already been replaced with a 1.5TB earlier) onto a shiny new 2TB. It booted fine and everything was working OK last night, but this morning, it's back to the 14-346. I'm guessing that this means it's the receiver itself that's dead and not just the HD? Has anyone had any luck using the eSATA to get around this, i.e. maybe it's only the internal SATA channel that's dead (although I suppose I could swap cables inside if that were the case).

    I don't really have any programming that would make me sob uncontrollably if I lost it, but then again, you never WANT to lose it. :) So, basically, if the diagnosis is "it's dead, Jim", I'll just put the stocker back in and get it replaced and take the hit.

    What sayeth the collective?

    Brad
     
  10. P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    Brad, there is common technique to start troubleshooting: get a knowledge of health the drives. Use Victoria, MHDD and post SMART tables here.
     
  11. ShawnL25

    ShawnL25 Icon

    571
    0
    Mar 2, 2007
    So I picked this up at Fry's: Samsung 2TB SATA Internal Desktop Hard Drive - HD204UI 5400 and I plan to replace the internal HD on my HR24 with this 2TB drive. Before I do I wanted to know if this Samsung Drive is a good fit for DVR recordings.

    I have a 1 TB westernDigital Green in my HR20 and a 1.5 TB westernDigital Green in my HR21. Both have worked great for quite a long time but I really like the price of the Samsung.
     
  12. CCarncross

    CCarncross Hall Of Fame

    7,058
    60
    Jul 19, 2005
    Jackson
    Many of us are not fans of Samsung drives due to them getting noisy prematurely and possible failure. Most of us prefer the WD AV green drives...
     
  13. ShawnL25

    ShawnL25 Icon

    571
    0
    Mar 2, 2007
    Thats my preference as well but the samsung was about $50.00 cheaper
     
  14. CCarncross

    CCarncross Hall Of Fame

    7,058
    60
    Jul 19, 2005
    Jackson
    Personally I don't care how cheap it is, crap is crap...;)
     
  15. ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    I know the WD drives are popular, and I'm sure they are great, but I've only seen 1 report of a noisy Samsung drives and none of failing Samsung drives on these forums. Are you sure you aren't overgeneralizing? For anyone who is interested, it is possible to configure AAM on SAMSUNG Spinpoint F4 HD204UI 2TB to quiet mode with the Samsung ES-Tool. I did this and it does make the drive quieter even though it wasn't all that loud to begin with. Unfortunately, I don't have a WD E**S drive to compare with directly. I have my Samsung drive in a Thermaltake docking station, so maybe I'll make direct comparison against the stock WD 320GB drive.
     
  16. ShawnL25

    ShawnL25 Icon

    571
    0
    Mar 2, 2007
    I am not very concerned with the noise the drive makes, where it is located I'll never be close enough to hear it. I do want to make sure the drive isn't going to die in six months
     
  17. ntrance

    ntrance Legend

    149
    1
    Aug 18, 2006
    Well, if it makes you feel any better, mine has been working fine in an HR21 for 9 months. Another further discussion regarding this drive should be moved to the eSATA thread as this thread is about copying drives, not which drives are best.
     
  18. mocarob

    mocarob Legend

    276
    2
    Jul 26, 2007
    After 3yrs since I did this last, I will be attempting it again.
    1st question..
    If I'm going to use a used PC drive.. Do I need to erase/format using the pc first or just connect it to the DVR and it will wipe it & format it to the proper structure?
     
  19. P Smith

    P Smith Mr. FixAnything

    21,994
    181
    Jul 25, 2002
    W.Mdtrn Sea
    The first step must be: check SMART data, store them; wipe out all sectors and get SMART again. Compare two set of data (better post here). Then make your decision - use it for DVR or not.
    [All steps could be done by MHDD (self boot) or Victoria (Windows), just use Scan/Erase with Remap to ON]
     
  20. mocarob

    mocarob Legend

    276
    2
    Jul 26, 2007
    Change of plans. Will be using a refurb drive for the dvr. arriving today.

    I have a copy of mhdd bootable disc ver4.6. is that a recent enuff version?
    downloaded it yrs ago..

    I used WD data lifeguard app to look at the 2 sata drives in my pc and it says SMART data not available.. But it is available for the 2 ext usb drives connected. what up with that? Does it have to be enabled in bios? if it makes a difference im using vista 32..
     

Share This Page