When I installed 25.04.2.3 (my first ever install) I noticed that the pool I imported was mounted as /mnt/mnt/spinpool. I followed another post in these forums to fix that and it worked nicely across reboots. (properly mounting at /mnt/spinpool)
But after the upgrade to 25.04.2.4 the pool was again mounted at /mnt/mnt/spinpool instead of /mnt/spinpool.
I had to manually fix that again.
Is that expected? A bug? Some lingering config somewhere?
An how can I fix that?
Hmm… spinpool comes from a FreeBSD manual setup, so I really don’t care about its name and I just have 2 samba shares at the moment that I can easily set up again. No apps yet or any other special things (I’m new to TrueNAS).
Assumption: On the FreeBSD system the mountpoint for spinpool was originally… /mnt/spinpool so that might have caused TrueNAS UI to get confused at import (which was done from the UI).
After reading up a bit, here’s my current thinking for a recovery strategy:
export spinpool from the TrueNAS UI
This should cleanly disconnect it.
Then from the command line, as root: mkdir /someplace zpool import -R /someplace spinpool newpool zfs set mountpoint=/someplace newpool zfs destroy -r newpool/ix-apps zfs destroy -r newpool/.ix-virt zpool export newpool
after checking newpool is no longer mounted, for good measure: rm -rf /someplace
I should now have a clean newpool with all data intact
(assumption/hope )
Now import newpool from the UI which should take care of a clean import