After having seen some similar yet not identical articles and having read this https://pve.proxmox.com/wiki/Resize_disks, still don't think any of what I 've read is applicable to my case.
Introduction to how the system is build
4x1.2Tb drives in raid 10 (zfs) for VMs (no problems there)
4x4tb drives in raid 10 (zfs) for extra disks used as backup data of the VM's ... and here lies the question
So after Vm creation I 've attached an extra storage to it as scsi1 drive with the known procedure
-> Hardware ->Add Hard Disk SCSI / Cache: Write back / Storage: HHproxData / Disk size(GiB) 1500
After testing the data backup of that VM noticed a lot of wasted space (I know ... that's why you begin with less GBs and increase afterwards which is easier)
So I need to resize that space to less GBs and I need help doing that,
Above link clearly states you cant do it by gui (noticed that also since the only actions on the drive is to edit it->pointless or resize it which lets you only increment->not my case here) and needs manual cli intervention. Since the drive I need to shrink doesn't contain the OS, yet it
has data, but not even 1/20 of the storage (and probably data have been written at the start of of the drive) which is the proper way to do it if anyway available of course
PS The Vm is WinServ and the file system as you probably guessed is NTFS inside Vm and outside if I correct is raw disk based on zfs ??.
Seen others drying different methods but they had lvm or qcow2, my situation I think is if not completely at least different.
If all this is accomplished do I need any command in order for zfs to claim again the free space? Also way to check that free storage gain?
Introduction to how the system is build
4x1.2Tb drives in raid 10 (zfs) for VMs (no problems there)
4x4tb drives in raid 10 (zfs) for extra disks used as backup data of the VM's ... and here lies the question
So after Vm creation I 've attached an extra storage to it as scsi1 drive with the known procedure
-> Hardware ->Add Hard Disk SCSI / Cache: Write back / Storage: HHproxData / Disk size(GiB) 1500
After testing the data backup of that VM noticed a lot of wasted space (I know ... that's why you begin with less GBs and increase afterwards which is easier)
So I need to resize that space to less GBs and I need help doing that,
Above link clearly states you cant do it by gui (noticed that also since the only actions on the drive is to edit it->pointless or resize it which lets you only increment->not my case here) and needs manual cli intervention. Since the drive I need to shrink doesn't contain the OS, yet it
has data, but not even 1/20 of the storage (and probably data have been written at the start of of the drive) which is the proper way to do it if anyway available of course
PS The Vm is WinServ and the file system as you probably guessed is NTFS inside Vm and outside if I correct is raw disk based on zfs ??.
Seen others drying different methods but they had lvm or qcow2, my situation I think is if not completely at least different.
If all this is accomplished do I need any command in order for zfs to claim again the free space? Also way to check that free storage gain?