trailing slash breaks NFS permanently?

Description

FreeNAS-11.3-U4.1

steps to reproduce:

  • create a working NFS share, in my case: /mnt/tank/bin

  • client can mount the share: mount -t nfs nas:/mnt/tank/bin /mnt/temp

  • umount /mnt/temp

  • change the share: to "/mnt/tank/bin/" -> notice the trailing slash

  • mount again: mount -t nfs nas:/mnt/tank/bin /mnt/temp
    error: "mount.nfs: Protocol not supported"

  • restore the share by removing the trailing slash
    share is still broken

  • on the services page restart NFS -> share is still broken

How to fix without rebooting the server? (not tested)

Creating new share's seem to work. But i did not manage to repair the "bin" share.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
October 20, 2020 at 2:01 PM

Bug Clerk 
September 30, 2020 at 12:48 PM

Edwin Klein Mentink 
September 24, 2020 at 9:07 PM

experimented a bit. I am not able to reproduce the "permanent" broken mount. Will create a new ticket if i notice it again.

So, only the seat belts for the slash remain.

Edwin Klein Mentink 
September 24, 2020 at 2:51 PM

debug dump is intrusive and i think not needed. Same behavior on two systems.

Also tested on TrueNAS-12.1-Nightlies. The only difference is that the mount WILL work again after you remove the trailing slash.

So, i think:

  • seat belts so you can never enter a trailing slash in the web GUI

  • check why the service breaks permanently on BSD

Bonnie Follweiler 
September 24, 2020 at 12:35 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Affects versions

Priority

More fields

Katalon Platform

Created September 23, 2020 at 11:01 PM
Updated July 1, 2022 at 4:54 PM
Resolved October 20, 2020 at 2:01 PM