Setting Up a Windows or Mac OS Host to Use LUN storage over iSCSI
Requirements for setting up a host
These system and network requirements must be met before setting up a host to use Unity storage.
Before you can set up a host to use Unity storage, the following storage system and network requirements must be met.
Overview
This document describes how to configure the following hosts to access Fibre Channel (FC) or iSCSI storage provisioned on a system running the latest operating environment:
- Windows hosts
- AIX hosts
- Citrix XenServer hosts
- HP-UX hosts
- Linux hosts
- Solaris hosts
This document is intended for those who are responsible for setting up host to access storage.
Readers of this document should be familiar with FC or iSCSI LUNs and with the operating system running on the hosts that will access the LUNs.
The Unisphere online help provides specific information about storage, features, and functionality. The online help and a complete set of documentation are available on the EMC Online Support website.
System requirements
Before configuring hosts to access the storage system, ensure that these requirements are met.
Complete the following tasks before connecting hosts to the storage system:
- Install and configure the system using the Initial Configuration wizard.
- Use Unisphere or the CLI to configure NAS servers or interfaces, or iSCSI or Fibre Channel (FC) LUNs, on the storage system.
Network requirements
For a host to connect to LUNs on an iSCSI interface, the host must be in the same network environment with the iSCSI interface. To achieve best performance, the host should be on a local subnet with each iSCSI interface that provides storage for it. In a multi-path environment, each physical interface must have two IP addresses assigned; one on each SP. The interfaces should be on separate subnets.
To achieve maximum throughput, connect the iSCSI interface and the hosts for which it provides storage to their own private network. That is, a network just for them. When choosing the network, consider network performance.
Path management network requirements

When implementing a highly-available network between a host and your system, keep in mind that:
- A LUN is visible to both SPs
- You can configure up to 8 IPs per physical interface. If more than one interface is configured on a physical interface, each interface must be configured on a separate VLAN.
- Network switches may be on separate subnets.

The following figure shows a highly-available iSCSI network configuration for hosts accessing a storage resource (iSCSI LUNs). Switch A and Switch B are on separate subnets. Host A and Host B can each access the storage resource through separate NICs. If the storage resource is owned by SP A, the hosts can access the storage resource through the paths to the interfaces on SP A. Should SP A fail, the system transfers ownership of the resource to SP B and the hosts can access the storage resource through the paths to the interfaces on SP B.

VSS HW Provider overview
The VSS HW Provider runs as a Windows service and provides the interface between the Microsoft Volume Shadow Copy Service (VSS) and your storage system. The VSS HW Provider enables VSS requestor applications, such as VSS-enabled backup applications, to make snapshots of iSCSI and FC LUNs.
Microsoft VSS
VSS provides the backup framework for Windows Server 2003 R2, Windows Server 2008, and Windows Server 2012 and enables the creation of snapshots (called shadow copies for Microsoft VSS) — point-in-time copies of data. VSS is integrated with front-end applications so they can create and access shadow copies.
The VSS architecture includes VSS providers. A VSS provider creates and maintains shadow copies and acts as the interface to point-in-time imaging capabilities either on a storage platform (hardware-based provider) or in a host operating system (software-based provider). The Unity VSS HW Provider is a hardware-based provider that works directly with iSCSI and FC LUNs on the Unity iSCSI and FC interfaces and with the VSS service on Windows Server 2003 R2, Windows Server 2008, or Windows Server 2012 hosts to provide consistent shadow copy creation and addressing.
Because the Unity VSS HW Provider is a hardware-based provider, it reduces the load on the CPU and memory of the host. It is also more efficient in an environment where shadow copies of multiple volumes must be taken simultaneously.
Refer to the Microsoft documentation for more information about VSS.
Windows host — Using multi-path management software over iSCSI
Multi-path management software manages the connections (paths) between the host and the storage system to provide access to the storage if one of the paths fails. The following types of multi-path management software are available for a Windows 2003, Windows Server 2008, or Window Server 2012 connected host :
- EMC PowerPath software on a Windows 2003, Windows Server 2008, or Windows Server 2012 host. Refer to the Unity Support Matrix on the support website for compatibility and interoperability information.
PowerPath is not supported for Windows 7.
- Native MPIO on Windows 2003, Windows Server 2008, or Windows Server 2012 without Multiple Connections per Session (MCS).
The MultiPath IO feature must first be enabled before it can be used.
MCS is not supported by Unity.
For information on data availability in your Unity system and your connectivity infrastructure, refer to EMC Unity High Availability, A Detailed Review white paper.
Setting up your system for multi-path management software
For your system to operate with hosts running multi-path management software, two iSCSI IPs are required. These IPs should be on separate physical interfaces on separate SPs.
Verify the configuration in Unisphere. For details on how to configure iSCSI interfaces, refer to topics about iSCSI interfaces in the Unisphere online help.

Installing PowerPath
- On the host or virtual machine, download the latest PowerPath version from the PowerPath software downloads section on the EMC Online Support website.
- Install PowerPath as described in the appropriate PowerPath installation and administration guide for the host’s or virtual machine’s operating system.
This guide is available on EMC Online Support. If the host or virtual machine is running the most recent version and a patch exists for this version, install it, as described in the readme file that accompanies the patch.
- When the installation is complete, reboot the host or virtual machine.
- When the host or virtual machine is back up, verify that the PowerPath service has started.
Configuring iSCSI LUNs for the host
- Create storage over iSCSI for the host.
- Add the host to the storage system in Unisphere or by using the Unity CLI and creating a host. If your host is not already logged in, manually create an iSCSI initiator by providing the host IQN.
- Provide host access to the storage over iSCSI. Host access options are: No Access, LUN, Snapshot, LUN and Snapshot.
On a Mac OS host, the Xtend SAN iSCSI initiator will not log into the iSCSI storage if no vdisk0 is configured on the target (iSCSI interface). We recommend that you to create a unique iSCSI interface, create an iSCSI resource on this iSCSI interface, and provide access to the Mac OS host. The first LUN that you create on this iSCSI resource is vdisk0.
For information on performing the above Unisphere tasks, refer to the Unisphere online help.
Windows host — Setting up for iSCSI LUNs
To set up a Windows host for iSCSI LUNs, perform these tasks:
- Install the Unity VSS HW Provider
- Install the Microsoft iSCSI Initiator and iSCSI initiator service on the Windows host (Windows Server 2003 and Windows Server 2008 SP2)
- Start the iSCSI initiator service (Windows Server 2008 R2 and Windows Server 2012)
- For a multi-path configuration, install the MPIO feature (Windows 2003 and Windows Server 2008 SP2)
- Set registry values
Install the Unity VSS HW Provider
It is recommended that you install the VSS HW Provider on the host that will use the iSCSI or FC LUNs with backup applications.
To install the Unity VSS HW Provider:
- Log in to the host using an account with administrator privileges.
- Download the software package that you want to install as follows:
- Locate the Unity VSS tool on online support.
You may need to filter by Support Tools.
- Choose the correct version for your Windows platform, and select the option to save the software to the host.
- Locate the Unity VSS tool on online support.
- In the directory where you saved the software, double-click the Unity VSS provider executable file to start the installation wizard.
- Follow the instructions in the wizard to complete the installation of the Unity VSS provider.
Starting and stopping the Unity VSS HW Provider
The Unity VSS HW Provider runs as a Windows service and is enabled by default. You can stop and start this service from the Windows Services administrative tool.
Install the Microsoft iSCSI Initiator and iSCSI initiator service on the Windows host (Windows Server 2003 and Windows Server 2008 SP2)
To install the Microsoft iSCSI Initiator and iSCSI service:
- Download the latest iSCSI initiator software and related documentation from the Microsoft website to the host.
- After you download the appropriate software, double-click the executable to open the installation wizard, click Next in the Welcome page, and follow the steps in the installation wizard.
- If this is an upgrade of existing iSCSI initiator software, you must restart the host.
- For shared storage, make the LanManServer service dependent on the iSCSI initiator service by starting the LanManServer before the iSCSI initiator service with the following command:
sc config LanManServer depend= MSiSCSI
If you use LanManServer on a Windows Server 2003 host to set up shares on an iSCSI resource, these shares are available only after you reboot the host because the LanManServer service starts before the iSCSI initiator service.
Start the iSCSI initiator service (Windows Server 2008 R2 and Windows Server 2012)
To connect to the targets (iSCSI interfaces), the host uses an iSCSI initiator, which requires the Microsoft iSCSI Software Initiator software and the iSCSI initiator service. This software and service are part of the Windows Server 2008 software; however, the driver for it is not installed until you start the service. You must start the iSCSI initiator service using the administrative tools.

For a multi-path configuration, install the MPIO feature (Windows 2003 and Windows Server 2008 SP2)

If the Windows host will use a multi-path configuration to connect to the LUNs, you should install the MPIO feature. To install MPIO on Windows Server 2008:
- Open Server Manager.
- In the Server Manager tree, click Features.
- In the Features pane, under Features Summary, click Add Features.
- In the Add Features Wizard, select Multipath I/O, and click Next.
- In the Confirm Installation Selections dialog box, click Install.
- When the installation is complete, in the Installation Results dialog box, click Close.
- When prompted to restart the computer, click Yes.
After restarting, the host finalizes the MPIO installation.
- Click Close.
Set registry values

- On the host, run the Windows Registry Editor (regedit.exe).
- Go to HKEY_LOCAL_MACHINE\SYSTEM\.
- Right-click CurrentControlSet, and search for the MaxRequestHoldTime key and modify its value from 60 to 600 (decimal) or from 3c to 258 (hexadecimal).
Verify that the path to the parameter that you found in the CurrentControlSet. If it is not, search for the parameter again. If you make changes to ControlSets other than the top level current set, those changes will not affect the system.
- If the host is running PowerPath:
- Search for the register keys list in Table 1.
Verify that the path to the parameter that you found in the CurrentControlSet. If it is not, search for the parameter again. If you make changes to ControlSets other than the top level current set, those changes will not affect the system.
- Record the value of each of these registry keys, so you have them in case you need to uninstall PowerPath.
- Update each of these registry keys. See Table 1.
Table 1. Registry keys to update (iSCSI only) Registry keysInstructionsLinkDownTimeSet to 600.AsyncLogoutPauseTimeout (new value)Add this REG_DWORD key in the same key as LinkDownTime. Set it to 600.DelayBetweenReconnectPortalRetryCount
Find the DelayBetweenReconnect value. Set the PortalRetryCount value so that PortalRetryCount*DelayBetweenReconnect=600SrbTimeoutDelta (for PowerPath only)Set to 100 for PowerPath only.
- Search for the register keys list in Table 1.
- Quit the Registry Editor.
Windows host — Configuring to connect to an iSCSI interface
Before an initiator can establish a session with a target, the initiator must discover where the targets are located and the names of the targets available to it. To obtain this information the initiator uses the iSCSI discovery process. The iSCSI interfaces support discovery with or without an iSNS server. Without iSNS discovery, you must add the target information to the Microsoft iSCSI Initiator. With iSNS discovery, the initiator queries the iSNS server where all iSCSI initiators and targets register themselves, and the server responds with a list of available targets. When the target information is available to the Microsoft iSCSI Initiator, you can connect the host initiator to the target so the host can access the iSCSI LUNs.

Each iSCSI interface is a target. If a storage system has two iSCSI interfaces, it has two targets. Each target has one session.
To connect to an iSCSI target, you must add the target IP address in Microsoft iSCSI Initiator. If you have multiple targets (iSCSI interfaces), you can use the Microsoft iSCSI initiator to discover the targets through an individual IP address.
To configure the Windows host initiators:
Go to the section below for the host’s configuration:
For Windows Server 2003 or Windows Server 2008 SP2 or earlier:- Multipath configuration with iSCSI or PowerPath:
- Multi-path configuration with iSCSI or PowerPath:
Setting Up MPIO for a Windows Cluster Using a Storage System gives an end-to-end example of setting up a two-node Windows Server 2008 R2 Exchange cluster in an MPIO multi-path configuration.
For Windows 7:Configuring a Windows 7 initiator to connect to a storage system iSCSI interface
Configuring a Windows Server 2003 or Windows Server 2008 SP2 or earlier initiator to connect to an iSCSI interface — multi-path configuration
Before you configure a Windows Server 2003 or Windows Server 2008 SP2 or earlier initiator to connect to an iSCSI interface in a multi-path configuration:
- You must have configured the iSCSI interface with two IP interfaces on two separate physical ports. Each IP interface should be on a separate IP subnet.
- The Windows host must have two network interfaces. One interface must be on the IP subnet with one of the storage system iSCSI interfaces, and the other interface must be on the IP subnet with the other storage system iSCSI interface.
To configure a Windows Server 2003 or Windows Server 2008 SP2 or earlier initiator to connect to an iSCSI interface in a multi-path configuration, perform these tasks:
- Multi-path configuration with Native MPIO:
- Setup optional mutual CHAP — Windows Server 2003 or Windows Server 2008 SP2 or earlier in multi-path configuration
- Discover the storage system iSCSI interface in an environment — Windows Server 2003 or Windows Server 2008 SP2 or earlier in a multi-path configuration
- Identify and set active paths to the storage system
- Multi-path configuration with PowerPath:

Setup optional mutual CHAP — Windows Server 2003 or Windows Server 2008 SP2 or earlier in multi-path configuration
For the storage system iSCSI interface to which you want the host iSCSI initiator to access:
- On the host, start the Microsoft iSCSI Initiator.
- If mutual CHAP authentication is configured on the storage system iSCSI interface, then in the Microsoft iSCSI Initiator:
- Click the General tab and select Secret.
- In the CHAP Secret Setup dialog box, enter the mutual CHAP secret for the storage system iSCSI interface.
If the storage system has multiple iSCSI interfaces, this secret is the same for all. You can find this secret in the CHAP section on the Access settings page in Unisphere ( > CHAP).
- Click OK.
Discover the storage system iSCSI interface in an environment — Windows Server 2003 or Windows Server 2008 SP2 or earlier in a multi-path configuration
- On the host, start the Microsoft iSCSI Initiator.
- Click the Discovery tab.
- Under Target Portals, click Add.
The Add Target Portal dialog box opens.
- In the Add Target Portal dialog box:
- Enter the IP address of the storage system iSCSI interface on the first subnet with the host interface. You can find this address with Unisphere by selecting .
- Click Advanced.
The Advanced Settings dialog box opens.
- In the Advanced Settings dialog box, set the following:
- Local adapter to Microsoft iSCSI Initiator.
- Source IP to the IP address of the host interface on the first subnet with the storage system iSCSI interface.
- If the host initiator is configured for optional initiator CHAP on the storage system iSCSI interface:
- Select CHAP logon information.
- Leave User name as the default value, which is the initiator’s IQN.
- Set Target secret to the same secret that is configured for the host initiator on the storage system iSCSI interface. The storage system iSCSI interfaces support CHAP secrets of 12 to 16 characters only.
- If the iSCSI interface is configured for mutual CHAP, select Perform Mutual Authentication.
- Click OK to close the Advanced Settings dialog box.
- Click OK to close the Add Target Portal dialog box.
- In the Discovery tab, verify that the address of the first iSCSI interface appears in the Target Portals list.
- Click the Targets tab. The IQNs representing the ports configured on the storage system appear in the Targets list with an Inactive status.
- In the Targets tab, select a storage system iSCSI interface target name, and click Log On. The Log On to Target dialog box opens.
- In the Log On to Target dialog box:
- Select Automatically restore this connection when the system reboots.
- Select Enable multi-path.
- Click Advanced. The Advanced Settings dialog box opens.
- In the Advanced Settings dialog box, set the following:
- Local adapter to Microsoft iSCSI Initiator.
- Source IP to the address of the host interface on the first subnet with the storage system iSCSI interface.
- Target Portal to the address of the storage system iSCSI interface on the first subnet with the host interface.
To find the IP address associated with this IQN, note the IQN name, and then go to
in Unisphere.
- If the host initiator is configured for optional initiator CHAP on the storage system iSCSI interface:
- Select CHAP logon information.
- Leave User name as the default value, which is the initiator’s IQN.
- Set Target secret to the same secret that is configured for the host initiator on the storage system iSCSI interface. The iSCSI interfaces support CHAP secrets of 12 to 16 characters only.
- If the storage system iSCSI interface is configured for mutual CHAP, select Perform Mutual Authentication.
- Click OK to close the Advanced Settings dialog box.
- Click OK to close the Log On to Target dialog box.
- Repeat steps 11 through 16 for all other targets listed in the Targets tab. Ensure that the relevant IP addresses are selected accurately. Once logged on, each listed target must appear with the Connected status.
Identify and set active paths to the storage system

The Microsoft iSCSI Initiator may not accurately identify the active paths to the storage system. Complete the following steps to identify and set the active paths:

- In the Targets tab, select a storage system iSCSI interface target, and click Details.
The Target Properties dialog box opens.
- On the Devices tab, click Advanced. The Device Details dialog box opens.
- Click the MPIO tab. This tab lists all valid paths, with a single path set as Active. This path goes to the SP owner of the storage resource.
- Ensure that Load Balance Policy is set to Round Robin With Subset.
- Click the interface with the path set as Active, and click Details.
- In the MPIO Path Details dialog box, note the value in the Target Portal column. This is the IP address associated with the iSCSI interface created on the relevant port of the SP.
- Click OK to close the MPIO Path Details dialog box.
- For each interface with the path set as Standby, click Details to launch the associated MPIO Path Details dialog box.
- Review the value in the Target Portal column, and identify the interface that has path to the same SP as the interface with the path set as Active.
In Unisphere, go toto review the list of interfaces/IP addresses with path to the same SP.
- For the interface with the path to the same SP, on the MPIO tab, click Edit.
- In the Edit Settings dialog box, set Path Type to Active.
- Click OK to close the Edit Settings dialog box.
- On the MPIO tab, verify that the interface appears with the path set as Active.
- Click OK to close the Device Details dialog box.
- Click OK to close the Target Properties dialog box.
- Click OK to exit the Microsoft iSCSI Initiator.
What next?
Configuring a Windows Server 2008 R2 or Windows Server 2012 initiator to connect to a storage system iSCSI interface — multi-path configuration
Before you configure a Windows Server 2008 R2 initiator to connect to a storage system iSCSI interface in a multi-path configuration:
- You must have configured the storage system iSCSI interface with two IP interfaces on two separate physical ports. Each IP interface should be on a separate IP subnet.
- The Windows host must have two network interfaces. One interface must be on the IP subnet with one of the storage system iSCSI interfaces, and the other interface must be on the IP subnet with the other storage system iSCSI interface.
To configure a Windows Server 2008 R2 or later initiator to connect to a storage system iSCSI interface in a multi-path configuration, perform these tasks:
- Multi-path configuration with Native MPIO:
- Setup optional mutual CHAP — Windows Server 2008 R2 in multi-path configuration
- Configure MPIO to recognize iSCSI devices
- Discover the storage system iSCSI interface in an environment — Windows Server 2008 R2 in multi-path configuration
- Review the paths to the SP
- Verify the paths MPIO will use for load balancing
- Multi-path configuration with PowerPath:

Setup optional mutual CHAP — Windows Server 2008 R2 in multi-path configuration
For the storage system iSCSI interface to which you want the host iSCSI initiator to access:
- On the host, start the Microsoft iSCSI Initiator.
- If mutual CHAP authentication is configured on the storage system iSCSI interface, then in the Microsoft iSCSI Initiator:
- Click the Configuration tab.
- On the Configuration tab, click CHAP.
The iSCSI Initiator Mutual Chap Secret dialog box opens.
- In the iSCSI Initiator Mutual Chap Secret dialog box, enter the mutual CHAP secret for the storage system iSCSI interface.
If the storage system has multiple iSCSI interfaces, this secret is the same for all. You can find this secret in the CHAP section on the Access settings page in Unisphere ( ).
- Click OK.
Configure MPIO to recognize iSCSI devices

- Launch the MPIO application.
- On the MPIO Properties dialog box, click the Discover Multi-Paths tab.
- Under SPC-3 compliant, select Add support for iSCSI devices.
- Click Add. A Reboot Required dialog box opens.
- In the Reboot Required dialog box, click Yes.
- Once the server reboots, launch the MPIO application, and verify that the MPIO is configured to claim all iSCSI devices.
Discover the storage system iSCSI interface in an environment — Windows Server 2008 R2 in multi-path configuration
- On the host, start the Microsoft iSCSI Initiator.
- Click the Discovery tab.
- Under Target Portals, click Discover Portal.
The Discover Target Portal dialog box opens.
- In the Discover Target Portal dialog box:
- Enter the IP address of the storage system iSCSI interface on the first subnet with the host interface.
You can find this address with Unisphere by selecting.
- Click Advanced.
The Advanced Settings dialog box opens.
- Enter the IP address of the storage system iSCSI interface on the first subnet with the host interface.
- In the Advanced Settings dialog box, set the following:
- Local adapter to Microsoft iSCSI Initiator.
- Initiator IP to the IP address of the host interface on the first subnet with the storage system iSCSI interface.
- If the host initiator is configured for optional initiator CHAP on the storage system iSCSI interface:
- Select Enable CHAP logon.
- Leave Name as the default value, which is the initiator’s IQN.
- Set Target secret to the same secret that is configured for the host initiator on the storage system iSCSI interface.
The iSCSI interfaces support CHAP secrets of 12 to 16 characters only.
- If the storage system iSCSI interface is configured for mutual CHAP, select Perform Mutual Authentication.
- Click OK to close the Advanced Settings dialog box.
- Click the Targets tab.
- In the Targets tab under Discovered Targets, select the storage system iSCSI target and click Connect.
The Connect to Target dialog box opens.
- In the Connect to Target dialog box:
- Verify that Add this connection to the list of Favorite Targets is selected.
- Select Enable Multi-path.
- Click Advanced.
The Advanced Settings dialog box opens.
- In the Advanced Settings dialog box, set the following:
- Local adapter to Microsoft iSCSI Initiator.
- Initiator IP to the address of the host interface on the first subnet with the storage system iSCSI interface.
- Target portalIP to the address of the storage system iSCSI interface on the first subnet with the host interface.
You can find this address with Unisphere by selecting
. - Click OK to close the Advanced Settings dialog box.
- Click OK to close the Connect to Target dialog box.
- Repeat steps 8 through 13 for all other targets listed in the Targets tab. Ensure that the relevant IP addresses are selected accurately. Once connected, each listed target must appear with the Connected status.
Review the paths to the SP

- In the Targets tab, select a storage system iSCSI interface target, and click Devices.
- On the Devices dialog box, under Configure Multipath IO (MPIO), click MPIO. The Device Details dialog box opens.
This tab lists all valid paths, with a single path set as Active. This path goes to the SP owner of the storage resource.
- In the MPIO tab, ensure that Load Balance Policy is set to Round Robin With Subset.
- Review the list of paths to each device, and verify that they are set to Active.
Although all paths may appear as Active, it does not mean that the I/O operations will be active on all connections. The I/O will be directed only to the paths on the SP that owns the device or storage resource.
- Click OK to close the Properties dialog box.
- Click OK to exit the Microsoft iSCSI Initiator.
Verify the paths MPIO will use for load balancing

- Launch the MPIO application.
- On the MPIO Properties dialog box, click the Configuration Snapshot tab.
- Under Snapshot, specify a path and file name for the output.
- Select Open File upon capture, and then click Capture.
The output will appear in a text editor. It lists available paths to each device or storage resource. Note the following:
- Paths with Active/Optimized state are used to balance I/O to a storage resource.
- Paths with Active/Unoptimized state are used for failovers only.
What next?
Configuring a Windows 7 initiator to connect to a storage system iSCSI interface
To configure a Windows 7 to connect to a storage system:
- On the host, start the Microsoft iSCSI Initiator.
On way to start the iSCSI Initiator is by going to the Control Panel and selecting.
- If prompted to start the iSCSI service, click Yes.
- In the Targets tab, enter the IP address of the storage system iSCSI interface and click Quick Connect.
- In the Quick Connect window under Discovered targets, select the storage system iSCSI interface and click Connect.
The storage system iSCSI LUNs on the target (storage system iSCSI interface) for the host are added to Windows 7.
- Click Done.
The connection to the storage system iSCSI interface appears on the Targets tab as Connected.
- Click the Volumes and Devices tab and click Auto Configure.
The LUNs are connected to the host.
Windows host — Setting up to use iSCSI or FC LUNs
To set up a Windows host to use iSCSI or FC LUNs, perform the following tasks:
Register the LUNs as MPIO devices (Windows Server 2008 R2 and Windows Server 2012)
- On the host, start the MPIO Administrative Tool:
Either MPIO or and enter mpiocpl.exe.and select
- Open the MPIO control panel, and click the Discover Multi-Paths tab.
- Select the Add support for iSCSI devices check box, and click Add.
- When prompted to restart the computer, click Yes.
When the computer restarts, the MPIO Devices tab lists the additional hardware ID “MSFT2005iSCSIBusType_0x9.” When this hardware ID is listed, all iSCSI bus attached devices will be claimed by the Microsoft DSM.
- Restart the host when prompted.
Set the offset for the LUN to 64 KB

After the initiator logs in to a target, each of the target’s LUNs that the initiator can access appears as an unknown disk in the Windows Disk Management tool.
To set the offset for the LUN on the host:
- Select .
- Select the disk:
select disk n
where n is the disk number.
If you do not know the disk number, enter:
list disk
- On the selected disk, create a primary partition with an offset of 64 KB:
create part pri align=64
Configure a volume on the LUN
- On the host, in the Microsoft Disk Management tool, select the LUN.
- If the system asks you to initialize the disk, click Yes, but do not choose to make the disk a dynamic disk because the iSCSI interfaces do not support dynamic disks.
For a given LUN, its drive letter, disk number, and LUN number are independent.
- Use a quick format operation (Windows Server 2003 or Windows Server 2008) or the New Simple Volume wizard (Windows 7) to create a volume on the disk with the following properties:
- NTFS file system
- 64K location unit size
Do not format more than one LUN at a time. Otherwise, some of the volumes can become write-protected and cannot be formatted.You can change the volume label. Because the disk number of a LUN can change after system restart or after logging in to and out of a target, be sure to change the default volume label (“New Volume”) to a descriptive label.
- Assign an available drive letter to the disk.
- Close the Disk Management tool.
Mac OS host — Setting up for iSCSI LUNs
To set up a Mac OS for iSCSI LUNs, you must perform these tasks:
Installing and configuring the ATTO Xtend SAN iSCSI Initiator on a Mac OS host
- On the storage system, from the iSCSI Interfaces page in Unisphere ( ), determine the IP address of the storage system iSCSI interface (target) to which you want the host initiator to connect. This iSCSI interface is the one with the iSCSI storage resources for the host.
- On the Mac OS host, insert the Xtend SAN CD into a CD drive, and following the steps in the installation wizard.
An iSCSI Xtend SAN icon appears at the location where you chose to install the initiator.
- Double-click the iSCSI Xtend SAN icon.
- Click the Discover Targets tab.
- In the Discover Targets dialog box:
- Enter the IP address of the target, which is the IP address of the iSCSI interface with the iSCSI LUNs for the Mac OS.
- To use optional CHAP:
- Enter the target user name.
- Enter the target secret.
- For optional CHAP mutual authentication, select the Mutual Authentication checkbox.
- Click Finish.
The Setup dialog box appears, displaying the iqn of the discovered storage system target.
- In the Setup dialog box:
- Select Visible and Auto Login.
- Click Save.
- Click the Status tab.
- In the Status dialog box, click Login.
When the login operation is complete, the red icon before the iqn name in the left panel turns green.
- Click LUNs to verify the connections.
If the initiator is connected to the iSCSI interface, the iSCSI LUN for the host appears in the LUNs list.
Set up a Mac OS host to use LUNs
Before the Mac OS host can use a LUN, you must use the Mac OS Disk Utility to:
Format the LUN
- On the host, go to .
- Double-click Disk Utility.
- In the left panel, select the LUN.
- Click the Erase tab.
- For Volume Format, select the format that you want, and confirm your format choice.
- Click Erase and verify the erase procedure, and click Erase again to start the erase process.
When the erase process is finished, the LUN is ready for you to partition it.
Partition the LUN
- On the host, go to .
- Double click Disk Utility.
- In the left panel, select the LUN.
- Click the Partition tab.
- Under Volume Scheme, select the number of partitions for the LUN.
The utility displays equal-sized partitions to fill the available space on the LUN.
- For each partition:
- Select the partition.
- In Name, enter a name for the partition.
- Under Format, select the format for the partition.
The default format - Mac OS Extended (Journaled) - is a good choice for most uses.
- In Size, enter the size for the partition.
- When you have specified, the name, size, and format for each partition, click Apply.
The Disk Utility uses the partition information to create volumes that the host can access and use. When the partitioning process is complete, the new volumes are mounted on the desktop and ready to use.
You are now ready to either migrate data to the LUN or have the host start using the LUN. To migrate data to the LUN, go to Migrating FC or iSCSI Data to the Storage System.
iSCSI troubleshooting
This section contains information about:
iSCSI session troubleshooting
- Use ping with the IP address to verify connectivity from the host to the target’s IP address.
Using the IP address avoids name resolution issues.You can find the IP address for the target by selectingin Unisphere.
Some switches intentionally drop ping packets or lower their priority during times of high workload. If the ping testing fails when network traffic is heavy, verify the switch settings to ensure the ping testing is valid.
- On the host, verify that the iSCSI initiator service is started.
The iSCSI service on the iSCSI interface starts when the system is powered up.
- In the Microsoft iSCSI Initiator, verify the following for the target portal:
- IP address(es) or DNS name of the storage system iSCSI interface with the host’s LUNs.
For a host running PowerPath or Windows native failover, the target portal has two IP addresses.
- Port is 3260, which is the default communications port for iSCSI traffic.
- IP address(es) or DNS name of the storage system iSCSI interface with the host’s LUNs.
- Verify that the iSCSI qualified names (IQN) for the initiators and the iSCSI interface name for the target are legal, globally unique, iSCSI names.
An IQN must be a globally unique identifier of as many as 223 ASCII characters.
For a Windows host initiator — You can find this IQN on the General or Configuration tab of the Microsoft iSCSI initiator (depending on the version).
- If you are using optional CHAP authentication, ensure that the following two secrets are identical by resetting them to the same value:
- The secret for the host initiator in the Microsoft iSCSI Software Initiator or the Linux open-iscsi driver.
- The secret configured for the host initiator on the iSCSI interface.
- If you are using optional mutual CHAP authentication, ensure that the following two secrets are identical by resetting them to the same value:
- The secret for the host initiator in the Microsoft iSCSI Software Initiator or the Linux open-iscsi driver.
- The secret for the iSCSI interface on the iSCSI interface.
Known Microsoft iSCSI Initiator problems
The following table describes known problems that with the Microsoft iSCSI Initiator and describes workarounds.
Problem
|
Symptom
|
Workaround
|
---|---|---|
Initiator cannot refresh its targets list.
|
If you use iSNS and an initiator is disconnected from the network, the initiator may not refresh its target list. When attempting to refresh the target list, the initiator logs the iSNS error auth unknown (0x6) to the Windows Event Log.
|
|
Login problems occur when you use iSNS for target discovery.
|
When you configure the initiator with iSNS target discovery, it can intermittently fail to log in to a target with the following error message: The target name is not found or is marked as hidden from login.
|
The Microsoft iSCSI Initiator eventually recovers from this situation. To speed up the process, refresh the target list a few times until the target in question is discovered.
|
Initiator messages fill up the Windows Event Log.
|
If the initiator has an active session with an iSCSI interface and the iSCSI interface becomes unavailable, then the initiator logs multiple messages to the Windows Event Log. If multiple LUNs are configured for each target, the messages that the initiator generates can quickly fill the log.
|
To avoid this situation, log out all connected initiators before bringing the target down for its scheduled downtime.
|
Cannot write to a filesystem on the storage resource connected to the host.
|
Filesystem is read-only.
|
|