Why Is the Used Space of C: Drive on My Windows Target Server Larger than That on the Source Server After the Migration?
Symptom
In a Windows migration, after the source server is migrated to HUAWEI CLOUD, the used space of C: drive on the target server will be at least one GB larger than the used space of C: drive on the source server.
Possible Causes
This is a normal phenomenon resulting from the fact that the size of paging file, used for virtual memory, tends to be larger on the target server. You can perform the following steps to adjust the size of the paging file:
- Log in to the source server.
- Choose Start > Control Panel > Folder Options.
The Folder Options dialog box is displayed.
- Click the View tab. In the Advanced settings area, perform the following operations:
- Deselect Hide protected operating system files (Recommended).
- Select Show hidden files, folders, and drives and click Apply.

- Log in to the target server and repeat 2 and 3.
- Compare the size of the virtual memory file pagefile.sys in the Local Disk (C:) on the source and target servers.
The size of the pagefile.sys file on the target server is greater than that on the source server.
The differences in the sizes of pagefile.sys on the two servers should account for the difference in used space.
- On the target server, click Start.
- Choose Control Panel > System > Advanced system settings.
The System Properties dialog box is displayed.
- Click the Advanced tab, click Settings in the Performance area.
The Performance Options page is displayed.
- Click the Advanced tab, click Change in the Virtual memory area.
The Virtual Memory is displayed.
You can see that the target server uses Automatically manage paging file size for all drives. That is, the size of virtual memory file pagefile.sys on the target server is equal to the size of file Installed Memory (RAM) on the server.
If the size of file Installed Memory (RAM) on the target server is different from that on the source server, the used space of C: drive on the target server is inconsistent with that on the source server.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.