![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 1668904.1 : Oracle ZFS Storage Appliance: How to Match a ZFSSA Exported iSCSI LUN Mounted on Windows 2012
In this Document
Created from <SR 3-8738740991> Applies to:Sun ZFS Storage 7320 - Version All Versions and laterSun Storage 7110 Unified Storage System - Version All Versions and later Sun Storage 7210 Unified Storage System - Version All Versions and later Sun ZFS Storage 7120 - Version All Versions and later Sun Storage 7310 Unified Storage System - Version All Versions and later 7000 Appliance OS (Fishworks) GoalHow can I map the iSCSI LUN which I created on the ZFS SA to Windows ? In my scenario I have multiple iSCSI LUNs with the same size. SolutionWe will first identify the LUN from ZFS SA and it's LUN number: From ZFS SA: lbl-789:shares default> select iscsi0 get lunumber
lunumber = 0
lbl-789:shares default> select iscsi1 get lunumber
lunumber = auto lbl-789:shares default> select iscsi1 get assignednumber assignednumber = 1
From the above, we have 2 iSCSI luns. iscsi0 with LUN number 0 iscsi1 with LUN number 1
From Windows, we have 3 disks. 2 of which are the iSCSI LUNs from the ZFS SA. Below shows that we have 2 iSCSI LUNs mapped to the Windows 2012 from a single iqn target. PS C:\> iscsicli reporttargetmappings
Microsoft iSCSI Initiator Version 6.2 Build 9200 Total of 1 mappings returned Session Id : fffffa800766f020-4000013700000002 Target Name : iqn.1986-03.com.sun:02:368dc085-d241-cabd-9f3e-e97993b8a0bb Initiator : ROOT\ISCSIPRT\0000_0 Initiator Scsi Device : \\.\Scsi3: Initiator Bus : 0 Initiator Target Id : 0 Target Lun: 0x0 <--> OS Lun: 0x0 Target Lun: 0x100 <--> OS Lun: 0x1 The operation completed successfully. PS C:\>
We can list the disks using DiskPart DISKPART> list disk
Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 30 GB 0 B Disk 1 Online 1024 MB 1024 MB Disk 2 Online 1024 MB 1024 MB
Select each disk and use the detail command to shows the properties. DISKPART> select disk 1
Disk 1 is now the selected disk. DISKPART> detail disk SUN Sun Storage 7000 SCSI Disk Device Disk ID: 00000000 Type : iSCSI Status : Online Path : 0 Target : 0 LUN ID : 0 Location Path : UNAVAILABLE Current Read-only State : No Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No There are no volumes. DISKPART> select disk 2 Disk 2 is now the selected disk. DISKPART> detail disk SUN Sun Storage 7000 SCSI Disk Device Disk ID: 00000000 Type : iSCSI Status : Online Path : 0 Target : 0 LUN ID : 1 Location Path : UNAVAILABLE Current Read-only State : No Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No There are no volumes.
Disk 1 with LUN ID: 0 Disk 2 with LUN ID: 1
With the LUN number information from both ZFS SA and Windows 2012. We can match the Disk 1 in Windows 2012 to iscsi0 from ZFS SA. And Disk 2 in Windows 2012 to iscsi1 from ZFS SA. References<NOTE:1398581.1> - Sun Storage 7000 Unified Storage System: How to Troubleshoot iSCSI ProblemsAttachments This solution has no attachment |
||||||||||||||||
|