狀況:
當 node1 中的 容器202 遷移到 node2 失敗後
造成:
cli 查詢:
root@pve6:~# zfs destroy rpool/data/subvol-202-disk-0
cannot destroy 'rpool/data/subvol-202-disk-0': dataset is busy
root@pve6:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 12.3G 886G 128K /rpool
rpool/ROOT 1.49G 886G 128K /rpool/ROOT
rpool/ROOT/pve-1 1.49G 886G 1.49G /
rpool/data 10.8G 886G 128K /rpool/data
rpool/data/subvol-102-disk-0 427M 7.58G 427M /rpool/data/subvol-102-disk-0
rpool/data/subvol-202-disk-0 102M 886G 102M /rpool/data/subvol-202-disk-0
rpool/data/vm-211-disk-0 10.3G 886G 10.3G -
root@pve6:~# zfs destroy -r -f rpool/data/subvol-202-disk-0
cannot destroy 'rpool/data/subvol-202-disk-0': dataset is busy
root@pve6:~# ps ax|grep zfs
1473074 ? Ss 0:00 /usr/bin/perl /usr/sbin/pvesm import local-zfs:subvol-202-disk-0 zfs - -with-snapshots 1 -snapshot __replicate_202-3_1724567072__ -allow-rename 0
1474468 ? S 0:00 zfs recv -F -- rpool/data/subvol-202-disk-0
2178691 ? Ss 0:00 /usr/bin/perl /usr/sbin/pvesm import local-zfs:vm-108-disk-0 zfs - -with-snapshots 1 -snapshot __replicate_108-3_1724568760__ -allow-rename 0
2178693 ? S 0:09 zfs recv -F -- rpool/data/vm-108-disk-0
2621410 pts/3 S+ 0:00 grep zfs
root@pve6:~# kill 1473074