SOLUTION 2025: Help migrate from Xigmanas /mnt/mnt error when importing pool

Hello,

This is a request for help migrating
FROM: Xigmanas 14.1.0.5 - RC1 (revision 10142)
TO: ElectricEel-24.10.2.1

Problem:

  1. Unable to share Dataset via “add SMB” shares.

“[EINVAL] sharingsmb_create.path_local: The path must reside within a pool mount point [EINVAL] sharingsmb_create.path_local: ACL type mismatch with child mountpoint at /mnt/mnt/ShedNAS: boot-pool/ROOT/24.10.2.1/mnt - OFF, ShedNAS - NFSV4”

Background :

Trying TrueNAS out on my cold, redundant server to see how the migration process is before trying to migrate my main NAS.

To date:

  1. Storage Dashboard - imported ZFS pool for xigmanas.

  2. Datasets - my dataset is present ShedNAS.

  3. Created User.

  4. Windows (SMB) Shares - Running.

  5. Windows (SMB) Shares - “Add” only shows /mnt as path location. Then produces the error message above.

Barriers:

  1. Xigmanas is FreeBSD, I have some CLI familiarity with zpool and commands.
  2. At some point TrueNAS moved to Linus. I do have some cli experience with linux, thought zpool and similar are not working when i SSH in.
  3. It seems there was a change to the zpool structure, it may be that my pool is root or in a place that can not be shared.
  4. Searching for a solution seems to produce a hybrid of suggestions for FreeBDS and linus TrueNAS versions.

It would be preferable to resolve this without rebuilding the pool/datasets if possible.

Thanks in advance.

Dataset
Under “Roles” icon to the LEFT “This dataset is used by the system”

More info

Under Datasets → Roles → Create SMB Share

Path auto populates “/mnt/mnt/ShedNAS”

Gives error message "[EINVAL] sharingsmb_create.path_local: The path must reside within a pool mount point "

In addition:

Manually trying /mnt/ShedNAS does not work.

Manually trying /ShedNAS does not work.

Manually trying /mnt does not work.

The /mnt/mnt tells you that your pool got mounted to the wrong mountpoint. It should only be /mnt/poolname

Edit see:

Import the pool with

sudo zpool import -o altroot=/mnt POOLNAME

Also use sudo for zfs commands like zpool

Thank you for your replies. This was most helpful.

I will note below how I resolved this for the benefit of anyone who finds themself in the same situation.

Caveat: This worked for me. This above two suggestions are slightly different.

  1. Find the problem.
    Under Datasets → Roles → Create SMB Share

Path auto populates “/mnt/mnt/ShedNAS”

  1. Correct the location

sudo zfs set mountpoint=/mnt/poolname poolname

sudo zfs set mountpoint=/ShedNAS ShedNAS

  1. Create shares. Seems to work.

Thanks again. Will mark as resoloved.