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
Name | Description |
---|---|
| New size of the virtual disk. It can be set either in kilobytes ( |
| Resizes the last partition of the specified virtual disk. NoteNote: You cannot reduce XFS filesystems (the default choice for CentOS 7 and Red Hat Enterprise Linux 7). |
| Full path to the virtual disk. |
| Forces the resizing operation for suspended virtual disks. |
| Do not resize the virtual disk; just show the size the disk will have after resizing. |