Problem and solution when a shared folder is lost on the LUN connected to iSCSI after the Windows host is restarted

You can perform the following operations when a shared folder is lost on the LUN connected to iSCSI after a Windows host is restarted:
1. Method
The shared folder is created by the server service during startup. If the server service starts before the iSCSI initiator service during server startup, the server cannot create file sharing for the iSCSI disk. For temporary workaround, manually start the server service.
2. Solution
Perform the following steps:
a. Change the startup sequence of server services by using the iSCSI initiator server. Enter sc config lanmanserver depend= MSiSCSI on the CLI (note that there is a space after =).
b. Add the disk volume list to the permanent binding list of Microsoft iSCSI initiator. Enter iscsicli Bindpersistentvolumes on the CLI.

Scroll to top