Hi
I am developing a new VSS Hardware Provider for a iSCSI target.
For the stub implementation i think of simulating the snapshot process,
i think of ->
taking a persistent snapshot (using vshadow) of one of the iscsi target node which is already exposed to the system( using iscsi initiator)
In the hardware implementation part i exposed another same sized iscsi node as the resultant snapshot.
i populate the basic VDS_LUN_INFORMATION during gettarget luns (like product id, vendorid etc as these values are same for all the iscsi nodes)
then during the locateluns process i issue iscsicli command to surface the particular iscsi node to the system and issue scsi inquiry command to the drive to populate the remaing vds lun info which was left out during gettarget luns process.
i populate all that is required during gettargetluns method
but the snapshot process returns error,
#1 The method FillInLunInfo is being called several times over.
#2 After, (several) FillInLunInfo calls, OnLunEmpty is called.
however i checked VDS_LUN_INFORMATION has correct values for the
target LUN though.
I appreciate any help in nailing this down.
Thanks