QTS 5.2.9.3499 build 20260514 - USB mounts don't show up on NFS anymore

Hey there,

Since updating to the newest version, I’ve got a weird bug on my TS-433 : if I attach a USB drive (let’s call it USBDRIVE) which I’ve previously marked as needing to be shared over NFS, it doesn’t appear in the /etc/exports file. So the mount is not available for any system on my network.

I can observe this behaviour by logging into my NAS over SSH.

  • It does appear in SAMBA sharing - smb.conf, the minute the drive is attached. But I’m using NFS :slight_smile:

  • I can force the “/etc/exports” file to regenerate by opening the USBDRIVE share section in the WebUI for USBDRIVE and hitting apply (not even changing any settings). After this, the USBDRIVE appears in NFS exports and all is well.

  • After ejecting the drive, the “etc/exports” file correctly removes the line of the share, so that part does work.

Must be a recently introduced bug, since I don’t remember having these problems before the update. Anyone who can confirm?

Thank you for your report and clear analysis! We will try to reproduce and investigate this issue internally.

With my limited but grounded Linux experience: there is a race condition introduced in generating the “/etc/exports” file. It gets regenerated before the USB drive is fully registered to the system, causing it to not show up in the regenerated version. A manual settings save triggers a correct export, as expected.