freenas mountd[2947]: mount request denied from...messages (NFS)

junior466

Explorer
Joined
Mar 26, 2018
Messages
79
Greetings!

I am backing up my vCenter server using a NFS share from FreeNAS and while it works fine, I noticed these messages in the FreeNAS log:

Feb 23 19:00:03 freenas mountd[2947]: mount request denied from 192.168.139.25 for /mnt/N40L/vcsa/vCenter/sn_192.168.139.25
Feb 23 19:00:03 freenas mountd[2947]: mount request denied from 192.168.139.25 for /mnt/N40L/vcsa/vCenter
Feb 23 19:00:03 freenas mountd[2947]: mount request denied from 192.168.139.25 for /mnt/N40L/vcsa/vCenter

Is this a permission issue or can these messages be ignored? This is how the share is configured on FreeNAS:

Screen Shot 2021-02-24 at 4.58.32 PM.png


and this is in vCenter:

Screen Shot 2021-02-24 at 4.58.43 PM.png


Thank you in advance!
 
Joined
Jan 7, 2015
Messages
1,155
I think its telling you that its not allowing the mount from your IP. In the NFS share properties you can add your network in the allowed section for the shares in question.
 

junior466

Explorer
Joined
Mar 26, 2018
Messages
79
I think its telling you that its not allowing the mount from your IP. In the NFS share properties you can add your network in the allowed section for the shares in question.
The thing is the back job always works. Nothing is actually broken besides the messages in FreeNAS log.
 
Joined
Jan 7, 2015
Messages
1,155
Something is trying to mount those directories and the share properties aren't allowing it. Your question is to how to fix or should you ignore. So I guess you answered your own question.
 

junior466

Explorer
Joined
Mar 26, 2018
Messages
79
Something is trying to mount those directories and the share properties aren't allowing it. Your question is to how to fix or should you ignore. So I guess you answered your own question.
Found the issue. In the backup settings, I point to /mnt/N40L/vcsa/vCenter/ so the initial backup creates a folder /mnt/N40L/vcsa/vCenter/sn_192.168.139.25. On subsequent backups, the server tries to mount the entire path /mnt/N40L/vcsa/vCenter/sn_192.168.139.25 instead of only /mnt/N40L/vcsa/vCenter/ causing the message. All I had to do was put a check next to `All Directories` under the NFS share path settings. Now all sub directories can be mounted. It appears to be a requirement for this configuration.

Hopefully it helps someone.
 
Top