?
Solved

eeprom configuration

Posted on 2004-03-25
12
Medium Priority
?
1,344 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
[X]
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
  • 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

650 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