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

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

    88.8%
  1. Aug 6, 2017 #761 of 767
    P Smith

    P Smith Mr. FixAnything

    25,725
    485
    Jul 25, 2002
    W.Mdtrn Sea
    any chance to make "dd" to a file of last partition and share it for analysis ?
    its new, old drives had no it ...
     
  2. mocarob

    mocarob Legend

    304
    2
    Jul 26, 2007
    Hello, it's been a while since I've used Gparted.. Does it support copying the drives connected externally via my PCs USB 3.0 ports? The only PC I have access to right now only has 2 sata ports.. Either that or I boot gparted with a flash drive.. Thanks.
     
  3. ntrance

    ntrance Legend

    152
    1
    Aug 18, 2006
    While the USB 3.0 ports should work, I think booting gparted with a flash drive and using the sata ports for the copying would be faster.
     
  4. P Smith

    P Smith Mr. FixAnything

    25,725
    485
    Jul 25, 2002
    W.Mdtrn Sea
    ditto
    absolutely
     
  5. Dec 3, 2018 #765 of 767
    mocarob

    mocarob Legend

    304
    2
    Jul 26, 2007
    Ok, I want to share some results I had with copying a drive last night. I used gparted-live-0.32.0-1-i686. It supports using external drives via USB & LAN/WLAN.. I used the web browser to copy & paste the commands from this thread.. No typing = no typos.
    sudo su
    mkdir /mnt/fap
    mkdir /mnt/hr20
    mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fap
    mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20
    xfsdump -J - /mnt/hr20 | xfsrestore -J -p 600 - /mnt/fap
    umount /mnt/hr20
    umount /mnt/fap

    It finished with the typical "xfsrestore: Restore Status: SUCCESS" but there are a few warnings I want to ask about.
    During the 'reading directories' portion it said - xfsdump: WARNING: unable to open directory: ino 30016807: Stale file handle

    Then while restoring it had about 20 entries of this on different file segments: xfsrestore: WARNING: attempt to set extended attributes (xflags 0x1, extsize = 0x4c000, projid = 0x0) of viewer/segments/Rcrd-11-11-2017-1505-00-7726-ch340-min65535-src2.mpg/0000000001358954496 failed: Invalid argument

    16 entries of this type: xfsrestore: NOTE: ino 30016827 gen 2913204209 not referenced: placing in orphanage
    1 entry: xfsrestore: WARNING: attempt to truncate network/apg_data/extgdb_objs_go_hd/00001d37/extgdb_go_01d37381 failed: File too large

    The source drive had problems with some programs skipping back to the start during playback and I was hoping to salvage some of them by copying to a new drive. (but not holding my breath) Do you think these warnings were due to that issue? They still skip on the new drive. Thanks.
     
  6. Dec 4, 2018 #766 of 767
    P Smith

    P Smith Mr. FixAnything

    25,725
    485
    Jul 25, 2002
    W.Mdtrn Sea
    Some of them telling about problems with file system's metadata (at least last two kinds); playing all recordings will give you a score what is still good and what is damaged beyond recovery;

    strange these errors wasn't fixed during initial stage of each reboot the DVR … I assume you did reboots from time to time and new FW usually followed by reboot too
     
  7. Dec 4, 2018 #767 of 767
    mocarob

    mocarob Legend

    304
    2
    Jul 26, 2007
    Reboots have been done. I think these corrupt files are due to a faulty HDD dock. I believe it has esata communication issues. (via testing on my PC) Once upon a time the source drive rebooted and went into the DTV drive scan. It came out the other side with these 'broken' programs. I'm about ready to junk them but thought I'd try a shot in the dark & copy them to a new HDD to try & save them. It's an HR24 and I'm just going to use the drive internally now. Use nylon ties to attach it to the bracket..
     

Share This Page

spam firewall