Discussion:
HbaScsiId.OsDeviceName is null always
(too old to reply)
jas
2007-08-14 19:49:21 UTC
Permalink
Hi

I am using WMI HBA API classes to identify target node and port WWNs. I am
suing HbaFcpInfo::GetFcpTargetMapping method This retreives an array of
HbaFcpScriEntry objects and this object has an instance of HbaScsiId
embedded in it. I always get null as HbaScsiId.OsDeviceName filed.

I am using wmi classes genreated using mgmtclassgen utility.

Any help will be appreciated.

Regards

jas
pgarvan
2007-11-01 11:13:01 UTC
Permalink
Jas,

Yes, you're not experiencing an error. The OsDeviceName is always null when
getting this info via WBEM. It would be nice to have the OsDeviceName filled
in, but it does not. If you would like to find out what it is, you can use
the FCInfo tool, but even that tool is forced to go ask the operating system
rather than getting it via the CIM model.

Regards,

Patrick
Post by jas
Hi
I am using WMI HBA API classes to identify target node and port WWNs. I am
suing HbaFcpInfo::GetFcpTargetMapping method This retreives an array of
HbaFcpScriEntry objects and this object has an instance of HbaScsiId
embedded in it. I always get null as HbaScsiId.OsDeviceName filed.
I am using wmi classes genreated using mgmtclassgen utility.
Any help will be appreciated.
Regards
jas
Loading...