We fully understand your desire to reduce the maximum capacity of the virtual disk as seen by the VMs. I'd like to share a few key points with you on this matter.
In reality, mainstream virtualization platforms are all very cautious about shrinking the maximum disk size:
VMware vSphere does not offer a shrink button in its Web Client at all. It can only be done indirectly via the vmkfstoolscommand line, and it throws an error if snapshots exist.
Hyper-V allows you to reduce the maximum size via Set-VHD -MaximumSize, but Microsoft's official documentation warns that setting a value smaller than what the guest file system expects can directly corrupt the file system and render the entire system unbootable.
Even in the KVM ecosystem (which TOS VMs are built on), qemu-img resize --shrinkrequires that you first shrink the partition and file system inside the guest, leaving enough unallocated space at the end of the disk. Otherwise, "resizing will indiscriminately delete data from the end of the disk, destroying the partition table and making the VM unbootable."
In short, supporting shrink ≠ safe and easy to use. Most platforms either don't expose it in the UI or treat it as a high-risk command reserved for professionals.
Why we haven't enabled UI-based shrinking yet:
The biggest risk is alignment — if the size shrunk inside the guest doesn't match what the virtualization layer expects, it can easily corrupt disk data and leave the VM unbootable. TOS VMs serve a broad NAS user base. Allowing a one-click UI operation that could trigger data loss would be irresponsible. As a storage vendor, choosing not to enable this switch in the UI is a decision made to protect user data.
If you do need to reduce the maximum capacity, here's the recommended safe approach:
Create a new, smaller virtual disk → migrate the data via rsync→ replace the original disk. This method completely avoids the alignment risks of in-place shrinking, and is also the officially recommended production practice for platforms like VMware.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)