|
Home > Archive > Unix True 64 > January 2005 > Problems cloning servers with vdump-vrestore
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problems cloning servers with vdump-vrestore
|
|
| koji_nanami 2005-01-19, 7:48 am |
| Hi,
I'm trying to clone a D15 (5.1b os) fully configured and working server
on a fresh new D15 machine with only the base OS installed. I made a
vdump of all the fileset and restored as I was used to do on my old D10
servers wirking with 4.0F .
As soon as I reboot the server during startup of the system it gives me
an error on links to partitions and starts creating a new disk device
dsk1 (the original was dsk0) and then the boot stops.
Now I can only start the server in single user mode and I managed to
get it working reading an old post that suggested to do a:
dsfmgr -e dsk1 dsk0
after this i removed the dsk1 devices and rebooted succeding in cloning
the server.
The problem is that I've to avoid the new device creation at the first
startup and the system halt, finding a cloning procedure that doesn't
give such problems. This because the resulting cloning procedure has to
be monkey-user friendly. Hope to get some help soon...
Cris
| |
| Richard Zoller 2005-01-20, 5:57 pm |
| Hi Cris,
Have you tried a cloning procedure on bit-level.
Target-Disk must be of same size or bigger then Source-Disk!
$ init s (single user mode)
$ disklabel -z /dev/disk/dsk1 (wipe disklabel of target-disk)
$ dd if=/dev/disk/dsk0 of=/dev/disk/dsk1 bs=8192
Take dsk1 to your target-server and try to boot.
I´m not sure if you still have to reinitialize the hardware and
device-database, when following this procedure..
Hope it helps...
Ric
koji_nanami wrote:
> Hi,
>
> I'm trying to clone a D15 (5.1b os) fully configured and working server
> on a fresh new D15 machine with only the base OS installed. I made a
> vdump of all the fileset and restored as I was used to do on my old D10
> servers wirking with 4.0F .
> As soon as I reboot the server during startup of the system it gives me
> an error on links to partitions and starts creating a new disk device
> dsk1 (the original was dsk0) and then the boot stops.
> Now I can only start the server in single user mode and I managed to
> get it working reading an old post that suggested to do a:
> dsfmgr -e dsk1 dsk0
> after this i removed the dsk1 devices and rebooted succeding in cloning
> the server.
>
> The problem is that I've to avoid the new device creation at the first
> startup and the system halt, finding a cloning procedure that doesn't
> give such problems. This because the resulting cloning procedure has to
> be monkey-user friendly. Hope to get some help soon...
>
> Cris
>
|
|
|
|
|