System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

about HBA API : HBA_GetFcpTargetMapping(V2)

 
Highlighted
New Member

about HBA API : HBA_GetFcpTargetMapping(V2)

when I use HBA_GetFcpTargetMapping(V2) , normally it is fine. But when the target has no LUN0, for example, there is LUN1 and LUN2, the function will fail : stack error!
so I have to reload the my qla2300 driver and the function will work fine again. But without reloading, it fails.
Could anyone know the issue?
2 REPLIES 2
Highlighted
Honored Contributor

Re: about HBA API : HBA_GetFcpTargetMapping(V2)

You didn't mention what the target is but it's Lun 0 which is also called as Command Lun which facilitates the communication between the host and the target. So it should exist in any case.


Highlighted
New Member

Re: about HBA API : HBA_GetFcpTargetMapping(V2)

In fact I use SCST and qla2340 card.
seeing about this case:
originally there is a lun0 with /dev/disk1 in group1, and in initiator I
call HBA_GetFcpTargetMappingV2, it works ok. But now in target the admin
delete lun0 from group1, but in initiator we call HBA_GetFcpTargetMappingV2
again and it will fail!
What is the problem?