Featured post

Quiz: Data PreProcessing

Tuesday, 6 December 2016

Solaris: To find the Page 83 Ids for SAN LUN on Soalris LDOMs hosted on Utility Platform

To find the Page 83 Ids for SAN LUN on Soalris LDOMs hosted on Utility Platform


Solaris 11
use the inbuilt devprop command.
Eg:
# /usr/sbin/devprop -v -n /dev/rdsk/c0d1s2 devid
devid=id1,vdc@n600523487680c8000c452343000000000b29

Solaris 10
devprop doesn’t exist on Solaris 10, so use prtconf instead. Below command will give you the page83 ID and “c0dX” number for every LUN on the host.
Eg:
# prtconf -vD | egrep '(vdc@|/dev/rdsk/c.*d.*s0)' | sed 's/s0$//g'
                        value='id1,vdc@n600009700002923487221498762340'
                            dev_link=/dev/rdsk/c0d1

This method works for Solaris 11 as well if you just want a list of all Page83 ID and disk device.

No comments:

Post a Comment