Thanks a lot!! It worked.
I was able to get dev link name from the physical paths for all the SD nodes
and then filter out the ones that I was interested in.
However if I have a large number of luns say more than 5000, then is there more
efficient way in libdevinfo to find out dev link names for
On Mon, 24 Aug 2009 04:04:35 -0700 (PDT)
damitri wrote:
> Hello All,
>
> How can I get disk’s dev link name (which is in the form /dev/dsk/CxTyDz)
> from libdevinfo if I have its corresponding physical path?
>
> Eg: When I do “ls -l /dev/dsk/c1t0d0s0” the output is
>
> # ls -l /dev/dsk/c1t0d0
Hello All,
How can I get disk’s dev link name (which is in the form /dev/dsk/CxTyDz) from
libdevinfo if I have its corresponding physical path?
Eg: When I do “ls -l /dev/dsk/c1t0d0s0” the output is
# ls -l /dev/dsk/c1t0d0s0
lrwxrwxrwx 1 root root 43 Jun 3 16:32 /dev/dsk/c1t0d0s0