Operating System - HP-UX
1748171 Members
4312 Online
108758 Solutions
New Discussion юеВ

problem using dd to copy HDD

 
suju
Advisor

problem using dd to copy HDD

Hi ,
I am using HP9000 712/80 workstation with HP UX 9.0,
To take the HDD backup(with OS bootable) I am using "dd if=/dev/dsk/c201d6s0 of=/dev/rdsk/c201d4s0"
But I can not see the percentage or how much is the process completed and i have to interrupt the command after an hour & some time i get the successfull backup.
what parameter can i use to see the completeion status.
Thanks
3 REPLIES 3
Heiner E. Lennackers
Respected Contributor

Re: problem using dd to copy HDD

dd does not give you any progress output ... and due to the old (which also means slow) scsi controller it can talk serveral hours to copy the disk, dependend on the disk size and the block size you use.

You may speed up a little with a larger block size on dd:
dd if=/dev/dsk/c201d6s0 of=/dev/rdsk/c201d4s0 bs=1024k

HeL
if this makes any sense to you, you have a BIG problem
Dennis Handly
Acclaimed Contributor

Re: problem using dd to copy HDD

See this recent thread about dd(1):
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1300183

Basically you need a larger block size so it runs faster.
The completion status would be the fact it prints out how many records it copied.

Heiner E. Lennackers
Respected Contributor

Re: problem using dd to copy HDD

Little typo (use raw device on write and read):
dd if=/dev/rdsk/c201d6s0 of=/dev/rdsk/c201d4s0 bs=1024k
if this makes any sense to you, you have a BIG problem