Tag: extend

Shrinking a QNAP Virtualization Station disk image

It’s not possible to shrink a disk image with QNAP’s Virtualization Station (as of version 3). Even growing it might not work through the QNAP UI depending on the details of the disk image. Here’s how to do it manually with qemu-img.

Preparation

  • Create a backup of all data and check that it works. Messing with filesystems and disk images is a great way to corrupt your data.
  • Check that there are no snapshots of the VM for which you want to manipulate the disk image (in one case I noticed a snapshot was created without me noticing it):
    No snapshots in this case.

    Read More