prl_disk_tool − utility for managing virtual machine and Container disks.
prl_disk_tool [−−help] <COMMAND> [OPTIONS] −−hdd <disk_name> [−−comm <memory_name>]
prl_disk_tool resize −−size <size>[K|M|G|T] [−−resize_partition] −−hdd <disk_name> [−−force] [−−comm <memory_name>]
prl_disk_tool resize −i,−−info [−−units <K|M|G|T>] −−hdd <disk_name> [−−comm <memory_name>]
prl_disk_tool compact −−hdd <disk_name> [−−force] [−−comm <memory_name>]
prl_disk_tool compact −i,−−info −−hdd <disk_name> [−−comm <memory_name>]
prl_disk_tool merge −−hdd <disk_name> [−−external]
prl_disk_tool convert −−hdd <disk_name> <−−expanding|−−plain>
The prl_disk_tool utility is used to manage virtual disks.
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, xfs.
Removes all empty blocks from expanding virtual disks and reduces their size on your real disk. Compacting is performed by scanning file systems for unused clusters, zeroing and discarding corresponding disk blocks. The supported file systems are NTFS, ext2/ext3/ext4, btrfs, xfs.
Merges all snapshots of the virtual hard disk. By default, merges internal snapshots. Use −−external to merge external snapshots.
Converts the virtual hard disk into another format (plain or expanding).
The following options can be used with the majority of prl_disk_tool commands.
This option is mandatory and specifies the full path to the disk to be configured or compacted.
Verbose mode: print actions performed and status information (useful with −n).
Do not actually do anything.
This parameter is not currently used.
Set the virtual hard disk size in KB, MB (by default), GB or TB (this number is rounded up to MB).
Resize the last partition and its file system while resizing the disk. The supported file system types are NTFS, ext2/ext3/ext4, btrfs, xfs.
Forcibly drop the suspended state before resizing the disk (ignored).
Display the capacity of the specified virtual disk as it is seen from inside the virtual machine or Container, without resizing the disk. The information is shown as a table with the following columns:
The current virtual disk capacity.
The minimum possible capacity of the virtual disk after resizing the disk using the −−resize_partition option.
Minimum: <size>M (without resizing the last partition)
The minimum possible capacity of the virtual disk after resizing the disk without using the −−resize_partition option.
Keep in mind that for an expanding virtual disk the capacity shown from inside the virtual machine and the size the disk occupies on the real physical disk may differ.
Used with the −−info option, shows the disk size in KB, MB, GB or TB.
Forcibly drop the suspended state before compacting the disk (ignored).
Show the estimated disk size after the compaction without compacting the disk. The results will be shown as:
Block size, in sectors. Each sector is 512 bytes.
Total blocks: <sectors_count>
Total blocks in the disk image (according to the virtual disk image capacity).
Allocated blocks: <sectors_count>
The number of blocks that are actually allocated to and keeping space on your hard drive.
Used blocks: <sectors_count>
The number of blocks actually used in the disk image. This number of blocks will be left after compacting the disk.
Merge external snapshots instead of internal (by default).
reduce the size of a plain disk to the actual amount of data stored on it and make it expandable allowing it to grow in size as the amount of data grows.
convert an expandable disk to a disk of fixed capacity that cannot grow in size.
Parallels Holdings, Ltd. and its affiliates. http://www.parallels.com
Copyright (C) 2005−2015 Parallels Holdings, Ltd. and its affiliates.