08-22-2002 09:49 PM - last edited on 01-23-2013 06:39 PM by Cathy_xu
how can I make a copy of a harddisk (SCSI and identical) using dd under HP-UX 10.20.
P.S.This thread has been moved from Archived Desktops and Workstations Boards to HP-UX > sysadmin- HP Forums Moderator
Solved! Go to Solution.
08-22-2002 10:53 PM
dd if=/dev/dsk/c#t#d# of=/dev/dsk/c$t$d$ bs=64k
where c#t#d# is the device file for the source harddisk
c$t$d$ is the device file for the destination harddisk.
What do you want to achieve though? You want to mirror the disks, or you just want a backup?
08-26-2002 05:13 PM
dd if=/dev/rdsk/c#t#d0 of=/dev/rdsk/c#t#d0 bs=1024k
where '#' is replaced by the appropriate values corresponding to your input disk and your output disk.