Hello all,
hope someone can give me a hint because I am going nuts. I have upgraded my backup-server to new gear, also using a ZPOOL now.
My plan is to zfs-send / zfs-receive the VM-disks (zvols) from time to time to this box from my Proxmox-host.
Started to "proof of concept" my approach. Here is what I was doing:
- creating a ZFS snapshot on the Proxmox source
- Sending the ZFS snapshot via SSH to the Backup-Server (Ubuntu 20.04)
- destroying the ZFS snapshot on the Proxmox source.
It seemed to work quite well in general. At least until the point where I tried to cleanup the ZVOL on the receiving side and do some automation / scripting (bash).
Whatever I do I can't delete that target ZVOL. System always states that the dataset is busy.
I have spent 3 evenings now trying to find a solution. Went back and forth through the WWW but nothing I have researched worked.
Today I have even uninstalled multipathd on the box (as blacklisting wasn't showing positive results) but that also doesn't work.
I have no mountpoints. I have no indications what uses the ZVOL dataset. The only thing I can say: all snapshots are gone ("zfs list -t snapshot" is empty) and the ZVOL occupies some space:
I am aware that this might not relate to Proxmox itself but I hope someone from the community jump in and help me out here.
Thanks a ton upfront for any indicators
hope someone can give me a hint because I am going nuts. I have upgraded my backup-server to new gear, also using a ZPOOL now.
My plan is to zfs-send / zfs-receive the VM-disks (zvols) from time to time to this box from my Proxmox-host.
Started to "proof of concept" my approach. Here is what I was doing:
- creating a ZFS snapshot on the Proxmox source
- Sending the ZFS snapshot via SSH to the Backup-Server (Ubuntu 20.04)
- destroying the ZFS snapshot on the Proxmox source.
It seemed to work quite well in general. At least until the point where I tried to cleanup the ZVOL on the receiving side and do some automation / scripting (bash).
Whatever I do I can't delete that target ZVOL. System always states that the dataset is busy.
I have spent 3 evenings now trying to find a solution. Went back and forth through the WWW but nothing I have researched worked.
Today I have even uninstalled multipathd on the box (as blacklisting wasn't showing positive results) but that also doesn't work.
I have no mountpoints. I have no indications what uses the ZVOL dataset. The only thing I can say: all snapshots are gone ("zfs list -t snapshot" is empty) and the ZVOL occupies some space:
NAME USED AVAIL REFER MOUNTPOINT
HDD-POOL-RAIDZ2 7,6T 4,6T 192K /HDD-POOL-RAIDZ2
...
HDD-POOL-RAIDZ2/vm-1012-disk-0 20,6G 4,6T 5,09G -
I am aware that this might not relate to Proxmox itself but I hope someone from the community jump in and help me out here.
Thanks a ton upfront for any indicators
Last edited: