Restore a server from a ufsdump


 
Thread Tools Search this Thread
Operating Systems Solaris Restore a server from a ufsdump
# 1  
Old 03-12-2012
Restore a server from a ufsdump

Hi guys

i tried to restore a server from a ufsdump. For your information, the ufsdump was created on a v440 and i have to restore it to a v240... is it supported? should it work? don't know but i try!

the problem is after restoring the filesystem, modify the vfstab, system file and install bootblok solaris boots but goes into maintenance because he cannot mount /usr...
on the original server the /usr filesystem was located on c2t0d0s3 but here it is c1t3d0s3... does it mater? anyway

this is the bootprocess:
Code:
Sun Fire V240, No Keyboard
Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.30.4.a, 12800 MB memory installed, Serial #60304567.
Ethernet address 0:3:ba:98:2c:b7, Host ID: 83982cb7.



Rebooting with command: boot disk3
Boot device: /pci@1c,600000/scsi@2/disk@3,0  File and args: -r
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.
Hardware watchdog enabled
Failed to plumb IPv4 interface(s): ce0
Hostname: test
ERROR: svc:/system/filesystem/root:default failed to mount /usr  (see 'svcs -x' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Root password for system maintenance (control-d to bypass):

what can i do? is there a way to fix that or is it impossible due to different HW?

thx in adv
beta17
# 2  
Old 03-13-2012
Firstly, failed to plumb ce0 is probably as simple as ce0 interface does not exist on this hardware. Solaris tries to plumb this because you have a file /etc/hostname.ce0 existing on the root filesystem. Remove this file. You may need to plumb and configure the actual interfaces for this hardware but that's easy.

---------- Post updated at 11:18 AM ---------- Previous update was at 10:54 AM ----------

Secondly, your device nodes eg. c2t0d0 are wrong.

Try this:-

Boot from CD and mount your harddisk root filesystem under /a
Code:
 
rm -f /a/dev/rdsk/c*
rm -f /a/dev/dsk/c*
rm -f /a/dev/cfg/c*
devfsadm -r /a -p /a/etc/path_to_inst

Now check /etc/vfstab looks right.

Also you should use the -r switch (reconfigure) boot -r
or use "touch reconfigure" to put an empty file called reconfigure into the top (/) of your harddisk root filesystem which I believe does the same job.

Last edited by hicksd8; 10-04-2017 at 04:11 AM.. Reason: Tidy up typo's
This User Gave Thanks to hicksd8 For This Post:
# 3  
Old 03-13-2012
thank you hicksd8
i have ignored that part of the network interface, i know that there is no ce0 interface, should be eri0... but the server should boot with this error..

i will try to delete all entries you have suggested and check again the vfstab...

i'll give shortly a update!

---------- Post updated at 07:35 AM ---------- Previous update was at 07:18 AM ----------

OMG that worked!! :-D

Code:
{1} ok boot disk3
Boot device: /pci@1c,600000/scsi@2/disk@3,0  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.
Hardware watchdog enabled
Failed to plumb IPv4 interface(s): ce0
Hostname: test
Configuring devices.

testconsole login:

thank you very much !!!!!!!!
# 4  
Old 03-13-2012
Sounds good. Just to be sure I'd now ensure that your boot archive is right for that configuration.

Boot from CD and mount your harddisk root filesystem under /a
then.....
Code:
# bootadm update_archive -v -R /a

The config should now be quite clean.

Last edited by hicksd8; 04-01-2018 at 01:34 PM.. Reason: Insert code tags (6 years after posting!!!)
# 5  
Old 03-13-2012
i've already tried with the boot-archive but this was not used in Solaris 10 U3 :-)

Code:
-bash-3.2# bootadm update-archive -v -R /restore/root/
system not archive-based -no boot block
/restore/root/: not a boot archive based Solaris instance

thank you anyway! ;-)
# 6  
Old 03-13-2012
Okay good. Job done then.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Server migration - using ufsdump

hi all, i am refreshing my hardware, but i do not want to do a clean installation/reinstallation. I am wondering if i could do - do a ufsdump of the / partition (into a file on a nfs share) - bootup using cdrom in the new machine - mount the boot device/slice, and restore the ufsdump on... (7 Replies)
Discussion started by: javanoob
7 Replies

2. Emergency UNIX and Linux Support

Dead server, need to restore few files

Hi, One of my Linux server running Redhat version 3 is dead. I already build the new server but I need to get few of the license files from the old server. Currently, I booted the old server using the CDROM. But when I go to /mnt/sysimage/var, I don't see any of files? I also went to... (4 Replies)
Discussion started by: samnyc
4 Replies

3. Solaris

identify server type from ufsdump

Hi guys I have a little problem. I need to identify the server type from some ufsdumps. How can i do that? I grepped with: grep Sun messages* but with this command, if there server was never rebooted, i cannot recognize the server type. any other idea? thx in advance Ivan (5 Replies)
Discussion started by: beta17
5 Replies

4. Solaris

ufsdump to a remote server

Hello, how can I use ufsdump utility for filesystem backup to a remote directory on a server dedicated for backups ( over network) ?? (3 Replies)
Discussion started by: mm00123
3 Replies

5. UNIX for Advanced & Expert Users

Building New server using ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) 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... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

6. Filesystems, Disks and Memory

Building New server using Ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) 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... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

7. AIX

Must restore data to DR server

Hello, I have posted several threads regarding my voyage of discovery with mksysb's and AIX, but seem to be at a loss now please help me. I need to restore data from a mksysb to a DR server. Problem is the DR server only has 2 disks not 4 and no mirrors. I need to restore AIX 5.2 to the... (7 Replies)
Discussion started by: pobman
7 Replies

8. UNIX for Advanced & Expert Users

ufsdump and restore

I just completed a level 0 ufsdump of the following files:- ufsdump 0uf /dev/rmt/0n / ufsdump 0uf /dev/rmt/0n /usr ufsdump 0uf /dev/rmt/0n /export/home ufsdump 0uf /dev/rmt/0n /oracle ufsdump 0uf /dev/rmt/0n /sapr3 I need to restore ALL the files onto a different machine and continue... (1 Reply)
Discussion started by: charleywasharo
1 Replies

9. Solaris

dd vs. ufsdump / restore

I want to clone a disk, i have not done this yet, i think dd and ufsdump | ufsrestore are the most common two options i see documented on the internet. Which one is better? pro's & kons? Tnx! (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question