[SOLVED] shrink zfs raw disk (windows vm)

dav.ge

Active Member
Feb 26, 2019
27
3
43
41
Hello,
i need to shrink a windows vm disk (proxmox 5.3-8).
I've already shrink partition inside guest os (windows 10 ltsc).
Now i have to reduce vm disk size.
Disk is on a zfs secondary storage: storageZ0:vm5002-disk-0,size=150G
I have already made a backup.
Can you help me?
Davide
 
Thank you very much.
zfs set volsize=148G storageZ0/vm-5002-disk-0
Very easy.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!