Mark is right about SLES.
Fernando is right about the LUN numbering scheme for DS8K. However, it may differ with other storage servers. Additionally, all recent versions of SLES10, SLES11, RHEL5, and RHEL6 should ship the perl script "lsluns" in the s390-tools package (named s390utils on RHEL). It can query the storage server by means of the report luns scsi command. It's documented per man page and also in the device drivers book on developerworks.

On 07/29/2011 12:45 PM, Mauro Souza wrote:
Unfortunately, it's for RHEL6.

On Fri, Jul 29, 2011 at 12:25 AM, Mark Post<mp...@novell.com>  wrote:
On 7/28/2011 at 05:29 PM, Mauro Souza<thoriu...@gmail.com>  wrote:
I've heard somewhere that there's a script capable of enumerating all LUNs
on a given WWPN. Do someone have this script on hand?

For which Linux distribution?  For SLES, zfcp_san_disc might be of some
use.

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to