Help Center/ Server Migration Service/ FAQs/ Disk Management/ What Are the Rules for Resizing Volume Groups, Disks, and Partitions?
Updated on 2024-08-15 GMT+08:00

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

Table 1 Rules for resizing disks and partitions in Windows

Item

Minimum Size

Maximum Size

Disk

  • System disk, the larger value between:
    • Total partition size after resizing
    • 40 GB
  • Data disk, the larger value between:
    • Total partition size after resizing
    • 10 GB
  • System disk: 1,024 GB
  • Data disk: 32,768 GB

Disk partition

The smaller value between:

  • Used space + 1 GB
  • Size before resizing

Disk size after resizing – Total size of the other partitions on the disk

Table 2 Rules for resizing volumes, disks, and partitions in Linux

Scenario

Item

Minimum Size

Maximum Size

LVM

Logical volume (LV)

The smaller value between:

  • Used space + 1 GB
  • Size before resizing

Volume group (VG) size after resizing – Size of the other LVs in the VG

Physical disk

The larger value between:

  • 10 GB
  • Total size of LVs in the VG – Total size of the other PVs in the VG

32,768 GB

Physical partition

The larger value between:

  • 1 GB
  • Total size of LVs in the VG – Total size of the other PVs in the VG

Disk size after resizing – Total size of the other partitions on the disk

Non-LVM

Disk

  • System disk, the larger value between:
    • Total partition size after resizing
    • 40 GB
  • Data disk: 10 GB
  • System disk: 1,024 GB
  • Data disk: 32,768 GB

Partition

The smaller value between:

  • Used space + 1 GB
  • Size before resizing

Disk size after resizing – Total size of the other partitions on the disk