I have two large Proxmox 7.0-11 hosts in a cluster, with 50TB ZFS local storage each, and most VMs replicating between them.
On one of these hosts are two large (5TB) VMs, both shut down and out of use, which were nested hypervisors, one Xen, one VMware. One is VM replicated to the other host, the other exists only on one host.
As disk space is getting tight, I want to remove both of these VMs. However we have had bad experiences with attempting to remove 1TB VMs from VMware hosts in the past where the delete process entirely locks the disks, most recently a host was power-cycled after three days to free the disk, and the delete was found to have only removed ~500 gig of the 1TB used.
So my current plan is to migrate all the active VMs to the other host first, and then do the deletes on the empty host, so that if anything goes awry with it, services won't be affected. But I've a few questions:
1. Is there any risk of any kind of disk lock-up when deleting very large files from a ZFS HDD array? It's RaidZ1, 9 x 6TB disks plus spares.
2. If I turn off replication for the VM of the pair that's being replicated, will the system attempt to delete the 5TB of data from the remote host, or just stop replicating to it but leave the disk file where it is?
3. Any other caveats or issues I should be aware of before proceeding?
I tried googling "zfs large disk delete" and related terms but didn't come across anything concrete, but did encounter people finding deletes taking a long time.
On one of these hosts are two large (5TB) VMs, both shut down and out of use, which were nested hypervisors, one Xen, one VMware. One is VM replicated to the other host, the other exists only on one host.
As disk space is getting tight, I want to remove both of these VMs. However we have had bad experiences with attempting to remove 1TB VMs from VMware hosts in the past where the delete process entirely locks the disks, most recently a host was power-cycled after three days to free the disk, and the delete was found to have only removed ~500 gig of the 1TB used.
So my current plan is to migrate all the active VMs to the other host first, and then do the deletes on the empty host, so that if anything goes awry with it, services won't be affected. But I've a few questions:
1. Is there any risk of any kind of disk lock-up when deleting very large files from a ZFS HDD array? It's RaidZ1, 9 x 6TB disks plus spares.
2. If I turn off replication for the VM of the pair that's being replicated, will the system attempt to delete the 5TB of data from the remote host, or just stop replicating to it but leave the disk file where it is?
3. Any other caveats or issues I should be aware of before proceeding?
I tried googling "zfs large disk delete" and related terms but didn't come across anything concrete, but did encounter people finding deletes taking a long time.