without inq or pp how do you find out what LUN / array a scsi device is

Without inq or powerpath you should still be able to findout what a device is.

 

On Solaris:

 

-         "format" command should tell you.

-         If using Leadville driver, the cXt<WWPN>dZwould tell you which SP/FE/FA port it is from - <WWPN> is of the scsitarget port, and the d number is the host id / HLU

-         If using non-leadville driver, check thepersistent binding and you will see the wwpn as well

 

On AIX:

 

-         lscfg -v.txt shows the device type, symm devname or Clariion LUN UID, or other vital product data

-         lsdev -Cc disk shows the device type and vendor

-         errpt -a would include the VPD in the "DISKOPERATION ERRORs"

 

On Linux you can refer to

-         /proc/scsi/scsi (it's a bit trouble)

-         ls -Ralsi /dev in the /dev/by-path subdir, you'dsee the PCI slot of the scsi controller, the remote port's wwpn and the hostLUN number as well for a given SD device.

你可能感兴趣的:(without inq or pp how do you find out what LUN / array a scsi device is)