Building New server Using ufsrestore

Hi Guys,
Marry X-MAX in advance :slight_smile:
I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S.
I am having ufsdump "mydump.rootdump.gz" in a Central NFS server.

What I did:-
I took backup of root filesystem (/) of OLD-SERVER using ufssnap/ufsdump.
That backup "mydump.rootdump.gz" put on central NFS server. 10.x.x.n.

Install Solaris 10 on NEW-SERVER. Made identical partions during installation.
After then mounted OLD_SERVER:/mydump.rootdump.gz on /mnt.
NEW-SERVER#mount OLD_SERVER:/mydump.rootdump.gz /mnt
NEW-SERVER@/mnt#cd /
NEW-SERVER@/# gzcat /mnt/mydump.rootdump.gz | ufsrestore rvf -

After running above command I was getting messages like "File already exist"
And then ended with below given messages.
.......
.............

extract file ./usr/lib/fs/udfs/fsck
extract file ./usr/lib/fs/udfs/fstyp
extract file ./usr/lib/fs/udfs/mount
extract file ./usr/lib/fs/xmemfs/mount
extract file ./usr/lib/fs/ufs/fsirand
extract file ./usr/lib/fs/ufs/fsckall
extract file ./usr/lib/fs/ufs/labelit
extract file ./usr/lib/fs/ufs/ufsrestore
Bus Error (core dumped)
NEW-SERVER@/#

When I rebooted my newserver it .. I got boot prompt but after displaying hostname I was getting messages "The System will sync files,save a crash dump if neede ....... panic [cpu7]/thread=fffffffe80009c8000: Unrecoverable Machine-Check ...

Then it started syncing the files...... and again rebooted .....

Could you guys Please help me out from this situation...
My main aim is rebuild an indentical server.
It will great help, If you will give me a step by step procedure for the same.
OS: Solaris 10 X86
Both the server are remote, I can't use Tape drive.. I having root filesystem dump (/) on Central NFS server.

I am waiting your response as soon as possible .....

Thanks in advance ....

Sanjay

does your "old" server had two drive bays? if so, you could always dd from one drive to another. something like below.

dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c1t0d0s2 bs=512

this would be the easiest way to clone them. you won't need to pass the vtoc to the new disk as dd will copy all the 'low-level' formatting of the drive including the bootblk. however, do not connect any network cabling when placing the 2nd drive into the new server. you have ip conflicts and hostname conflicts which could cause problems on your network. once the new disk is installed, you may want to rebuild the /etc/path_to_inst just to be safe. after that, run sys-unconfig to do the hostname and ip stuff.

If you want to make a clone like this, you need to boot the server you are building from network or media, if this is a Sun machine you can use the virtual drive.

You cannot safely overwrite the running root partition. In reality a flash archive based installation would be a much simpler way to perform this

you already dump a copy of a root on main server and if you had two bay for another drive not partition i guessed you mount the dump file on another running solaris and restore it in another drive..it works on mine..