Help Center> Server Migration Service> FAQs> Target Server Configuration and Launch> Why Can't I See Data Disks on a Windows Target Server After Migration?
Updated on 2023-12-20 GMT+08:00

Why Can't I See Data Disks on a Windows Target Server After Migration?

Possible Causes

The SAN policy for the source server OS is Offline Shared. This means the data disks will be offline after migration.

Solutions

  • If you do not need to perform a synchronization, you can fix this issue by modifying the target server. For more information, see Solution 1 or Solution 2.
  • If you need to perform a synchronization, you can fix this issue by modifying the source server. For more information, see Solution 3. Then perform a synchronization.

Solution 1

  1. Choose Start > Run.
  2. Enter diskmgmt.msc and press Enter to open the Disk Management window.

    In the following figure, disk 1 is offline.

    Figure 1 Offline

  3. Right-click the offline data disk and select online from the pop-up menu.

    Figure 2 Bringing the disk online

Solution 2

  1. Right-click the Start menu.
  2. Click Run and enter cmd.
  3. Run diskpart to start the disk management tool.
  4. Run list disk to list all disks on the current server. In the following figure, disk 0 is online and disk 1 is offline.

  5. Run select disk 1.
  6. Run online disk to change the disk status from offline to online.

  7. If the disk is read only after it goes online, run the attribute disk clear readonly command to remove the write protection on the disk.

Solution 3

  1. On the source server, right-click the Start menu.
  2. Click Run and enter cmd.
  3. Run diskpart to start the disk management tool.
  4. Run the san command to query the current disk policy. If SAN Policy: Offline Shared is returned, the disks will be offline by default.
  5. Run the san policy=onlineAll command to bring disks online by default.

  6. After the modification, click Sync on the SMS console. After the synchronization is complete, the disks on the target server will be online automatically.

    • After the modification is complete on the source server, you do not need to restart the source server.
    • The modified disk policy will be synchronized to the target server, and disks on the target server will be brought online automatically. SMS has no requirements on disk policies. You need to determine whether to restore the disk policy of the source server.

Target Server Configuration and Launch FAQs

more