09-05-2012 08:18 PM
I recently got a Interview question, where in i was ask How would you check which drive is connected via which HBA...explaning more
suppose there are 3 HBA and 10 Drive how would you confirm from which HBA which drive is connected.
Solved! Go to Solution.
09-06-2012 12:34 AM
If the drive is visible, then scan will show the serial numbers of the drives.
.. but this is not showing all the drives, not sure why, maybe it only shows the 'top level device'.
/usr/openv/volmgr/bin/scan shows the serial numbers, scan also shows the WWN, so the drives can be found.
NOTE
I do not know why people are obsessed with "NetBackup commands" to show HBA related stuff (you are not the first peron to ask).
Let me tell you what NBU has to do with tape drives.
Nothing.
Why
If you remove NBU from you system, are the tape drives still there - yes ... therefore tho two are not related.
For HBA stuff/ san stuiff do not think about NetBackup commands, use OS commands / utilities.
Martin
09-05-2012 11:14 PM
Impossible question because you didn't tell us which OS.
The method would vary across the OS. A generic answer is to say to use the HBAs utility (they come with an optional application) for example hbanywhere to see where they are connected.
Other ways would be to use OS commands, for example, cfgadm on solaris, or iostat on HP.
Martin
09-06-2012 12:00 AM
The OS is Solaris , Is there any netbackup Command which can help.
also How would you see the HBA and Serial number of drive which point that its connect to this HBA.
09-06-2012 12:34 AM
If the drive is visible, then scan will show the serial numbers of the drives.
.. but this is not showing all the drives, not sure why, maybe it only shows the 'top level device'.
/usr/openv/volmgr/bin/scan shows the serial numbers, scan also shows the WWN, so the drives can be found.
NOTE
I do not know why people are obsessed with "NetBackup commands" to show HBA related stuff (you are not the first peron to ask).
Let me tell you what NBU has to do with tape drives.
Nothing.
Why
If you remove NBU from you system, are the tape drives still there - yes ... therefore tho two are not related.
For HBA stuff/ san stuiff do not think about NetBackup commands, use OS commands / utilities.
Martin