I know this has been discussed before. Although I can only find old threads. Im trying to clone a 1tb external HD to a 2TB and preserve the programs. I can take one of several partition programs and clone all 3 partitions to the 2tb but I end up with a 1tb on the 2tb. I can not expand the partition 3 (which contains the programs). I found an old thread where someone use an older version of gparted to clone it and was susful getting the 2tb partition to expand. However I cant get it to work. I have used gparted to expand several Tivo hard drives and preserve the programs, so Im not a total novices but I really do not understand linux. Does anyone know of a better way or maybe can see a problem with this procedure. Also in one line there is either a 0 xero or an o, I have tried both. It sometimes says successful but doesn't copy anything. I am sure I am using the correct drive sda3, sdb3 etc. Here is a copy of the procedure. It was written in 2011.
Try to do a graceful shutdown of your DVR through the menu system.
Unplug your old external drive from the DVR and plug in your blank new drive. Reboot the DVR and allow the DirecTV software to be loaded on the new drive.
After the DVR has booted up, follow the same steps as #1 above to shut down the DVR.
Unplug the new drive from the DVR. Download gparted from the link above and create a bootable CD or usb drive.
Install your old and new drives into a computer.
The instructions on dbstalk state to use SATA port 0 for your new drive and SATA port 1 for the old one, but I don't think it really matters as long as you know which one is which when it comes time to copying.
But if you can install the drives as stated above, I would recommend it so there is no confusion on the drive letters for the steps below.
Boot the computer from the CD or usb drive. Go to Devices from the gparted menu and make sure both of your drives are showing up.
If you used SATA port 0 for your new drive and SATA port 1 for the old one, then the new drive should show up as sda and the old one as sdb. If these are different, please note the drive number and substitute the appropriate drive letter for "a" or "b" instead of sda or sdb in the instructions below.
Double click on the Terminal Icon to open the terminal window. This will allow you to manually enter in some commands.
Type in mkdir /mnt/fap and press enter.
Type in mkdir /mnt/hr20 and press enter.
Type in mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fap and press enter.
This is mounting your NEW drive, so make sure you change from sda to sd if your new drive was not listed as sda in step 9 above.
Type in mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20 and press enter. This is mounting your OLD drive, so make sure you change from sdb to sd if your old drive was not listed as sdb in step 9 above.
Now the command instructions to copy all your data from one drive to another.
At the command prompt type in xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fap and press enter.
A whole bunch of stuff will scroll on the screen and the last thing it will say is restoring non-directory files.
Depending upon the amount of recordings you have, this step will take many hours.
Finally it finishes and a message is displayed that reads Restore Status: SUCCESS.
At the command prompt type in umount /mnt/hr20 and press enter.
At the command prompt type in umount /mnt/fap and press enter.
Type exit and press enter to close the terminal window. Double click on the Exit icon.
Click on Shutdown and OK. Remove the disc or usb drive and press enter.
Power should be shut off. Make sure the power is off. Unplug the PC if you are unsure.
After the power is shut off, remove the disks from your computer. Install the new disk into your external enclosure, plug it back into your DVR and reboot your DVR.
After it has booted up, you should have an exact copy of all the settings and recordings you had before with extra disk space.
Edited by larrylwill, 19 March 2014 - 12:50 AM.