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

Will this WD 3TB drive work on Genie?

Discussion in 'DIRECTV HD DVR/Receiver Discussion' started by lschwarcz, May 1, 2017.

  1. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    ?????
     
  2. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    instead of reading before making, you are falling into known trap by guessing
     
  3. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    Well, not guessing, asking ;)!

    Maybe I need to elaborate a bit on why I'm following this path.
    1. Some here say I need to read the thread on making a gparted boot disc. Yes, I can do that, boot my PC into some flavor of Linux and do the job. My concern is that I don't know how long it will take for the copy to finish. I'm self-employed and use my PC throughout the day for work. I wouldn't be able to work until the copy finished and I then rebooted into Windows. The only thread I saw here that mentioned how long this could take implied it could take up to 8 hours. Of course the time depends on a whole bunch of factors like the speed of my PC, the speed of both disks and more.

      And yes, I also have a MacBook Pro. As most of you know the Mac OS is Unix based. While I use the Mac for work too I don't use it nearly as often and could likely get away with doing the copy operation on it (assuming the Mac OS would work). And, while the Mac was copying the disk I could still use it for other purposes!

    2. To be clear to others, I connected the external disk and let the HR44 format it. I then powered it down and disconnected it. I am not using the external disk on the HR44 now!

    3. I asked about the Raspberry Pi because I have one, I'm not using it for anything else right now, it runs Linux (perhaps not the right flavor of Linux?) and I haven't seen anything here about the suitability of using this to copy the disk. Yes, it's slower but should get the job done eventually if the Linux on it would work.
    So, a big thank you to all who have replied and helped to point me in the right direction and sometimes, try to point me away from the wrong direction.

    One of the issues is that all of the needed information seems to be here in various threads. Take a bit from one thread, a bit from another, filter out the various side notes that are outdated and in the end you'll find the information.

    But, wouldn't it be nice if all of that information was put together in one thread and then made to be a sticky? When I'm done I can try myself but, like most of you, I too have to work and am pretty busy.

    So my outstanding question is; Will a Raspberry Pi 3 or my Mac work to do this copy operation (yes, the Raspberry Pi be slower)? If so, do I need a particular flavor of Linux on it?

    Thanks again everyone,
    Larry.
     
  4. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    funny ... you are the reason ! one of many in the group ;) :D
     
  5. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    tell me it has two SATA ports ! I'll be amused !
     
  6. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    My Raspberry Pi, MacBook Pro and HP desktop PC all have exactly zero SATA ports. But, my enclosures have both USB and eSATA ports.

    If it was written somewhere I must have missed it but I didn't realize that I needed to use the SATA port for the copy operation.

    So, do I need to use a SATA port on my computer to do this copy operation?

    Thanks again,
    Larry.
     
  7. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    well, I used my MacBook Pro to run MacOS, Windows XP and Linux:Ubuntu what did serve me well with DTV DVR's HDDs ; unfortunately its video part died (it's booted, but no video from any port or own screen)
     
  8. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    that would give you 8 hrs, while USB will increase to 14-20 hrs :(
     
  9. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    OK, try your "pie" :) if you can install XFS utilities on it [xfsdump/xfsrestore]
    or Mac if you can do same on it :D
     
  10. inkahauts

    inkahauts Well-Known Member

    23,205
    1,173
    Nov 13, 2006
    How full is the internal right now?

    I have never seen anyone post how to use anything but gparted...

    Why not begin the operation at night just before bed on say a Saturday. Then use your Mac in windows mode if you need to the next day, but I'm guessing it'll be done by morning.

    If you do understand Linux etc then read the thread so you understand what the actual process is in gparted so you then can try the equivalent in Linux or pi. I have no idea what that is but maybe you will.
     
  11. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    don't fixate on GPartEd - it's just a Linux CD in minimal config eg have XFS support
    I used Ubuntu for fixing/resizing/copying DTV DVRs
     
  12. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    Well, I've made some progress.

    I booted the gparted Live Linux and when I tried to mount my source disk (the 1TB out of my HR44) it failed.

    # mount -t -xfs -o rtdev=/dev/sdi3 /dev/sdi2 /mnt/hr44
    mount: /dev/sdi2: can't read superblock


    I'm suspecting that I may be using the wrong drive specification. When booted in Linux and I look at the drive in gparted there are 4 partitions. It seems like the first two are the ones I care about and they are 1 & 2, not 2 & 3 like documented here. But, the documentation is for using a SATA port not the USB port that I'm using.

    I'm now back booted in Windows but as I recall the first two partitions are a Linux and an XFS partition. Are these the two that I care about?

    Thanks,
    Larry.
     
  13. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    OK, here's a screen shot of GParted showing my new 2TB drive. It's been formatted by my HR44. You can see it has 4 partitions plus a bit of unallocated space.

    gparted.jpeg

    With the mount command above it's saying:
    • "-t -xfs" Mount a type xfs file system
    • "-o -rtdev=/dev/sdi3" Log the operation to partition sdi3.
    • "/dev/sdi2" Source device to mount
    • "/mnt/hr44" Target directory to mount to.
    The partitions for the source disk (original disk taken from HR44) I believe were the same aside from the drive designator.

    So, it seems that I may be specifying which partition is for logging and which to read/write data incorrectly.

    Any hints on the use of each of these partitions?

    Thanks again!
    Larry.
     
  14. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    Larry, Please !

    Get to proper thread. Read it from beginning.
     
  15. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    Hi P Smith,

    I just finished reading through the whole thread (this one: How to: Copy and Replace Internal Hard Drive) again! Yes, I did read through it before. But, it's a LONG thread and of course I may have missed something!

    But, I didn't find the answer to my question. But, maybe my question wasn't clear:

    Q: Does anyone know the purpose of each of the four partitions?

    Do I need to know the answer to copy my HR44 disk to a larger one? No. But I am curious about it.

    Thanks again,
    Larry.
     
  16. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    well, perhaps it's scattered in other three similar threads but you're hesitate go to that ...
    1 - SWAP (RAM's extension like, 2x of RAM usually)
    2 - XFS data partiton (databases, logs, settings, etc)
    3 - XFS RealTime extension of #2 (a place for stream recordings)
    5 - just unallocated small remainder after rounded calculation used partitions

    #4 is unknown type - can you make a dump of it and after ZIP compression post it in some place to analyzing ?
     
  17. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    Sure, I can certainly do that.

    But, just to make sure I get you the information in a good usable form let me confirm the commands I'd use. Yes, I worked daily with Unix for a couple of decades but that was nearly a decade ago!

    mkdir /mnt/USB # For USB thumb drive
    mkdir /mnt/Part4

    mount /dev/sd?? /mnt/USB # Mount USB thumb drive
    mount -t xfs /dev/sda4 /mnt/Part4

    gzip –r /mnt/Part4 > partition4.gzip # Of course I would use
    # the fully qualified path
    # name here.
    umount /mnt/Part4
    umount /mnt/USB

    Does this look about correct to you?

    Thanks,
    Larry.

     
  18. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    Yeah, looks good. BTW, be sure a size of your flash drive will accommodate a dump of the partition in case of full of data, eg >= 180 MB.
    Another q - right after mounting it: check if it's really XFS kind ? If there folders/files - make a list of all of them.
    EDIT. Actually .... If there something structured eg folder/files, then do "dd" the partition first then"gzip" it.
     
    Last edited: May 20, 2017
  19. lschwarcz

    lschwarcz Mentor

    78
    0
    Sep 1, 2006
    First, "q - "??? I don't recall a "q" option to mount and I also don't recall a command, "q" either.

    OK, so use "dd" if there are files/folders.

    I just checked the dd manpage and it reads from stdin and writes to stdout. So what command should I use to generate the stdin for dd? Would I do something like this:

    dd if=/mnt/sda4 of=/mnt/USB/partition4.dd

    And I'm assuming that I wouldn't need to gzip the output from dd.

    Thanks,
    Larry.
     
  20. P Smith

    P Smith Mr. FixAnything

    22,640
    242
    Jul 25, 2002
    W.Mdtrn Sea
    q means question here

    so, first step would be check if the partition have anything in it - after mount it, check if there are folders and files
    perhaps we could stop here...
     

Share This Page