Author Topic: BUG: NFS shares lose connection on TeraStation  (Read 444 times)

dds

  • Calf
  • *
  • Posts: 1
BUG: NFS shares lose connection on TeraStation
« on: January 17, 2022, 10:45:45 AM »
Hello,

we noticed a bug with nfs shares on our TeraStation (firmware 5.00-0.07).
The problem occurs if clients are directly mounting any subfolder of a defined nfs share on the TeraStation.
Clients are losing the connection to these mounts sooner or later and cannot restore the connection.
It happens to all sorts of clients, we tested it with several ESXI servers and some linux clients.

The interesting thing is, as soon as ANY client enters the PARENT folder of this mounted sub folder on the TeraStation by using ANY sharing protocol (e.g. SAMBA) the mounted nfs subfolders awake to life again on all the clients. There must happen some weird things inside the TeraStation...

Steps to reproduce the error:
1) define a samba/nfs share, e.g. "myshare" pointing to /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e​
2) create a subfolder on this share, e.g. /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e/subfolder1
3) mount the subfolder /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e/subfolder1 on any client via nfs (v3)
4) make sure noone accesses the share "​m​y​s​h​a​r​e"​ directly any longer
5) restart TeraStation

--> client can no longer access the mounted folder /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e/subfolder1  (i/o error)

6) now access the parent folder /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e​ with any protocol from any machine in the network and list it's content (ls)

-> client automatically restores connection to /​m​n​t​/​l​v​m​/​l​v​m​_​a​r​r​a​y​1​/​l​v​m​1​0​0​_​b​a​c​k​u​p​/​m​y​s​h​a​r​e/subfolder1