I have two HDDs: the first of 150gb (
/dev/sdc) with 30gb in use, the second of 100gb (
/dev/sdd). There are
sdd1 partitions with the same format.
I want to clone the 30gb from the first disk to the second with differences sizes. What is the best way? Clone it with
dd or with
dd if=/dev/sdc of=/dev/sdd cat /dev/sdc >/dev/sdd
dd if=/dev/sdc1 of=/dev/sdd1 cat /dev/sdc1 >/dev/sdd1
/dev/sdd1 already exists with data, could I overwrite it?
Could it cause an error in a sector of the hdd