Operating System - HP-UX
1852069 Members
4118 Online
104063 Solutions
New Discussion

Re: System Restore from dump

 
og_2
New Member

System Restore from dump

Hi,

i'm having a small prob.

i must make a clone of an c180/hp-ux 10.20 machine on another one.

so i made a few dumps of the 1st machine (ea. main partitions dumps such as slash, usr, var etc) with "dump" utility.

i booted on the new machine with the install cd and launched a recovery shell, with network activated (works fine), and without IPL.

i loaded ioscan, mkfs and all.

but the prob is when i do an

ioscan -fnkC disk

it displays this :

[..]

disk 0 8/12.6.0 disk CLAIMED device SEAGATE ST39175LC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2lvm /dev/rdsk/c0t6d0s1vm
/dev/dsk/c0t6d0s1lvm /dev/dsk/c0t6d0 /dev/rdsk/c0t6d0s2lvm

[..] -> same for other disk + cdrom

(there was a previous system installed on this machine i wanna erase)

i tried to make an /sbin/fs/hfs/mkfs c0t6d0s2lvm and c0t6d0s1lvm, and mount them on a /ROOT and /ROOT/stand.

i don't really understand why partitions are named with "s1/s2 lvm suffix".

but when i rcp my slash.dump, usr.dump etc, and try to restore them in /ROOT etc, i'm getting a file system full very fastly.

any idea on how i could clone my old system on this new machine ? (without using ignite if possible)

i'm really new on hp-ux so perhaps i did something wrong.

thanks for your help.

regards,

Oliver griffin (france)
5 REPLIES 5
Christian Tremblay
Trusted Contributor

Re: System Restore from dump

You will have a better chance of doing this properly by using an Ignite bootable tape.

In 10.20 it was call make_recovery

man make_recovery

You should only include vg00 in your recovery tape. Boot from it on the destination system restore the system itself then restore the rest of your VGs with whatever regular backup tool you are using once your new cloned system is up .
Calandrello
Trusted Contributor

Re: System Restore from dump

Amigo
it uses make_recover -A -d /dev/rmt/xxx
og_2
New Member

Re: System Restore from dump

okay thanks a lot for the answer guys i'm gonna try that.

btw Must i use a tape ? or can i do it via network ? because i don't think i'll be able to plugin an lto taper on the source server.

otherwise i can do it via nfs on another server with an lto writer, but i'll still have to restore from the network in any case ?

thanks a lot.
Christian Tremblay
Trusted Contributor

Re: System Restore from dump

It's simpler if you can connect a small DDS tape on your boxes, but if you can't there is the network alternative too.

Check man make_net_recovery

Chris
og_2
New Member

Re: System Restore from dump

damn i got no luck. those proggies are not installed on the source server ;(

gonna check on the applications disks