Ufsrestore on SunBlade 2500


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Ufsrestore on SunBlade 2500
# 1  
Ufsrestore on SunBlade 2500

Good Afternoon,

I'm setting up a SunBlade 2500 using
Code:
ufsrestore

and have gotten to the point where I have restored the root and usr partitions. However, the machine keeps rebooting, never really coming up. Looking at
Code:
vfstab

, it looks pretty empty- shouldn't I see entries like
Code:
/dev/dsk/c0t0d0s0

etc?. I'm cloning a machine so should I pretty much just make it match the other?
# 2  
Yes, it should look pretty much like the original machine, except if the device nodes are different on this new hardware.

For example, if the original system root device is c0t0d0s0 but on the clone it is c2t0d0s0, then you need to edit that. Same with other filesystems such as /usr.

In /etc/vfstab (that's /a/etc/vfstab when booted from DVD) you should easily pick out the device to be mounted on '/' (root) and the device to be mounted on /usr. You can tell from running 'format' whilst in single user node which disk and which slice any particular filesystem is on.

So first question is: Are they different???

If yes, then there might be other things to do too.
This User Gave Thanks to hicksd8 For This Post:
# 3  
Ah.. I was looking at
Code:
vfstab

without the drive mounted to /a. the
Code:
vfstab

on the
Code:
ufsrestore

d drive matches.

The machine had to be shut down over the weekend. So I booted from CDROM and mounted S0 to /a

When I reboot the machine, it still keeps rebooting. I'm getting something very similar to this:
Code:
Cannot mount root on /pseudo/md@0:0,10,blk fstype ufs

panic[cpu0]/thread=140a000: vfs_mountroot: cannot mount root

0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 1457ee0, 0)

  %l0-3: 000000000144b800 000000000144b800 0000000000002000 00000000014954a8
  %l4-7: 000000000149b000 0000000001411e28 000000000144c000 000000000144f400
0000000001409a20 genunix:main+90 (1409ba0, f005bc0c, 1409ec0, 394648, 2000, 438)

  %l0-3: 0000000000000001 000000000140a000 0000000001412f98 0000000000000000
  %l4-7: 0000000078002000 0000000000396000 00000000014a38b0 00000000010664f8

skipping system dump - no dump device configured
rebooting...
Probing system devices

It goes by too fast. I found that somewhere else so it doesn't match exactly but its close.
# 4  
The point is that the device nodes for the root filesystem and the /usr filesystem might be different on the new hardware.

If you enter the command:

Code:
# mount

on the original system you will be able to see the devices mounted for root (/) and /usr. Make a note of them. This is device node list #1.

Now, on the clone, when booted from DVD into single user (with nothing mounted) and using the 'format' command you can see the devices on the clone plus you know what slice YOU are using to configure, format, and ufsrestore different filesystems on. Make a note of these. This is device node list #2. Are they the same devices (eg, c0t0d0s0) on both machines??? Also, if you now mount the root filesystem of the clone on /a and look in /a/dev/dsk, do the required devices (from list #2) exist in this directory?? If not, we need to create them before the system will boot and find its root filesystem.
This User Gave Thanks to hicksd8 For This Post:
# 5  
Code:
mount

on the original (list #1)=
Code:
/ on /dev/md/dsk/d0
/usr on /dev/md/dsk/d3

Code:
format

on the clone (list #2)=
Code:
c0t0d0

so its not a match (unless there's more I could have found selecting something from the format menu)

Mounted the root on a. I see about 200 slices including:
Code:
c0t0d0s0, c0t0d0s1, c0t0d0s2,c0t0d0s3,c0t0d0s4,c0t0d0s5,c0t0d0s6,c0t0d0s7

so not a match again.
# 6  
The

Quote:
/ on /dev/md/dsk/d0
/usr on /dev/md/dsk/d3
tells me that, on the original system, the volumes are mirrored ("md") using Sun's Logical Volume Manager.

So, booting from DVD into single user and mounting your clone root under /a, edit /a/etc/vfstab file to point to the new clone devices:

eg,

Code:
/ on /dev/dsk/c0t0d0s0
swap on <whatever you created it as>
/usr on /dev/dsk/<whatever you create it as>

eg, c0t0d0s2

Then, shutdown the machine in an orderly manner:

Code:
# init 0

and at the ok> prompt:

Code:
ok> boot -r

to tell Solaris to reconfigure as it boots.

Post the results of that.
This User Gave Thanks to hicksd8 For This Post:
# 7  
Same result. Note, my
Code:
vfstab

doesn't look like this:

Quote:
Originally Posted by hicksd8

Code:
/ on /dev/dsk/c0t0d0s0
swap on <whatever you created it as>
/usr on /dev/dsk/<whatever you create it as>

In
Code:
vfstab

I put
Code:
/dev/dsk/c0t0d0s0    /dev/rdsk/c0t0d0s0    /    ufs   1   no   -

and similar for var's slice.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #170
Difficulty: Easy
RedHat became a subsidiary of IBM in 2019.
True or False?

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 2500s. 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

Featured Tech Videos