Can't Delete 1st Pool

WhiteWiz

Cadet
Joined
Nov 28, 2023
Messages
5
OS Version:TrueNAS-SCALE-22.12.4.2
Product:ProLiant DL380 Gen9
Model:Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Memory:63 GiB

Can't delete the MainPool-R (1st pool created)
The dataset is not used by the system, i moved that Role to the TempPool
I have Shutdown all services except NFS, which is in use.
Pool still has a DataSet which i cannot delete
Error deleting dataset MainPool-R/VmWare1.
[EBUSY] Failed to delete dataset: cannot unmount '/mnt/MainPool-R/VmWare1': pool or dataset is busy
previously had an NFS share
WebUI says i'm using 1MiB in that DataSet
I have moved the apps to another pool even tho no apps are installed
Tried UNsetting the application pool

still to try:
Reboot
Turn off the NFS service
 

WhiteWiz

Cadet
Joined
Nov 28, 2023
Messages
5
sudo zfs list -t all -r MainPool-R NAME USED AVAIL REFER MOUNTPOINT MainPool-R 568M 21.3T 162K /mnt/MainPool-R MainPool-R/VmWare1 1.23M 21.3T 1.23M /mnt/MainPool-R/VmWare1 admin@truenas[~]$ sudo umount -f MainPool-R/VmWare1 umount: /mnt/MainPool-R/VmWare1: target is busy.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Have you tried Exporting the pool?
 

WhiteWiz

Cadet
Joined
Nov 28, 2023
Messages
5
Solved. Turned the NFS service off and on again, then was able to delete the dataset and after was able to export the Pool.
 

WhiteWiz

Cadet
Joined
Nov 28, 2023
Messages
5
Confirmed 2nd time. After moving all my data from TempPool to MainPool, I deleted my NFS connections from ESXi first, Then in TrueNas stopped the share, deleted the share, then attempted to delete the VmWare2 dataset and got the same error
Error deleting dataset TempPool-NR/VmWare2. [EBUSY] Failed to delete dataset: cannot unmount '/mnt/TempPool-NR/VmWare2': pool or dataset is busy
How do i raise this as a bug?
This evening i will stop and start the NFS service and confirm the dataset can be deleted.
 
Top