A set of 2 TB LUNs are configured on the S5100 and mounted to the host running Windows2003 by using the iSCSI protocol. After the system is restarted, the drive letters assigned to the dynamic disks are lost. Therefore, the disks cannot be accessed.
Step 1 Manual: Choose Computer Management > Disk Management to activate the disks whose drive letters are lost.
Step 2 Automatic: Create a batch-processing file. The system automatically executes the file after each startup.
1. Create a file (1.txt)
File content: Run the list disk # command to list the information about the current disks in the system, including the disk status and disk ID.
Run the select disk <###> # command to select the disk to be activated. ### indicates the disk ID. For example, if you want to activate the disk whose ID is 1, run the select disk 1 # command.
Run the command to activate the selected offline disk.
2. Create a batch-processing file (2.bat)
File content: Run the diskpart /s c:\1.txt # command to execute the 1.txt file in the root directory of the drive C.
Run the ※ command to activate any of offline disks, and then all offline disks are switched online.
3. Add the 2.bat file to Start of the system. The system automatically activates the offline dynamic disks.