Author Topic: "directory has vanished" errors when using rsync  (Read 2953 times)

bptarpley

  • Calf
  • *
  • Posts: 1
"directory has vanished" errors when using rsync
« on: October 04, 2018, 01:28:22 PM »
We have a shared folder on our Terastation TS5810D with ~400GB of data (mostly small text files in git repos). The only File Sharing we have enabled on the appliance is NFS, and I'm sharing RW, Guest Permission Ignored, and Async. I mount this on our client by making an entry in /etc/fstab with the following options:

[NAS IP]:/mnt/array1/share/[folder]   /path/to/mount   nfs   rw,hard,rdirplus      0       0

The volume seems to mount correctly, and there are no errors on either the client or on the NAS. However, when attempting to rsync this mounted volume to a different location, things will work fine for ~3-4 minutes and then I receive errors that say "file has vanished" or "directory has vanished," preventing the vast majority of the files/directories from being transferred. This is not a busy filesystem. No one else is mounting this shared drive. No processes are deleting/updating files while rsync is doing its thing.

I've tried updating the firmware (now at latest). I've tried many other NFS options in /etc/fstab on the client. I've tried using "sync" instead of "async" on the NFS share options provided by the NAS web interface. Nothing helps. This prevents us from using the NAS for anything we need it for. Please help!

joppelt

  • Calf
  • *
  • Posts: 1
Re: "directory has vanished" errors when using rsync
« Reply #1 on: April 08, 2022, 10:37:50 AM »
Have you ever solved the issue? We have exactly the same symptoms making our Buffalo Terastation unusable.

I would just add more details from my side. When this happens (rsync stops) and I go to the Terastation and I try to list the content I get:
Code: [Select]
d?????????  ? ?       ?        ?            ? tools/ However, if I list it again in a few seconds the directory becomes "visible" again. This repeats when I go into subdirectories as well. It seems Terastation goes to "sleep" mode or something.
« Last Edit: April 08, 2022, 10:44:07 AM by joppelt »