다음을 통해 공유


ISCSI_TargetMapping WMI 클래스

ISCSI_TargetMapping WMI 클래스는 초기자의 호스트 시스템에 로컬로 정의된 LUN(논리 단위 번호) 컬렉션을 64비트 iSCSI LUN 그룹에 매핑합니다. 64비트 iSCSI LUN 자체는 나타내는 논리 단위를 고유하게 식별하지 않습니다. 그러나 iSCSI LUN 및 논리 단위가 속한 대상의 이름은 네트워크의 모든 위치에서 논리 단위를 고유하게 식별합니다.

관리 애플리케이션은 ISCSI_TargetMapping WMI 클래스를 사용하여 로컬로 열거될 때 원격 논리 단위에 할당할 LUN을 지정할 수 있습니다.

이 클래스가 정의하는 매핑은 특정 대상 로그온 세션과 연결됩니다. MSiSCSI_TargetMappings WMI 클래스는 특정 어댑터 instance 연결된 모든 매핑을 설명합니다.

이 클래스는 Common.mof에서 다음과 같이 정의됩니다.

class ISCSI_TargetMapping {
  [WmiDataId(1), description("OS Scsi bus number target 
    is mapped to. If 0xffffffff then any value can be picked
    by the miniport.") : amended]
    uint32  OSBus;
  [WmiDataId(2), description("OS Scsi Target number target
    is mapped to. If 0xffffffff then any value can be picked
    by the miniport.") : amended]
    uint32  OSTarget;
  [WmiDataId(3), Description("Unique Session ID for the 
    target mapping") : amended] 
    uint64  UniqueSessionId;
  [WmiDataId(4), description("Count of LUNs mapped for this 
    target") : amended]
    uint32  LUNCount;
  [WmiDataId(5), MaxLen(MAX_ISCSI_NAME_LEN),
     description("Target Name") : amended]
    string  TargetName;
  [WmiDataId(6), Description("TRUE if session created from a
    persistent login") : amended]
    boolean  FromPersistentLogin;
  [WmiDataId(7), WmiSizeIs("LunCount"),
    description("List of LUNs mapped for this target") : 
    amended]
    ISCSI_LUNList  LUNList[];
};