Help Center/ Server Migration Service/ FAQs/ Disk Management/ Why Can't I Specify Whether to Migrate a Physical Volume When I Resize Disk Partitions in Linux?
Updated on 2024-08-31 GMT+08:00

Why Can't I Specify Whether to Migrate a Physical Volume When I Resize Disk Partitions in Linux?

  • Case 1: For a physical volume, Migrate is set to No and cannot be modified because it is grayed out.

    If none of the logical volumes in a volume group are migrated, their physical volumes are not migrated by default. If you want to change the settings, select Yes for Migrate All Volume Groups and try again.

  • Case 2: For a logical volume, Migrate is set to Yes and cannot be modified because it is grayed out.

    If there are physical volumes that do not need to be migrated, increase the total size of the other physical volumes or decrease the total size of logical volumes, to ensure that the total size of physical volumes is larger than that of logical volumes.

    For details, see What Are the Rules for Resizing Volume Groups, Disks, and Partitions?

    Figure 1 Increasing the total size of the other physical volumes
    Figure 2 Decreasing the size of a logical volume or excluding a logical volume from migration
  • Case 3: In a Linux block-level migration, you can choose to migrate either all or none of the volume groups.

    For a block-level migration of a Linux server using LVM, physical volumes and logical volumes cannot be resized.