Cannot unmount dataset

Running truenas scale 24.10

I did a zfs send and receive with a -F on receive

zfs destroy fails because it cannot unmount
zfs unmount fails with unmount failed
umount fails as well with not mounted.

A reboot has already been tried and failed

As far as I can tell the following 5 should be under /mnt/.ix-apps with the rest of the datasets and these are the guys who were sent and received with zfs. Please help
/mnt/.ix-apps/app_mounts/pihole2/dnsmasq-temp
/mnt/.ix-apps/app_mounts/pihole2/config-temp
/mnt/.ix-apps/app_mounts/pihole
/mnt/.ix-apps/app_mounts/pihole/dnsmasq
/mnt/.ix-apps/app_mounts/pihole/config

Output from: findmnt -o TARGET
├─/mnt
│ ├─/mnt/Main
│ │ ├─/mnt/Main/wadsack-data
│ │ ├─/mnt/Main/apps
│ │ │ ├─/mnt/Main/apps/gitea
│ │ │ │ ├─/mnt/Main/apps/gitea/config
│ │ │ │ ├─/mnt/Main/apps/gitea/postgres
│ │ │ │ ├─/mnt/Main/apps/gitea/data
│ │ │ │ ├─/mnt/Main/apps/gitea/postgres_backup
│ │ │ │ └─/mnt/Main/apps/gitea/postgres_old
│ │ │ ├─/mnt/Main/apps/nextcloud
│ │ │ │ ├─/mnt/Main/apps/nextcloud/config
│ │ │ │ ├─/mnt/Main/apps/nextcloud/data
│ │ │ │ ├─/mnt/Main/apps/nextcloud/postgress_backups
│ │ │ │ └─/mnt/Main/apps/nextcloud/sql
│ │ │ └─/mnt/Main/apps/plex
│ │ │ ├─/mnt/Main/apps/plex/config
│ │ │ └─/mnt/Main/apps/plex/data
│ │ ├─/mnt/Main/vms
│ │ │ └─/mnt/Main/vms/install-media
│ │ └─/mnt/Main/Backups
│ ├─/mnt/.ix-apps/app_mounts/pihole2/dnsmasq-temp
│ ├─/mnt/.ix-apps/app_mounts/pihole2/config-temp
│ ├─/mnt/.ix-apps/app_mounts/pihole
│ │ ├─/mnt/.ix-apps/app_mounts/pihole/dnsmasq
│ │ └─/mnt/.ix-apps/app_mounts/pihole/config
│ ├─/mnt/tank
│ └─/mnt/.ix-apps
│ ├─/mnt/.ix-apps/app_mounts
│ │ ├─/mnt/.ix-apps/app_mounts/radarr
│ │ │ └─/mnt/.ix-apps/app_mounts/radarr/config
│ │ ├─/mnt/.ix-apps/app_mounts/overseerr
│ │ │ └─/mnt/.ix-apps/app_mounts/overseerr/config
│ │ ├─/mnt/.ix-apps/app_mounts/ipfs
│ │ │ ├─/mnt/.ix-apps/app_mounts/ipfs/staging
│ │ │ └─/mnt/.ix-apps/app_mounts/ipfs/data
│ │ ├─/mnt/.ix-apps/app_mounts/umami
│ │ │ └─/mnt/.ix-apps/app_mounts/umami/pg_data
│ │ ├─/mnt/.ix-apps/app_mounts/frigate
│ │ │ ├─/mnt/.ix-apps/app_mounts/frigate/media
│ │ │ └─/mnt/.ix-apps/app_mounts/frigate/config
│ │ ├─/mnt/.ix-apps/app_mounts/wordpress-gtaprinting
│ │ │ ├─/mnt/.ix-apps/app_mounts/wordpress-gtaprinting/data
│ │ │ └─/mnt/.ix-apps/app_mounts/wordpress-gtaprinting/mariadb_data
│ │ ├─/mnt/.ix-apps/app_mounts/nginx-proxy-manager
│ │ │ ├─/mnt/.ix-apps/app_mounts/nginx-proxy-manager/certs
│ │ │ └─/mnt/.ix-apps/app_mounts/nginx-proxy-manager/data
│ │ ├─/mnt/.ix-apps/app_mounts/flaresolverr
│ │ │ └─/mnt/.ix-apps/app_mounts/flaresolverr/data
│ │ ├─/mnt/.ix-apps/app_mounts/filebrowser
│ │ │ └─/mnt/.ix-apps/app_mounts/filebrowser/config
│ │ ├─/mnt/.ix-apps/app_mounts/sonarr
│ │ │ └─/mnt/.ix-apps/app_mounts/sonarr/config
│ │ ├─/mnt/.ix-apps/app_mounts/tailscale
│ │ │ └─/mnt/.ix-apps/app_mounts/tailscale/state
│ │ ├─/mnt/.ix-apps/app_mounts/pgadmin
│ │ │ └─/mnt/.ix-apps/app_mounts/pgadmin/config
│ │ ├─/mnt/.ix-apps/app_mounts/prowlarr
│ │ │ └─/mnt/.ix-apps/app_mounts/prowlarr/config
│ │ └─/mnt/.ix-apps/app_mounts/pihole2

Output from: sudo zfs list | grep pihole
Main/ix-apps/app_mounts/pihole 1.40G 2.04T 96K /mnt/.ix-apps/app_mounts/pihole
Main/ix-apps/app_mounts/pihole/config 1.39G 2.04T 1.39G /mnt/.ix-apps/app_mounts/pihole/config
Main/ix-apps/app_mounts/pihole/dnsmasq 96K 2.04T 96K /mnt/.ix-apps/app_mounts/pihole/dnsmasq
Main/ix-apps/app_mounts/pihole2 2.79G 2.04T 104K /mnt/.ix-apps/app_mounts/pihole2
Main/ix-apps/app_mounts/pihole2/config 1.39G 2.04T 1.39G /mnt/.ix-apps/app_mounts/pihole2/config
Main/ix-apps/app_mounts/pihole2/config-temp 1.39G 2.04T 1.39G /mnt/.ix-apps/app_mounts/pihole2/config-temp
Main/ix-apps/app_mounts/pihole2/dnsmasq 96K 2.04T 96K /mnt/.ix-apps/app_mounts/pihole2/dnsmasq
Main/ix-apps/app_mounts/pihole2/dnsmasq-temp 96K 2.04T 96K /mnt/.ix-apps/app_mounts/pihole2/dnsmasq-temp

Make sure the app is stopped.

the app is stopped. Stopped all apps currently. Even did a docker prune volumes as an attempt.

There is some confusion going on between the kernal, zfs and the mount points. I’m just not sure what the exact confusion is or how to remedy it

first find the proc_id of the related dataset:

grep “YOUR_DATASET_NAME” /proc/*/mounts

then find the related processes:

ps -aux | grep PROC-ID ### proc-id from last step

Now you can shutdown the service or kill the process