Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

eeprom configuration

Posted on 2004-03-25
12
1,335 Views
Last Modified: 2013-12-27
I have a Sparc 20 system with 2 internal disk drives (36GB each).
I have mirrored the primary drive to the secondary drive, so I have two bootable system drives both with Solaris 8.

My eeprom configuration is a follows:
boot-device=disk1 disk

According to the man pages this setting will start with the first disk, if it fails it will go to the second disk.
However my system only tries the first disk and stops at the OK prompt, I have to type boot disk to have it boot off the second disk.

How can I change this to have the system automatically boot off either disk, if one fails it will automatically reboot off the second disk.

Thank in advance for your help.
0
Comment
Question by:sluch
  • 3
  • 2
  • 2
  • +4
12 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 10683624
Have you defined the path for the second disk?
0
 
LVL 1

Expert Comment

by:mdhmi
ID: 10689740

Start by changing your boot-device variable to 'disk'.  Then figure out why disk1 isn't bootable.  Perhaps the disk1 alias is bogus.

Mark

0
 

Author Comment

by:sluch
ID: 10690342
Here are my definiations for my disk(s)
At the OK prompt I type the following:

ok devalias
disk    /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0
disk1  /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0

I think this should be fine?

Both disks are bootable as you can type boot or boot disk1 at the OK prompt and the system comes up fine with either disk.

Thanks
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 7

Expert Comment

by:fim32
ID: 10691746
what's the error message when it "only tries the first disk and stops at the OK prompt"?

is auto-boot? set to true?
0
 

Author Comment

by:sluch
ID: 10692041
My boot-device is set as follows:

boot-device=disk1 disk

Here is the message I get

Boot device: /iommu/sbus/espdma@f,400000/eps@f,800000/sd@1,0  File and args:
Type help for more information
OK

Yes auto-boot? is set to true.

Disk1 is a new disk with no operating system on it, however I just want test if it would change over to the second disk.
According to the man pages with boot-device set the way I have indicated above the system should boot from either disk.
0
 
LVL 7

Expert Comment

by:fim32
ID: 10692169
hmm, i see you have a sparcstation 20, what version of openboot is it?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10696626
I encountered same problem with some brands of disks (mainly hitachi),
didn't have time to dig deeper into this, but replacing the disk fixed the problem
It only happened in some UltraSPARC ...
Just my 2 pence.
0
 

Author Comment

by:sluch
ID: 10715462
The version of openboot is 2.25
0
 
LVL 2

Expert Comment

by:CadburyKat
ID: 10832718
at the ok prompt do a probe-scsi-all

ensure your disks match the aliases for disk and disk1

Then after ensureing your aliases are correct

can you do both?:

boot disk
boot disk1

If this works your system is set up correctly

I personally would have boot-device=disk disk1

But I am a creature of habit.
0
 
LVL 2

Expert Comment

by:CadburyKat
ID: 10832724
Did you transfer the boot block.

I guess I would like to know how you mirrored the disks.
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 11338568
PAQed, with points refunded (100)

Netminder
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question