Can't shrink zfs vm disk

sumguy

Member
Apr 5, 2022
21
4
8
My friend recently increased the size of a vm disk and went way too large on it. I was trying to help him resize it. The zfs resize command didn't work. He also tried creating a new disk, copying partitions in gparted and that didn't work either. I suggested trying some bootable disk cloning utility, but I guess he was having trouble with those as well. I haven't tried anything yet (besides the zfs resize).

Anyone have a recommendation for a good clone utility that will play nicely with proxmox ve?
 
He is running the latest proxmox. Storage for the node is zfs. It's an Ubuntu VM that he's trying to resize back down. It came from an earlier version of proxmox and was brought into a fresh install of the latest version. We tried to resize it down leaving an extra 50gb, but then it would not boot.

Any help is very much appreciated. Thanks.

Update: I stopped by and looked at it with him. His clonezilla settings were just a little off. Needed to do disk-to-disk and disable size check and shutdown after. He was missing one of those steps. Everything worked fine after I ran it. So if anyone has that issue with a linux vm, clonezilla disk-to-disk is your friend.
 
Last edited: