Cloning Solaris 10 from v240 to v490: What am I missing?...
- From: Noel Milton Vega <nmvega@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 Jul 2007 15:41:59 -0700
Hi:
I cloned a Solaris 10 O/S (HW 06/06) over the network from a SUNW,Sun-
Fire-V240
server to a SUNW,Sun-Fire-V490 server like this:
root@src # ufsdump 0f - / | ssh -l root dst "(cd /tmp/root; /usr/sbin/
ufsrestore -rf -)"
root@src # ufsdump 0f - /var | ssh -l root dst "(cd /tmp/root/var; /
usr/sbin/ufsrestore -rf -)"
root@src # ufsdump 0f - /opt/app | ssh -l root dst "(cd /tmp/root/opt/
app; /usr/sbin/ufsrestore -rf -)"
After the ufsdumps completed, on the dst (destination) server I did
the following
usual steps:
While booted off the CD on the dst machine, I did the following:
====================================
root@dst# rm -f /a/dev/dsk/*
root@dst# rm -f /a/dev/rdsk/*
root@dst# rm -f /a/etc/path_to_inst
(I never "rm" the /devices tree; I only append to it)
root@dst# cp /tmp/root/etc/path_to_inst /a/etc/path_to_inst
root@dst# cd /dev/dsk; find . | cpio -pudm /a/dev/dsk
root@dst# cd /dev/rdsk; find . | cpio -pudm /a/dev/rdsk
root@dst# cd /devices; find . | cpio -pudm /a/devices
root@dst# vi /a/etc/vfstab (make adjustments to boot off c1t1d0
slices)
root@dst# vi /a/etc/system (take DiskSuite out of the picture;
including running "metadb -d c1t1d0s7")
install a bootblock on c1t0d0s0; (etc... all the usual pre stuff).
====================================
When I reboot the final system v240 I have re-mastered from the source
v490 machine, it says
it cannot find "/dev/dsk/c1t1d0s0". The problem is that the last part
of the /devices tree
disappears when I reboot... that is, the part in the following string
beginning with "ssd@..."
disappears:
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3cfa1de,
0
The directory tree... "/devices/pci@9,600000/SUNW,qlc@2/fp@0,0/"
exists, but nothing under
it exists after I reboot (even though it existed before I rebooted. As
you can see from above I cpio'ed
over the entire /devices tree from the booted CD O/S).
I'm think I am missing some disk and I/O libraries and/or drivers that
are needed on the v490 (dest),
but that werre not installed on a v240 (source).
Anyway here is the exact error:
===============================================
Rebooting with command: boot
Boot device: disk1 File and args:
SunOS Release 5.10 Version Generic_118833-36 64-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
The / file system (/dev/rdsk/c1t0d0s0) is being checked.
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c1t0d0s0).
....[ goes into single user mode ] ...
===============================================
Any ideas? Any packages that I need to install on this v490 that did
not come over
from the v240 (probably). Any steps that I missed?
Thanks in advance.
Noel
.
- Follow-Ups:
- Prev by Date: Re: ZFS Raid1+0
- Next by Date: Re: man -k command inquiry
- Previous by thread: how to increase latency between two servers
- Next by thread: Re: Cloning Solaris 10 from v240 to v490: What am I missing?...
- Index(es):
Relevant Pages
|