
Windows should see the new size online without reboot with last virtio drivers. Linux should see the new size online without reboot with kernel >= 3.6 You can resize your disks online or offline with command line:Įxemple: to add 5G to your virtio0 disk on vmid100: Shrinking disks is not supported by the PVE API and has to be done manually.Īnother page (deleted) with overlapping content was Resizing disks | Archive qm command SystemRescueCD comes very handy for it, just add its iso as cdrom of your VM and set boot priority to CD-ROM. If you reduce (shrink) the hard disk, of course removing the last disk plate will probably destroy your file system and remove the data in it! So in this case it is paramount to act in the VM in advance, reducing the file system and the partition size. If you enlarge the hard disk, once you have added the disk plate, your partition table and file system knows nothing about the new size, so you have to act inside the VM to fix it. When you resize the disk of a VM, to avoid confusion and disasters think the process like adding or removing a disk platter.

Resizing guest disk General considerations


Enlarge the filesystem(s) in the partitions on the virtual disk Enlarge the partition(s) in the virtual disk Every question won’t be answered, we don’t reply to email, and we cannot provide direct troubleshooting advice. If not, we’re always looking for new problems to solve! Email yours including screen captures as appropriate, and whether you want your full name used. Read our super FAQ to see if your question is covered. We’ve compiled a list of the questions we get asked most frequently along with answers and links to columns: You can then also restore your partition from a clone using Disk Utility as well.Īlso read: How to partition a Mac hard drive or SSD, or create a APFS volume and Best disk partition software for Mac.
:max_bytes(150000):strip_icc()/DiskUtility-576d860a3df78cb62c5d6132.jpg)
If you need to erase to repartition, you should make a full clone of the drive, then boot from macOS Recovery and use Disk Utility in that mode to repartition, which will keep macOS Recovery intact if it’s a startup volume. Disk Utility lets you resize partitions, but it can be hard to predict whether this will require erasing the partition or not until you click Apply.
