BootPath in X86
- From: "Mossey Fahey" <oab111@xxxxxxxxx>
- Date: Tue, 11 Mar 2008 22:54:53 +0000
Hi Managers,
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
-vp|grep bootpath'.
bootpath: '/ssm@0,0/pci@1a,600000/pci@2/scsi@2,1/disk@0,0:a'
/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
device
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
oab111
P.S. I will summarise
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: find command freze - update
- Next by Date: 4 monitors to be used with Ultra20 M2.
- Previous by thread: Anthony English/Australia/IBM is out of the office.
- Next by thread: 4 monitors to be used with Ultra20 M2.
- Index(es):