1834697 Members
2587 Online
110069 Solutions
New Discussion

ghost HP-UX OS

 
SOLVED
Go to solution

ghost HP-UX OS

I have a HPC360 c0t6d0(HP-UX OS 11.00)4GB and c0t0d0 9GB(unused). I want to do copy of this HP-UX OS to the c0t0d0. Can I do it with "dd" command.
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: ghost HP-UX OS

Your best chance would be to have identical drives, but you can try it:

dd if=/dev/rdsk/c0t6d0 of=/dev/rdsk/c0t0d0 bs=1024k

Note the use of the raw device files and the blocksize (bs=, not ibs, not obs). If you don't use the raw device and increase the blocking factor, the dd will take forever.


Pete

Pete
Naveej.K.A
Honored Contributor

Re: ghost HP-UX OS

today sometime back came across the same post, but was for identical disk.

not sure whether dd if=/dev/rdsk/c0t6d0 of=/dev/rdsk/c0t0d0 bs=1024 works..

Try this out

with best wishes
naveej
practice makes a man perfect!!!
Trond Haugen
Honored Contributor

Re: ghost HP-UX OS

Yes, you CAN do it but I would not reccomned it as you woug end up with a "4Gb 9Gb disk".
My advise is to use Ignite/UX to make a bootable backup and install from that onto the 9Gb.
You could also considder adding the 9Gb to vg00.
Lastly if you mave mirroring SW you could set up the 9Gb as a mirror, boot on it and remove the 4Gb mirror.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn