[mythtv-users] new drive

Ram Ramesh rramesh2400 at gmail.com
Thu Nov 24 21:53:27 UTC 2022


On 11/24/22 13:44, Simon wrote:
> Ram Ramesh <rramesh2400 at gmail.com> wrote:
>
>> As long as the new drive is as big as the old drive, you can create (empty) partitions of the same (or bigger) size on the new disk and "dd" each partition from old drive to new drive. This will keep everything intact including UUID.
> If it comes to it, you could just dd the whole drive as long as the new drive is not smaller than the old one. However, I would recommend ddrescue as being far more suitable ...
> You can interrupt it and it can resume where it left off.
> If there are any bad blocks, it can copy what it can and leave you a list of what it couldn’t copy. If the errors are intermittent, you may be able to get everything whereas dd will simply die at the first error.
>
>
Agreed. However, I automatically assumed ddrescue (based on the drive 
age/reliability etc). Should have been more clear. My apologies.

Partition wise copy allows you to grow each partition after copy. Most 
of the time, in my experience, the new disk is significantly larger.

Like others have said, there are better tools for the less knowledgeable 
of disk layout.  I always choose tools whose source code is easy to get 
to, if I ever want to know what it does. So, I go with bare/low-level 
tools than packaged/fancier (and more user friendly) ones. I am more of 
cat/cp/tar/dd/sh type person.

Regards
Ramesh




More information about the mythtv-users mailing list