BUG: mountd 1708 - can't open /etc/zfs/exports - Starting Jails

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
Since upgrading from Freenas 11.3U5 to Truenas 12 i am getting the following error filling the logs.

mountd 1708 - - can't open /etc/zfs/exports

I have only two KUbuntu linux machines on the network, and when i open Dolphin, i get
mountd 1708 - - export request succeeded from 192.168.x.x

the error is not triggered by opening a shell or a jail shell. But it is particularly prevalent after a new reboot
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
stop and restart the nfs service gives the errors in this order
Oct 26 17:28:04 nas 1 2020-10-26T17:28:04.209831+01:00 nas.net.lan mountd 11861 - - can't open /etc/zfs/exports
Oct 26 17:28:04 as nfsd: can't register svc name
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,175
Looks cosmetic to me.
There are other threads referencing this.
There is a bug open.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
the error occurs when stopping and restarting a jail for example.
But why should a jail effect it, when the jail is not even using nfs shares?

*** i can confirm, it is the jails that are causing it. ***
I disabled all jails and rebooted. No errors.
As i started each jail one by one i.e. ClamAV, Emby, each time i started the jail....console was flooded with the error.
also editing the NFS shares and saving the config causes the error. I add the truenas Host IP as a test
 
Last edited:

FreeJB

Cadet
Joined
Nov 16, 2020
Messages
1
Same
Since upgrading from Freenas 11.3U5 to TrueNAS 12 I am getting the following error filling the logs.
mountd 1708 - - can't open /etc/zfs/exports

then I tried an # iocage fetch
followed by 12.1-RELEASE
tried iocage upgrade radarr -r 12.1 RELEASE
get new error
mountd 3008 - - can't open /etc/zfs/exports
 

eljefe

Cadet
Joined
Jun 18, 2017
Messages
3
Same
Since upgrading from Freenas 11.3U5 to TrueNAS 12 I am getting the following error filling the logs.
mountd 1708 - - can't open /etc/zfs/exports

then I tried an # iocage fetch
followed by 12.1-RELEASE
tried iocage upgrade radarr -r 12.1 RELEASE
get new error
mountd 3008 - - can't open /etc/zfs/exports

I also got this error when upgrading to ver 12.

From what I can tell there is nothing at /etc/zfs/exports but there is at /etc/exports.

Maybe NFS just needs that path updated?
 

darksoul

Dabbler
Joined
Dec 1, 2020
Messages
11
From Command line just issue this command as root
touch /etc/zfs/exports
this stops the errors for me.. and again as someone else said its pretty much just cosmetic.
 

eljefe

Cadet
Joined
Jun 18, 2017
Messages
3
From Command line just issue this command as root
touch /etc/zfs/exports
this stops the errors for me.. and again as someone else said its pretty much just cosmetic.

Thanks! I was actually able to resolve this error and other slowness/crashing issues myself. On the NFS shares the authorized hosts was empty on all my shares. I changed it to something else and then back to 0.0.0.0 and it cured a lot of issues. Seems like some sort of mismatch.
 

darksoul

Dabbler
Joined
Dec 1, 2020
Messages
11
What issues are you having with slowness? and what do you consider slow?
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
From Command line just issue this command as root
touch /etc/zfs/exports
this stops the errors for me.. and again as someone else said its pretty much just cosmetic.
Is this from the TrueNAS shell or from the jail shell? If it is the TrueNAS shell, with that change persist after a reboot?

Cheers,
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
i logged in via ssh and executed the command.
OK, I will do that. It would be nice if this just gets fixed :D

It looks like it has been reported - so there is hope.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
OK, I will do that. It would be nice if this just gets fixed :D
It looks like it has been reported - so there is hope.
unfortunately, i tried creating in the template area and in the jails but didn't work for me.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,398
No, @gwaitsi, run this on the host, not inside a jail. touch /etc/zfs/exports
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
Top