Previous page

Next page

Locate page in Contents

Print this page

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, FAT16/FAT32, and ext2/ext3.

Syntax

prl_disk_tool resize --size <size> [ M | G ] [ --resize_partition ] --hdd <disk_path> [ --force ] [ --split ]

prl_disk_tool resize -i , --info [ --units < K | M | G >] --hdd <disk_path>

Options

Name

Description

--size

New size of the virtual disk. It can be set either in megabytes (specify M after the value) or in gigabytes (specify G after the value). By default, the size is set in megabytes.

--resize_partition

Resizes the last partition of the specified virtual disk.

Note: You cannot reduce XFS filesystems on LVM (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.

--split

Splits the virtual hard disk into 2 GB files.

-i, --info

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

--units

Displays the disk size in kilobytes ( K ), megabytes ( M , default), or gigabytes ( G ).