SUMMARY: BootPath in X86
- From: "Mossey Fahey" <oab111@xxxxxxxxx>
- Date: Fri, 19 Sep 2008 12:35:33 +0100
Apologies for the delay, but it has taken me a while to get to the
bottom of this
issue. I am not sure if someone else has already posted this but here it is
First get the device number of the bootpath
prtconf -vp | grep bios-boot-device
This gives something like
Then use the /sbin/biosdev command to get the list of possible devices:
Match the numbers ==> 0x80 and that is the boot device. The only thing is
I cannot get the slice number.
I am looking for a way to determine the bootpath on my
Solaris 10 (08/07) X86
server. In the sparc world, I would give the command the usual 'prtconf
/dev/dsk/c0t0d0s0From this path I could work out which which is the boot device e.g.
The reason I get the path in this way is because I do not know of any other
way in a bash
script, of correctly determining the boot device, given that the script
could be run on a
server that may or may not have its boot disks mirrored under SVM.
After calculating the boot device boot, I then use this to pass the '-C'
parameter to an lucreate
command. This works fine in the sparc world.
We are in the process of starting to support X86 in our business, so I would
like things to work as
before where possible. But here is where I am stuck. I cannot seem to
determine what the
bootpath is when the root disks are mirrored under SVM. 'prtconf' does not
report the bootpath
as it did in sparc architecture
The bootpath in the /boot/solaris/bootenv.rc file just shows the SVM pseudo
setprop bootpath '/pseudo/md@0:0,10,blk'
I don't know how to convert/translate it to a path similar to the format
from sparc world.
Any ideas/hints/advice etc. would be greatly appreciated
Thanking you in advance
P.S. I will summarise
sunmanagers mailing list
- Prev by Date: Oracle 10g on Sun Cluster 3.1/Solaris 10
- Next by Date: User account creation
- Previous by thread: Oracle 10g on Sun Cluster 3.1/Solaris 10
- Next by thread: User account creation