Solved

eeprom configuration

Posted on 2004-03-25
12
1,328 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
Comment Utility
Have you defined the path for the second disk?
0
 
LVL 1

Expert Comment

by:mdhmi
Comment Utility

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
Comment Utility
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
 
LVL 7

Expert Comment

by:fim32
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 7

Expert Comment

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

Expert Comment

by:ahoffmann
Comment Utility
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
Comment Utility
The version of openboot is 2.25
0
 
LVL 2

Expert Comment

by:CadburyKat
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed, with points refunded (100)

Netminder
EE Admin
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now