After a migration to new hardware, I’m having a persistent issue where the tank pool gets incorrectly mounted to /mnt/mnt/tank. I found a fix, but it doesn’t persist after reboot. Here’s what my fix looks like:
On boot, check tank mount path:
zfs get mountpoint tank
NAME PROPERTY VALUE SOURCE
tank mountpoint /mnt/mnt/tank local
Export pool:
zpool export tank
Cleanup incorrect mount directories
rmdir /mnt/mnt/tank
rmdir /mnt/mnt
Import pool
zpool import -d /dev/disk/by-id/ tank
Check mount point:
zfs get mountpoint tank
NAME PROPERTY VALUE SOURCE
tank mountpoint /mnt/tank local
Everything works fine after that, until the next system reboot.
The pool is a single 12TB HDD. I’m running TrueNAS SCALE Fangtooth 25.04.2.4.
Thanks for any help!