Device Path Question

2007-12-24 23:32:00

I have a question about how to relate disk device path names to their CxTxDx
equivalents. I have had a script runing for several years which, among
other things, looks at the eeprom parms for boot-device, and reports what
the primary and alternate boot devices are in CxTxDx format. It does this
by running a "prtconf -vp" and retrieving the path names associated with
"disk" or "disk1" from the eeprom listing. Then it looks up the path name
in /dev/dsk and gets the CxTxDx name. Pretty straighforward.

Except that we just installed a couple of SunFire 880 systems and the logic
no longer works. The path name from "prtconf -vp" returns:
'/pci at 8,600000/SUNW,qlc at 2/fp at 0,0/disk at 0,0'. This path name does not exist
in /dev/dsk. Instead I see the following: c1t0d0s0 ->
..http://devices/pci at 8,600000/SUNW,qlc at 2/fp at 0,0/ssd at w21000004cf62063c,0:a.

Is there some way to relate the path obtained from prtconf to the entries in
/dev/dsk so I can find the appropriate CxTxDx? Alternatively, is there a
better way to do this.

TIA, and I will send a summary.

Val Christiansen
Unix System Support
(301) 718-5599

====================
This email/fax and any attachments are confidential and may not be used by
or sent to anyone who is not the original intended recipient. If you have
received this transmission in error, please inform the sender and
destroy/delete all paper and electronic copies.

Comments

Got something to say?

You must be logged in to post a comment.