WWN no. of drive...
Created: 06 Sep 2012 | Updated: 02 Oct 2012 | 15 comments
This issue has been solved. See solution.
Hi All,
How we find out the WWN no. of physical drive as well as VTL drive. Can some one plz help me out. I need this on urgent
Discussion Filed Under:
Comments 15 Comments • Jump to latest comment
hi,
Check this thread
https://www-secure.symantec.com/connect/forums/configure-vtl-netbackup-75
Thanks In Advance.
Manish
Don't forget to mark your thread as 'SOLVED' with the answer that best helped you.
I Want to check WWN No. from netbackup end..
NetBackup works on the SCSI enquiry string and will not return the WWN - although i believe the scan command reports the WWN in its output
Hope this helps
Authorised Symantec Consultant
Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.
Yes, Mark is correct scan will show the WWN. Scan is not a NBU command, it is a scsi inquiry command.
I give up, I really do.
WHY WHY WHY do people keep INSISTING on getting tapedrive details from NetBackup .
It is the WRONG way to be THINKING about it.
TAPE is HARDWRAE, therefore the first port of call for deatils should be the operating system, as it is the OS that is talking to the drives.
NETBACKUP haas very very little to do with tape drives, it is the OS that writes to the tapes, not netbackup.
Why ...
Remove NBU from the system, you are left with the os, a network, and tape drives ...
Can people now see why when you think about tape drives you should NOT automatically think netbackup - they are totally separate.
Martin
Hello Mark and Martin.
Actually thing is that the VTL drives are down and OS team ask me to provide WWn No., i dont have much exposure over netbackup, so i dont know how to find.
And SCAN command does not provide WWN no.
OUTPUT OF SCAN :
WWN : ""
WWN Id Type : 0
Device Identifier: ""
I appreciate that, apologies, my comment was meant in general, not aimed at you personally.
Martin
What OS are you using. Command differs from OS to OS.
Linux : scli -t / qaucli (Qlogic)
Solaris : cfgadm -la -o show_FCP_dev
Assumption is the mother of all mess ups.
If this post answered your'e qustion - Please mark as a soloution.
Hello Nicolai,
We are using solaris. I have one doubt here , this command give a output of all drives, is there any switch which shows WWN no. of only one drive...
Please reply ASAP , i am in trouble...
Nicolai..
In output , does not mentioned drive no.. How we came to know that this wwn is of which drive..
Solaris:
prtconf -vp | grep wwn
port_wwn: 10000000.xxxxx
node_wwn: 20000000.xxxxxx
port_wwn: 10000000.xxxxxxxxxx
node_wwn: 20000000.xxxxxxx
port_wwn: 10000000.xxxxxxxxa
node_wwn: 20000000.xxxxxx
port_wwn: 10000000.xxxxxxxx
node_wwn: 20000000.xxxxxxxxx
AIX:
body { margin: 0pt; padding: 0pt; }td, div { font-family: Segoe UI; font-size: 9pt; vertical-align: top; }body { margin: 0pt; padding: 0pt; overflow: hidden; }.transcript { background-color: rgb(210, 210, 210); }.messageBlock { padding-left: 10px; padding-right: 10px; margin-bottom: 3px; }.message { padding-left: 20px; margin-left: 95px; word-wrap: break-word; white-space: pre-wrap; }.messageCont { padding-left: 20px; margin-left: 95px; word-wrap: break-word; white-space: pre-wrap; }.other { font-size: 11px; color: rgb(57, 87, 122); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.myself { font-size: 11px; color: rgb(218, 129, 3); font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont { font-size: 8px; text-align: right; color: rgb(57, 87, 122); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.myselfCont { font-size: 8px; text-align: right; color: rgb(218, 129, 3); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.system { font-size: 11px; word-wrap: break-word; color: rgb(218, 129, 3); font-style: normal; font-weight: normal; white-space: pre-wrap; }.showTimestamp { padding-left: 20px; font-size: 11px; float: right; color: rgb(153, 153, 153); font-style: normal; font-weight: normal; }.other1 { font-size: 11px; color: rgb(172, 32, 0); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont1 { font-size: 8px; text-align: right; color: rgb(172, 32, 0); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other2 { font-size: 11px; color: rgb(60, 159, 168); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont2 { font-size: 8px; text-align: right; color: rgb(60, 159, 168); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other3 { font-size: 11px; color: rgb(226, 86, 20); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont3 { font-size: 8px; text-align: right; color: rgb(226, 86, 20); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other4 { font-size: 11px; color: rgb(11, 106, 200); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont4 { font-size: 8px; text-align: right; color: rgb(11, 106, 200); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other5 { font-size: 11px; color: rgb(178, 50, 144); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont5 { font-size: 8px; text-align: right; color: rgb(178, 50, 144); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other6 { font-size: 11px; color: rgb(2, 231, 199); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont6 { font-size: 8px; text-align: right; color: rgb(2, 231, 199); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.other7 { font-size: 11px; color: rgb(91, 50, 132); vertical-align: top; font-weight: bold; font-style: normal; float: left; width: 95px; }.otherCont7 { font-size: 8px; text-align: right; color: rgb(91, 50, 132); font-family: Arial,Lucida Grande; font-style: normal; vertical-align: top; font-weight: bold; float: left; width: 95px; }.highlight { background-color: rgb(190, 214, 248); }.datestamp { padding-right: 0px; font-size: 11px; cursor: default; margin-bottom: 1px; background-color: rgb(192, 192, 192); width: 100%; float: left; text-align: right; color: rgb(255, 255, 255); font-weight: bold; font-style: italic; }#chatAlert { float: left; border-bottom: 1px solid rgb(232, 208, 145); padding: 6px; width: 100%; color: rgb(165, 117, 76); }#chatAlertImage { float: left; }#chatAlertText { float: left; margin-left: 6px; }#chatAlertClose { float: right; margin-right: 10px; padding-right: 6px; margin-top: 0px; }#chatAlertText a { color: rgb(165, 117, 76); }#chatAlertText a:hover { color: rgb(165, 117, 76); text-decoration: none; }.tsDisplay { display: block; }.dsDisplay { display: block; }
do
wwpns=`lsattr -El $TAPESS | grep "ww_name" | awk '{ print $2 }'`
echo $TAPESS $wwpns
done
Solaris:
prtconf -vp | grep wwn
port_wwn: 10000000.xxxxx
node_wwn: 20000000.xxxxxx
port_wwn: 10000000.xxxxxxxxxx
node_wwn: 20000000.xxxxxxx
port_wwn: 10000000.xxxxxxxxa
node_wwn: 20000000.xxxxxx
port_wwn: 10000000.xxxxxxxx
node_wwn: 20000000.xxxxxxxxx
AIX:
lsdev -Cc tape | awk '{ print $1 }' | while read TAPESS
do
wwpns=`lsattr -El $TAPESS | grep "ww_name" | awk '{ print $2 }'`
echo $TAPESS $wwpns
done
Hi Srivani,
How to find out that which WWN no. is of which drive
Have a look at your scan output again. Admittedly the WWN is empty, but (certainly in our case) the WWN is actually incorporated in the Passthru Name:
& from the same output the details for the 'changer' can be used to determine which drive number this relates to by comparing serial numbers.
For us, all these numbers match throughout (sgscan, cfgadm & a physical check on the library plus with what NB is reporting with regards to location (e.g. GUI))
Regards Andy
"Have you still got the box it came in?"
Thanks soo much to all for help
Passthru Name : in scan never gave me the WWN number....
Device Name : "/dev/rmt/15cbn"
Passthru Name: "/dev/sg/c20t2l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 4-SCSI H58S"
Vendor ID : "HP "
Product ID : "Ultrium 4-SCSI "
Product Rev: "H58S"
Serial Number: "HU195184RE"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 3
Removable : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/18cbn"
Passthru Name: "/dev/sg/c21t0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 4-SCSI H58S"
Vendor ID : "HP "
Product ID : "Ultrium 4-SCSI "
Product Rev: "H58S"
Serial Number: "HU19497WLF"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 3
Removable : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
i am still waiting for a commnad which can provide me wwn number of all the dedices attched to the server.
Would you like to reply?
Login or Register to post your comment.