3.5.2.3. prl_disk_tool resize

Changes the capacity of the specified virtual disk. During resizing, all data present on the disk volumes are left intact. You can also resize the last partition using the --resize_partition option. The supported file systems are NTFS, ext2/ext3/ext4, btrfs, or xfs.

Syntax. 

prl_disk_tool resize --size <size>[K|M|G|T] [--resize_partition] --hdd <disk_path>
                     [--force]
prl_disk_tool resize -i, --info --hdd <disk_path>

Table 3.50. Options

NameDescription

--size

New size of the virtual disk. It can be set either in kilobytes (K), megabytes (M, default), gigabytes (G), or terabytes (T).

--resize_partition

Resizes the last partition of the specified virtual disk.

Note

Note: You cannot reduce XFS filesystems (the default choice for CentOS 7 and Red Hat Enterprise Linux 7).

--hdd <disk_path>

Full path to the virtual disk.

--force

Forces the resizing operation for suspended virtual disks.

-i, --info

Do not resize the virtual disk; just show the size the disk will have after resizing.