On Wed, Feb 27, 2008 at 05:50:46AM +0530, aakash berde wrote: > sorry to not clearly giving details. > I am trying to communicate with target through HBA. I am collecting data of > target through HBA. > I want to detect how many targets are attched to HBA.
You may be able to use libdevinfo(3LIB) for this purpose. Be aware that multipathing alters the way this works, so that the actual target nodes appear under /scsi_vhci rather than the physical HBA. There are ways to connect that back to the physical paths, though... -- Keith M Wesolowski "Sir, we're surrounded!" Fishworks "Excellent; we can attack in any direction!" _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
