Ufsrestore on SunBlade 2500


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Ufsrestore on SunBlade 2500
# 15  
Old 01-19-2018
Well you've already successfully booted into single user from this hard disk so you might as well try going multi-user with CTRL-D
This User Gave Thanks to hicksd8 For This Post:
# 16  
Old 01-19-2018
OK I put run level 3 and
Code:
Cannot access /var/adm/utmpx, remaining in single user mode

and then back to the
Code:
ctrl-d to proceed with normal...

# 17  
Old 01-19-2018
Is /var a separate filesystem? Have you allocated the slice, newfs'd and restored it? Have you modified /etc/vfstab with the right device node to point to it?

If you boot into single user:

Code:
ok> boot -sw

and give the root password to get to a # prompt, can you then manually mount /dev/dsk/c?t?d?s? on /var? Does it work or does it complain?

If it works, take a look in /var/adm to see if the file is there.

Or have you restored the /var contents into /var on the root filesystem with the vfstab mounting over the top and hiding the files????

Repeat, is /var a separate filesystem or not?
This User Gave Thanks to hicksd8 For This Post:
# 18  
Old 01-19-2018
Double check your entries in /etc/vfstab (/a/etc/vfstab when mounted on the DVD) to ensure that the devices you have set for root (/), /usr, and /var (if separate) point to the slices that you restored them to.

An incorrect setting for root (/) could be causing this.
This User Gave Thanks to hicksd8 For This Post:
# 19  
Old 01-22-2018
You have one of two scenarios.

The /var is either (a) a separate filesystem (which you will have dumped separately from the original system), or (b) it is not separate and is therefore included in the root filesystem.

If it is (a) then when you boot from DVD and mount your hard disk root filesystem under /a, when you look in /a/var it will be empty since the other /var slice will be mounted here. Also, in this case, there will be an entry in /a/etc/vfstab to mount this other slice under /var at boot time.

If it is (b) then when you boot from DVD and mount your hard disk root filesystem under /a, when you look in /a/var the normal files will be in there. Also, there will be no entry in /a/etc/vfstab to mount anything on /var.

If you have checked everything is in order for (a) or (b) and the system still won't boot correctly, then recreate the device nodes for all disks using 'devfsadm' as described previously.
This User Gave Thanks to hicksd8 For This Post:
# 20  
Old 01-22-2018
Good Morning..

Good news- its starting to look like something! It lets me log in as root.

Yes,
Code:
/usr

is its own slice. Never did anything with it so I formatted and restored it.

Amended
Code:
vfstab

for that slice.

Booted without reconfigure switch.

Its coming up with
Code:
Cannot start X-Server

and driver error, which I expected.

Next, I intend to:

1. Install the driver for that card.
2. Format and restore the other slices.

Sound about right?
# 21  
Old 01-22-2018
That's looking better. Well done!

Don't forget the obvious that, at some point, you should backup this system as a separate entity to protect all the changes you've made. You don't want to have to start again.

Also, you'll need to change the node name if it's going to sit on the same subnet as the original, and configure the network interface (for real this time). Is the network interface card the same as the original? e.g. bge0 or whatever?

But, yes, you can create slices and ufsrestore the other filesystems one at a time remembering to keep vfstab up to date so that the system can find them at boot time.
This User Gave Thanks to hicksd8 For This Post:
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