File shares on iSCSI devices may not be re-created when you restart your computer (870964)
The information in this article applies to:
- Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Datacenter Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows XP Media Center Edition
- Microsoft Windows XP 64-Bit Edition
- Microsoft Windows XP Tablet PC Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSYou use the Microsoft iSCSI Initiator service to connect to an Internet SCSI (iSCSI) disk device. The file shares that you create for folders that are located on your iSCSI device may not be re-created when you restart the computer that the shares are created on. CAUSEThis issue may occur when the iSCSI Initiator service is not initialized when the Server service initializes. The Server service creates file shares. However, because iSCSI disk devices are not available, the Server service cannot create file shares for iSCSI devices until the iSCSI service is initialized. RESOLUTIONTo resolve this issue, follow these steps on the affected server: - Make the Server service dependant on the iSCSI Initiator service.
- Configure the BindPersistentVolumes option for the iSCSI Initiator service.
- Configure persistent logons to the target. To do this, use one of the following methods.
Method 1- Double-click iSCSI Initiator in Control Panel.
- Click the Available Targets tab.
- Click a target in the Select a target list, and then click Log On.
- Click to select the Automatically restore this connection when the system boots check box.
- Click OK.
Method 2- Click Start, click Run, type cmd, and then click OK.
- At the command prompt, type the following command, and then press ENTER:
iscsicli persistentlogintarget target_iqn T * * * * * * * * * * * * * * * 0 Note target_iqn is the IQN name of the target.
Note This resolution applies only when you specifically experience this issue with the iSCSI Initiator service.
Make the Server service dependant on the iSCSI Initiatior serviceUse one of the following methods to make the Server service dependent on the iSCSI Initiator service: Method 1: Use the Microsoft Service Control utility (Sc.exe)Note This method is the preferred way to set the service dependency because you do not have to manually modify the registry.
- Click Start, click Run, type cmd, and then press ENTER.
- Type sc config LanManServer depend= MSiSCSI, and then press ENTER.
Alternatively, perform this command from a network computer if you have administrative access to the server. To do this, type the following command, and then press ENTER: sc \\computer_name config LanManServer depend= MSiSCSI
Method 2: Use Registry EditorWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Microsoft Windows XP and Microsoft Windows Server 2003- Start Registry Editor.
- Locate and then click the following subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer - On the Edit menu, point to New, and then click Multi-String Value.
- Type DependOnService to name the new registry value, and then press ENTER.
- Double-click DependOnService, type MSiSCSI in the Value data box, and then click OK.
- Quit Registry Editor.
Microsoft Windows 2000- Start Registry Editor.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer - On the Edit menu, click Add Value.
- Type DependOnService in the Value Name box, click REG_MULTI_SZ in the Data Type box, and then press ENTER.
- In the Multi-String Editor window, type MSiSCSI in the data box, and then click OK.
- Quit Registry Editor.
Configure the BindPersistentVolumes option for the iSCSI Initiator serviceUse one of the following methods to configure the BindPersistentVolumes option: Method 1: Use the iSCSI Initiator in Control Panel - Double-click iSCSI Initiator in Control Panel.
- On the Initiator Settings tab, click Bind Volumes, and then click OK.
- Quit the iSCSI Initiator tool.
Method 2: Use the Command Prompt window- Click Start, click Run, type cmd, and then press ENTER.
- Type iscsicli BindPersistentVolumes, and then press ENTER.
Modification Type: | Major | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbtshoot kbprb KB870964 kbAudITPRO |
---|
|