How Do I Resize Partitions and Disks When I Migrate a Windows Source Server?
Scenarios
You need to manually resize partitions and disks if:
- The system disk of a source server is larger than 1 TB.
- A file system on the source server is not supported by SMS.
- There are partitions that do not need to be migrated or there are other resizing requirements.
Scenario 1
The source system disk is 1.1 TB, with 100 GB allocated for the system and boot partitions and 1,024 GB for data disk D. You can prepare a 100 GB and a 1,024 GB disk on the target server for receiving data from the source system disk.
The procedure is as follows:
- Go to the Agent configuration directory on the source server.
- Modify the disk.cfg file as follows and save it.
[vol_mount_modify] D = 2 E = 3 F = 4 ...
- D = 2 indicates that data in disk D will be migrated to the second disk on the target server.
- There are multiple partitions on the source server, and you want to migrate them to different disks on the target server. In this case, modify the disk.cfg file in the same way, such as D=2, E=3, F=4.
- Go to the SMS console, and delete the record corresponding to this source server.
- Restart the Agent installed on the source server. Go back to the SMS console to check whether the disk information has been changed in the source server details.
This method is not suitable for migrating system and boot partitions, because the system and boot partitions can be migrated only to the first disk on the target server.
Scenario 2
Data disk D on the source server is a FAT32 partition, which caused the source server failed the migration feasibility check. You can exclude this partition from migration using the configuration file.
The procedure is as follows:
- Go to the Agent configuration directory on the source server.
- Modify the disk.cfg file as follows and save it.
[vol_mount_modify] D = -1
D = -1 indicates that disk D will not be migrated.
- Go to the SMS console, and delete the record corresponding to this source server.
- Restart the Agent. Go back to the SMS console to check whether the disk information has been changed in the source server details.
Scenario 3
The source server has two data disks, disk D and disk E. You want to migrate the two data disks to the same disk on the target server.
The procedure is as follows:
- Go to the Agent configuration directory on the source server.
- Modify the disk.cfg file and save it.
[vol_mount_modify] E = 2
E = 2 indicates that data in disk E will be migrated to the second disk on the target server.
- Go to the SMS console, and delete the record corresponding to this source server.
- Restart the Agent. Go back to the SMS console to check whether in the source server details, there is only one data disk which consists of partition D and partition E.
Disk Management FAQs
- Why Was a 40 GB EVS Disk Added to the Target Server During the Migration?
- Why Can't I Attach the Original System Disk Back to a Target Server?
- How Do I Resize Partitions and Disks When I Migrate a Windows Source Server?
- How Do I Shrink the Disk Partitions on a Source Server Running Windows?
- How Do I Exclude a Partition from Migration in Windows?
- How Do I Resolve Error "Target server has fewer disks than source server. Select another target server" When I Configure the Target Server?
- What Are the Requirements on Disks on a Target Server?
- How Can I Migrate a Source Server with a Large System Disk?
- How Do I Resolve Error "Some disks on the target server are smaller than those on the source server. Select another target server" When I Configure the Target Server?
- Can SMS Migrate Local Disks on a Source Server?
- Why Do I Need to Set the Target Server Disk Be at Least 1 GB Larger than the Paired Source Server GPT Disk on Alibaba Cloud?
- Why Can't I Specify Whether to Migrate a Physical Volume When I Resize Disk Partitions in Linux?
- Why Can't I Specify Whether to Migrate a Logical Volume When I Resize Disk Partitions in Linux?
- What Are the Rules for Resizing Volume Groups, Disks, and Partitions?
- How Do I Migrate a Server with a System Disk Larger Than 1 TB?
- How Do I Detach the Temporary System Disk from My Target Server and Re-attach the Original Disk?
- Why Is There Less Data on the Target Server After the Migration Than There Was on the Source Server?
- How Do I Merge Disks During a Linux Migration?
- How Do I Split a Disk During a Linux Migration?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore