Issue Mounting ZFS Dataset After Improper Unmount

If there’s an altroot already set during the pool’s import, but then the user deliberately sets a mountpoint for the root dataset, you end up with the above.

1 Like

I think this is it, everything is working as normal now! Thank you!

CoadNas% sudo zfs mount | grep main           
main                            /mnt/main

CoadNas% sudo zfs get mountpoint main
NAME  PROPERTY    VALUE       SOURCE
main  mountpoint  /mnt/main   default

CoadNas% sudo zfs get mountpoint,readonly main
NAME  PROPERTY    VALUE       SOURCE
main  mountpoint  /mnt/main   default
main  readonly    off         local

Only thing that doesnt look right is /mnt/main/main, it doesnt show up on zfs list:

Because the first “main” is a dataset, and the nested “main” is a folder.

I think now is a good time to read about ZFS’s concepts, and the differences between vdevs, pools, datasets, and folders.

1 Like

That sounds like a very good idea. Again, Thank You.