thank you, but the command doesn’t work, the directory “.ix-app/apps_mount/nextcloud” seems not a dataset, it cannot be delete using either “zfs destroy” or “rm”
zfs destroy give no such dataset error
No there is a hidden dataset at /mypool/ix-apps that is mounted at /mnt/.ix-apps. For example
% sudo zfs list /mnt/.ix-apps/app_mounts/dockge
NAME USED AVAIL REFER MOUNTPOINT
virtual/ix-apps/app_mounts/dockge 396K 2.63T 104K /mnt/.ix-apps/app_mounts/dockge
cannot open ‘/mnt/.ix-apps/app_mounts/nextcloud’: leading slash in name cd /mnt/.ix-apps/app_mounts && zfs destroy nextcloud also not work, cannot open ‘nextcloud’: dataset does not exist
Is that a bug? Truenas did not delete the files under apps_mount after click uninstall button in webui
Once you’ve done that (and not before), if you want to manually remove the files it looks like you’d actually have to use the hidden location of the dataset on the apps pool rather than the mount location. For example:
% sudo zfs create virtual/ix-apps/app_mounts/test
% sudo zfs list virtual/ix-apps/app_mounts/test
NAME USED AVAIL REFER MOUNTPOINT
virtual/ix-apps/app_mounts/test 96K 2.63T 96K /mnt/.ix-apps/app_mounts/test
% sudo zfs destroy virtual/ix-apps/app_mounts/test
% sudo zfs list virtual/ix-apps/app_mounts/test
cannot open 'virtual/ix-apps/app_mounts/test': dataset does not exist