Mountpoint /mnt/mnt/pool after import

I have imported a pool from a different machine and they keep mounting at /mnt/mnt/poolname

Exporting and reimporting from GUI doesn’t change anything.
Exporting and importing on console might temporarely fix it but after reboot it’s wrong again.

Here is my fix:

  • import from GUI — will give wrong mountpoint /mnt/mnt/poolname
  • as root on console:
    – zfs set mountpoint=/mnt/poolname poolname
    – zpool export poolname
    – zpool import poolname ( /mnt/poolname is fixed)
    – reboot (mointpoint stays fixed)
    – enjoy