Welcome to DBSTalk
Like most online communities you must register to view or post in our community. Sign-up is a free and simple process that requires minimal information. Be a part of our community by signing in or creating an account. The Digital Bit Stream starts here!
- Reply to existing topics or start a discussion of your own
- Subscribe to topics and forums and get email updates
- Send private personal messages (PM) to other forum members
- Customize your profile page and make new friends
How to: Copy and Replace Internal Hard Drive
Posted 20 April 2009 - 06:19 AM
This got me into the actual copy procedure where I ran into the superblock error issue... By this time I was not in the mood to tear things apart and try my 400th graceful shutdown so I used the "xfs_repair -L -r /dev/sd?3 /dev/sd?2" command that ntrance suggested in a post back in March. Worked just fine!
I really appreciate all the help!
Next time it'll go much smoother, I'm sure!
||...Ads Help To Support This Site...||
Posted 20 April 2009 - 09:21 AM
Posted 21 April 2009 - 10:07 AM
Posted 24 April 2009 - 10:55 AM
despite the hd error, the copy did seem to work, I won't know till i get home and set the unit back up.
Posted 27 April 2009 - 09:08 PM
Posted 27 April 2009 - 10:37 PM
Posted 30 April 2009 - 07:37 PM
Posted 30 April 2009 - 08:33 PM
Posted 22 May 2009 - 07:13 AM
Plugged the new, copied Seagate 1.5TB drive in to the HR21 and all I get is the Blue Screen Storage Error on the DVR.
Do I need to reformat the new drive and recopy everything to try it all over again?
1 HR21-700 HD DVR 1.5GB Internal
2 D10 Receivers
3 Sirius Receivers
Posted 23 May 2009 - 06:50 AM
1 HR21-700 HD DVR 1.5GB Internal
2 D10 Receivers
3 Sirius Receivers
Posted 23 May 2009 - 06:55 AM
You're done. Total time, 15 minutes at the most. Obviously, if you want to preserve drive contents you'll have to copy partitions as described earlier.
Posted 26 May 2009 - 06:54 PM
I've tried this three times today and each time the same results.
Does anyone have an idea as to what I'm doing wrong?
Posted 26 May 2009 - 08:05 PM
Posted 26 May 2009 - 08:29 PM
I would start to be familiar with Linux itself, then do such complicated tasks as the copy of DRV's disks.
I'm assuming your message was a response to my previous post.
I am some what familiar with Linux but not a daily user. However a neighbor of mine is very much a Linux expert and he spent the entire day attempting to help me solve this problem. He will be the first to admit that he doesn't know xfs inside and out but can install the file system and its tools.
We tired GP 0.3.7-7 and 0.4.5-2 but could not get xfsdump or xfsrestore to run do to fact that they didn't appear to be on the live CD. We tried Knooppix live also and still could not find xfsdump/xfsrestore.
Thanks for you help.
Posted 26 May 2009 - 09:03 PM
Posted 10 July 2009 - 07:30 PM
ie, run xfsdump twice, first pass with one source drive, the second pass with a different source drive but the same target (copy-to) disk?
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 - /mnt/fap
Or...will I need to be more creative with the 2nd copy process so as not to mess up things like the metadata from the first? Or can it be done at all? (I'm figuring this isn't feasible, but hoping it doesn't hurt to ask.)
Separately: Why would I want to do this? Here's my scenario:
I have an HR20-700, "standard" internal drive, something like 30-40hrs HD record time. I bought a 1.5TB Seagate FreeAgent (I'm presuming this is the "fap"?) and plugged it in (via eSATA) externally to upgrade my recording time and things worked great. Then said 1.5TB drive started misbehaving after a couple days, and my HR20 would occasionally reboot back to the internal disk. I fear problems with said 1.5TB drive.
So I bought another 1.5TB drive, am now copying the original 1.5TB to the new one using the above procedure. Along the way, would be nice to copy the recordings off of the internal drive from the HR20 (I own my hr20, so I'm not worried about leasing violation) on to my new 1.5TB disk.
Thanks for any help.
Posted 10 July 2009 - 07:36 PM
You missed your opportunity when you bought first 1.5TB disk; that time you should make the copy and accumulate both lines. Now it's too late.
Posted 10 July 2009 - 08:12 PM
I would try it and report back. I believe it will work. I accidentally copied to a non-empty drive while playing with the xfs tools and I saw both sets recordings in the list upon reboot. I can't remember whether I tried playing from both though.
Summary: Can I use this copy process (see below) to copy 2 original drives (each with different recorded content) to 1 new one?
Posted 30 July 2009 - 11:57 AM
Posted 30 July 2009 - 12:18 PM
Can I use the same process to copy an existing external esata drive to a bigger external sata drive?
Yes, if you mean the process in the original post. I’ve done it several times without a problem.
Edited by daniellee, 30 July 2009 - 12:24 PM.
AU9S Slimline Dish -> SWM-16
(1) HR20-700, (1) HR20-100, (1) HR21-100, (1) HR21-200, (1) HR21-700 (all DECA network with internet connection)
See my kitchen wall cabinet setup here
Posted 02 September 2009 - 08:26 PM
I successfully expanded a stock drive from a HR21 to a 1TB drive today. I did have to use the xfs_repair on both drives; I suspect the machine itself does that quite often when it isn't shut down through the menus, so the software is robust enough to handle this situation.
I used my old "TiVo hacking PC", a 1Ghz Duron cheapie that I'd added a SiL 3512 based SATA card to (1 SATA and 1 eSATA port); after installing the 1TB drive in an MX-1 enclosure and initting in the HR21, I proceeded to disassemble the HR21. It wasn't as easy as the TiVos, but still not too bad. I removed the front panel to get to the screws on the HD, but it might be possible to not remove the ribbon cable; I was too impatient, plus the cable had a pull tab making removal a snap.
I hooked everything up to the PC and booted the gparted CD. As mentioned, I had to do the xfs_repair, and then I started the copy. It took almost 4 hours, no doubt due to my hardware config. Having full faith that those before me had debugged this procedure thoroughly, I installed the new drive internally, buttoned it back up and re-installed it in my "stack" before I even powered it on. Crossing my fingers, I powered it up. It seemed to take longer than usual in the satellite detection stage, but after live TV came on, I verified that I went from 8-9% free to 78% free! Success! I played part of the newest and oldest recordings, both OK.
Now, I'm eyeing those other two HR2x boxes, one with a 1.5TB eSATA and the other bone stock. How easy it would be to swap that 1.5TB to the internal slot, and 1.5TB drives are less than $120. Perhaps the pain of removing them from the rack will keep me from doing it. Maybe. The one I did was on top; the others aren't as easily accessible.
Thanks to everyone who helped perfect this procedure.
Posted 02 September 2009 - 11:54 PM
Assuming you have an eSATA enclosure that is easy to disassemble (some aren't too easy like the Free Agent Pro's), it should be a snap. It sounds like you've already been inside one of your DVRs, so just take the hard drive out of the enclosure, replace the DVR internal drive with your 1.5TB drive, and you are done.
Now, I'm eyeing those other two HR2x boxes, one with a 1.5TB eSATA and the other bone stock. How easy it would be to swap that 1.5TB to the internal slot, and 1.5TB drives are less than $120.
Posted 10 September 2009 - 01:21 AM
Thanks again for this procedure!
Posted 18 September 2009 - 10:28 PM
My computer doesn't have eSata so I decided to try it using USB before buying an eSata card and cables (didn't want to have to fish out the one eSata cable I've got connected to my HR20-700). It worked fine with USB. Gparted (0.4.6-1) found both drives with no problem. The first time I tried the procedure it failed with a no filenames specified error. I had printed out the instructions and thought I'd followed them to a tee but when I came back here I noticed two spaces in the xfsdump line that didn't appear to be in my printout after the '-' following the '-J' for both the dump and restore. Once I added the spaces to the command it worked like a charm. It took 14834 seconds (a little over 4 hours) to copy about 300GB.
BTW, both drives are Fantom GreenDrives (WD Green Drives inside). The 1TB worked flawlessly for about a year, the 500GB for about six hours. They run quiet and cool. The enclosures appear to be cast aluminum, just slightly larger in width and height than the drives (they fit snugly inside) and about 1-1/2 inches longer - no fans.