January 13, 20242 yr I can't delete a zfs pool and its snapshots, what can I do? # zfs destroy -vfrR disk3/backup will destroy disk3/backup@littleboy_2023-12-19-04:40:40 will destroy disk3/backup@littleboy_2024-01-07-04:41:17 will destroy disk3/backup@littleboy_2024-01-09-04:41:07 will destroy disk3/backup@littleboy_2023-12-21-04:41:06 will destroy disk3/backup@littleboy_2023-12-22-04:41:06 will destroy disk3/backup@littleboy_2024-01-05-04:41:21 will destroy disk3/backup cannot destroy snapshot disk3/backup@littleboy_2023-12-19-04:40:40: dataset is busy cannot destroy snapshot disk3/backup@littleboy_2024-01-07-04:41:17: dataset is busy cannot destroy snapshot disk3/backup@littleboy_2024-01-09-04:41:07: dataset is busy cannot destroy snapshot disk3/backup@littleboy_2023-12-21-04:41:06: dataset is busy cannot destroy snapshot disk3/backup@littleboy_2023-12-22-04:41:06: dataset is busy cannot destroy snapshot disk3/backup@littleboy_2024-01-05-04:41:21: dataset is busy lsof shows nothing # lsof /mnt/disk3/backup Could be SMB? Edited January 13, 20242 yr by skler
January 16, 20242 yr Author Solution I didn't test with a reboot, an array stop or neither a docker/vm stop. I can suppose was some dockers that uses this resource. But I've solved with this without shutting down anything: root@littleboy:~# zfs set mountpoint=none disk3/backup root@littleboy:~# zfs destroy -vr disk3/backup will destroy disk3/backup@littleboy_2023-12-19-04:40:40 will destroy disk3/backup@littleboy_2024-01-07-04:41:17 will destroy disk3/backup@littleboy_2024-01-09-04:41:07 will destroy disk3/backup@littleboy_2023-12-21-04:41:06 will destroy disk3/backup@littleboy_2023-12-22-04:41:06 will destroy disk3/backup@littleboy_2024-01-05-04:41:21 will destroy disk3/backup root@littleboy:~# Edited January 16, 20242 yr by skler
February 25, 20242 yr On 1/16/2024 at 9:05 PM, skler said: root@littleboy:~# zfs set mountpoint=none disk3/backup I have the exact same problem. Followed SpaceinvaderOne's guide to setup appdata folders as ZFS datasets. Then tried to remove old folders containing data for apps that I do not use anymore. I tried first using the "ZFS master" plugin in destructive mode, but got "Operation not permitted" error. The same when using the command line: `zfs destroy -fr [DATASET]`. It worked when I first use your command `zfs set mountpoint=none [DATASET]`. Why is this necessary? Is there a way to automate this so that I can remove pools using the GUI?
March 12, 20242 yr I've noticed this issue affecting Mover in the syslog as well. In the past I've used the ZFS Master to rename the dataset and then I could destroy. I like this method better. Too bad ZFS Master can't do the unmount... Edited March 12, 20242 yr by Gex2501
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.