Help Center/ Server Migration Service/ Best Practices/ Migrating the System and Data Partitions of a Windows Server to Separate Disks of a Huawei Cloud ECS
Updated on 2026-08-05 GMT+08:00

Migrating the System and Data Partitions of a Windows Server to Separate Disks of a Huawei Cloud ECS

Overview

A Huawei Cloud ECS consists of one system disk and several data disks, as shown in Figure 1. An on-premises server may have the system partition and other partitions located on the same disk, as shown in Figure 2. You can use SMS to easily migrate the system partition (volume C) of the on-premises server to the system disk of the ECS, and other partitions (volumes D and E) to the data disks of the ECS. Figure 2 shows an example.

Figure 1 Disks on the Huawei Cloud ECS
Figure 2 Disks the on-premises server

Modifying the SMS-Agent Configuration File and Creating a Migration Task

  1. Obtain an AK/SK pair for the target cloud account.
  2. Install the SMS-Agent on the source server. For details, see Installing the SMS-Agent on Windows.
  3. Go to the Agent installation directory, for example, C:\SMS-Agent-PyX\config, and modify the configuration file disk.cfg as follows:
    [vol_mount_modify]
    D=2
    E=2

    D=2 and E=2 indicate that volumes D and E will be migrated to the second disk, a data disk on the ECS.

  4. Double-click the SMS-Agent to open it. Enter the AK/SK pair obtained in 1 and start the SMS-Agent.

    After the SMS-Agent has started, it reports source server details to SMS, so SMS can check whether the server can be migrated.

  5. Create and start a migration task.

    After the SMS-Agent is installed and started, go to the SMS console to create and start a migration task by performing the steps below.

    1. Configure the target server.
    2. Start a full replication and launch the target server.
    After the migration is complete, the target server has a system disk and a data disk which are separated from each other.

    After the migration is complete, the target server uses the same login method as the source server.

  6. Synchronize incremental data from the source server.

    After the target server is launched, if there are data changes on your source server, you can synchronize new and modified data from the source server to the target server. For more information, see Synchronizing Incremental Data.

Helpful Links

If an error is reported during the migration, rectify the fault by referring to Error Codes and Solutions.