Hello, as Kurt explained, look at the fiber card adapter instance. Look under /proc/scsi to find out your adapter type. In my case, it is /proc/scsi/qla2300. Under that directory, there will be an instance for each adapter. In my case, I have 1 adapter. Browse that file. Look for the "SCSI Device Information" section. In that section, look for the target devices, e.g,
# cat /proc/scsi/qla2300/1 ... SCSI Device Information: ... scsi-qla0-target-0=5005076300426c01; scsi-qla0-target-1=5005076300426c02; The target-0 and target-1 correspond to /dev/IBMtape0 and /dev/IBMtape1 in my case and the values above are their WWNs, i.e, device = /dev/IBMtape0, wwn = 5005076300426c01 device = /dev/IBMtape1, wwn = 5005076300426c02 Bye ! Rejean Larivee IBM Tivoli Storage Manager support IBM Global Technology Services ********************************************************************************************************** Visit our new IBM Tivoli Storage Manager support page: http://www-3.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html Expand IBM Tivoli product knowledge through our Support Technical Exchange. http://www-306.ibm.com/software/sysmgmt/products/support/supp_tech_exch.html ********************************************************************************************************** "ADSM: Dist Stor Manager" <[email protected]> wrote on 10/06/2007 02:21:11 AM: > > Hi, > > It seems that these are WWN of the FC HBA card. I am looking for the WWN no > of the attached devices like FC tape library. > > > > ( o ) > ------- > I,I ' ' I,I > "((" > > )) > > > > With Best Regards, > > Sandeep Jain > > > > > > ********************** Legal Disclaimer > ***************************************** > > "This email may contain confidential and privileged material for the sole > use of the intended recipient. Any unauthorized review, use or distribution > by others is strictly prohibited. If you have received the message in error, > please advise the sender by reply email and delete the message. Thank you." > > **************************************************************************** > ********* > > > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of > BEYERS Kurt > Sent: Friday, October 05, 2007 7:46 PM > To: [email protected] > Subject: Re: [ADSM-L] WWN under Linux > > Hi, > > The /proc file system has the information you are looking for: > > Server:~ # cat /proc/scsi/qla2xxx/* | grep adapter-port > scsi-qla0-adapter-port=210000e08b822690; > scsi-qla1-adapter-port=210100e08ba22690; > scsi-qla2-adapter-port=210000e08b81a2a8; > scsi-qla3-adapter-port=210100e08ba1a2a8; > scsi-qla4-adapter-port=210000e08b8195b5; > scsi-qla5-adapter-port=210100e08ba195b5; > scsi-qla6-adapter-port=210000e08b8121af; > scsi-qla7-adapter-port=210100e08ba121af; > > The directory (qla2xxx) might be different, depending on the type of FC > HBA you are using. > > Regards, > Kurt > > > -----Oorspronkelijk bericht----- > > Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Namens > Richard > > Sims > > Verzonden: vrijdag 5 oktober 2007 15:57 > > Aan: [email protected] > > Onderwerp: Re: [ADSM-L] WWN under Linux > > > > On Oct 5, 2007, at 8:47 AM, Sandeep Jain wrote: > > > > > Hi Richard, > > > > > > My TSM server is on Windows ... > > > > In Windows, the TSM device driver provides the command 'tsmdlst', > > which will report the WWN. > > > > Not sure about a Linux command: possibly, the 'lsscsi' command may do > > it, if that is installed on your Linux. > > > > Richard Sims > *** Disclaimer *** > > Vlaamse Radio- en Televisieomroep > Auguste Reyerslaan 52, 1043 Brussel > > nv van publiek recht > BTW BE 0244.142.664 > RPR Brussel > http://www.vrt.be/disclaimer > > > > > > DISCLAIMER ?The information contained in this e-mail is > intended only for the person or entity to whom it is addressed > and may contain confidential or privileged information. > If you are not the intended recipient, any dissemination, > use, review, distribution, printing or copying of information > in this e-mail is strictly prohibited, and you are requested > to contact the sender by reply e-mail and destroy all copies > of the original message.Thank you" > > > This email has been scanned for any virus > infection at the sending end.
