1833687 Members
4301 Online
110062 Solutions
New Discussion

Re: Copy disk with dd

 
SOLVED
Go to solution
Marcelo De Florio
Frequent Advisor

Copy disk with dd

I copy a logical volume with this command:

dd if=/dev/vgprdb/lvdesaoasbin of=/dev/vgdesadb/lvdesa_oasbin bs=65536

but, this command never end, I cancel this with kill -1 and then, I mount /dev/vgdesadb/lvdesa_oasbin this FS succefull.

Any idea, because not end this command but the copy of disk is succes.

MDF
1 REPLY 1
Andreas Voss
Honored Contributor
Solution

Re: Copy disk with dd

Hi,

best practice to copy with dd is to use the raw device files ie:

dd if=/dev/vgprdb/rlvdesaoasbin of=/dev/vgdesadb/rlvdesa_oasbin bs=64k

Regards