Help Center/ Server Migration Service/ User Guide(ME-Abu Dhabi Region)/ FAQs/ Disk Management/ What Are the Rules for Resizing Volume Groups, Disks, and Partitions?
Updated on 2024-03-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 is used.)
    • Total partition size after resizing
    • 40 GB
  • Data disk (The larger value is used.)
    • Total partition size after resizing
    • 10 GB
  • System disk: 1,024 GB
  • Data disk: 32,768 GB

Disk partition

The smaller value is used.

  • 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 is used.

  • Used space + 1 GB
  • Size before resizing

VG size after resizing – Size of the other LVs in the VG

Physical volume (PV) - disk

The larger value is used.

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

32,768 GB

Physical volume (PV) - partition

The larger value is used.

  • 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 is used.)
    • 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 is used.

  • Used space + 1 GB
  • Size before resizing

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