Ufsrestore on SunBlade 2500


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Ufsrestore on SunBlade 2500
# 8  
Old 01-17-2018
Yes, the format you posted for vfstab looks correct.

Boot from DVD into single user and mount your clone root hard disk filesysytem under /a

Code:
rm -f /a/dev/rdsk/c*
rm -f /a/dev/dsk/c*
rm -f /a/dev/cfg/c*
devfsadm -c disk -r /a -p /a/etc/path_to_inst

This will recreate any/all device nodes for disks.

Then, shutdown in an orderly manner

Code:
# init 0

and, reconfigure at boot

Code:
ok> boot -r

This User Gave Thanks to hicksd8 For This Post:
# 9  
Old 01-17-2018
Thanks.. Same result.
# 10  
Old 01-17-2018
Can you post the error you are getting (or is it still scrolling too fast)?
This User Gave Thanks to hicksd8 For This Post:
# 11  
Old 01-18-2018
I think the problem has occurred because we didn't know at the start that the original system from which the ufsdump was taken had volumes mirrored by Sun Volume manager.

Having thought about it, I think we need to repeat the root filesystem restore and insert some more steps. Most of the main steps you already know so this won't take too long.

1. Boot from DVD into single user and 'newfs' the root filesystem slice (c0t0d0s0).
2. Plumb, configure and up a network interface, and mount your NAS under /mnt
3. mount your now empty root filesystem under /a, cd into /a, check for Lost+Found as the sole contents.
4. Stay in /a and ufsrestore your root filesystem. When finished check the contents of /a looks like a root filesystem.
5. If this file exists immediately delete it:

Code:
# rm restoresymtable

6. Edit the file /a/etc/system and look for the line referencing 'rootdev'. Remove this line and write the file back.

7. Edit /a/etc/vfstab to point to the correct devices and removing all references to 'md' devices (as you did before).

8. Take the system down in orderly manner:

Code:
# init 0

9. Now be careful NOT to try and boot the system multi-user. Instead, boot from hard disk into single user mounting the root volume with write access:

Code:
ok> boot -sw

10. When at the # prompt (you may need to enter the root password to get there), issue the command:

Code:
# metaclear -a -f

which will blow away all the mirroring information.

11. Take the system down:

Code:
# init 0

12. Boot the system with the reconfigure switch:

Code:
ok> boot -r

Let's see if that will fix it. Leave the restored /usr volume alone; it shouldn't be affected.

Last edited by hicksd8; 01-18-2018 at 02:06 PM..
This User Gave Thanks to hicksd8 For This Post:
# 12  
Old 01-19-2018
Went pretty smooth up to step 11. When I
Code:
init 0

I get
Code:
INIT: Cannot access /var/adm/utmpx, remaining in single user mode

Is this a problem? I don't think var is mounted- correct?
# 13  
Old 01-19-2018
Do you know if your /var is a separate filesystem?? If so, you are correct that /var is not mounted (does therefore not exist).

However, you must be careful how you bring the system down so not to corrupt anything.

If all else fails then the old-fashioned way is:

Code:
# sync
# sync
# <stop-A>

but that could still be iffy.
This User Gave Thanks to hicksd8 For This Post:
# 14  
Old 01-19-2018
OK I did
Code:
boot -r

Its come back up with the correct host name. Its checked the slice where my var is and says its stable. Failed the forceload of a bunch of md stuff. Several messages about not being create and write to
Code:
utmpx

. I'm at
Code:
Type control-d to proceed with normal startup
 (or give root password for system maintenance

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Cloning a Sunblade 2500

Good Morning, I took a mirror drive from one Solaris 9 machine and used it to set up another. After syncing another mirror on the second machine I restarted but I don't get a login screen. I see a message:The X-server cannot be started on display :0 Also during startup I see:... (8 Replies)
Discussion started by: Stellaman1977
8 Replies

2. UNIX for Beginners Questions & Answers

Need in for a script that should check for errors in multiple log file (approx 2500) and should mail

hello everyone, I am new to linux and got this deliverable to write a script that should check for error in multiple log file (count is approx 2500 log files on single server) and once error is found, it should mail that error My logic says: we can put all log files path/location in one... (2 Replies)
Discussion started by: Pratik_CTS
2 Replies

3. BSD

Installing OpenBSD for Xorg on Sunblade 2500

Hello All, I am new to the forum so forgive me for any mistakes. I have a question. I have been doing alot of reading about how to get a supportable operating system on my sunblade 2500. I also want to use it for Xorg. I have been having trouble getting the sun XVR drivers working... (2 Replies)
Discussion started by: harqobi22
2 Replies

4. Hardware

StorageTek 2500

Hi, I recently got StoragaTek 2500 and I would like to connect it to my solaris machine, since I don't have much experience with storages, could someone point me how to do so, how can i present disks from storage on my solaris os? (everything is already connected) thanks in advance (1 Reply)
Discussion started by: sprehodec
1 Replies

5. What is on Your Mind?

Now Over 2500 FB Fans for Our New Timeline

Progress! 25% there on our way 10,000 FB fans on the new timeline: https://www.unix.com/members/neo-albums-forum-pics-picture503-facebook-timeline-now-over-2-500-fans.png (0 Replies)
Discussion started by: Neo
0 Replies

6. UNIX for Dummies Questions & Answers

Sunblade 1000

Hi everyone this is my first post I have used linux a couple of times and was impressed, so i bought an old sunblade 1000, just to learn something new. I cannot get the thing to work! I have tried to install solaris 10 and several types of linux. I am beginning to wonder if i was sold a... (3 Replies)
Discussion started by: Kawakaze
3 Replies

7. Filesystems, Disks and Memory

SB2000, 2500 server client convert

Hi, Sir, I have a customer who use a SB2000 as server and just upgraded three client machine with SB2500. The system is used for planning and all boxes likely share the same source on server, so pretty slow when all machines are in operation. The customer wish to do a server-to-client and... (0 Replies)
Discussion started by: howhowzz
0 Replies

8. Solaris

Anyone has problems with new Blade 2500????

Hi guys, I am a new member here. This is my first post. I try to purchase some new Blade 2500 for the company. However, the vendor suggests me to get Blade 2000 instead. The vendor said he has many problems with new Silver Blade 2500's. Has anyone here had simlar experience with blade 2500?... (4 Replies)
Discussion started by: facaizhu
4 Replies

9. Linux Benchmarks

AMD 2500 / 1G RAM / Soyo KT600 Ultra MB

System Notes: CPU/Speed: AMD Athlon 2500+ 1.8Ghz Ram: 1 GB DDR 333 PC2700 Motherboard: Soyo KT600 Dragon Ultra Bus: PCI Cache: 512KB (corrected earlier error stating 512MB!) HD Controller: EIDE Benchmarks: ... (5 Replies)
Discussion started by: Neo
5 Replies
Login or Register to Ask a Question