Mounted drive will not sync | Ubuntu 20.04 | Syncthing 1.6.1

Having a heck of a time.

Installed: SyncThing & NFS Server (only on primary) (So I can quickly transfer video footage) Mounted a drive /dev/sdb to /home/myself/2/extended /dev/sdb on /home/myself/2/extended type ext4 (rw,relatime)

If I drop a file using NFS into the /2/ folder, which is the root of the sync folder, the files show up just fine. If I drop files into /2/extended folder, shows zero files.

So basically, I can use a non-mounted local folder and it works. Syncs all the things. If I use the mounted folder, it does not work. Can’t figure out why.

myself@nfs01:~/2$ ls -la
total 36232
drwxr-xr-x 4 myself myself         4096 Jun 24 05:03 .
drwxr-xr-x 7 myself myself         4096 Jun 24 03:41 ..
drwxr-xr-x 2 myself myself         4096 Jun 24 03:41 .stfolder
-rw-rw-r-- 1 myself myself     14935840 Jul  8  2018 apple.m4a
drwxr-xr-x 2 root   root           4096 Jun 24 04:43 extended
-rw-rw-r-- 1 myself myself     17044860 Apr  7  2019 lastbreath.mp3
-r-xr-xr-x 1 root   4294967294  5095937 Jun  7 04:09 test000.mp3

No idea about your problem, but mounting drives into a shared folder is often not a great idea, because Syncthing can’t interpret them being unmounted as something other than the files being deleted.

1 Like

Shoot. I never thought of that. I’m using vmware and added a second hard drive (sdb). I thought it would recognize it as just another folder. Learned something today. How do people normally do that if they need to share extended folders?

I don’t think syncthing recognises it as anything else than a folder because syncthing only deals with folders.

The fact it’s not finding content probably means there are some sort of permission issue.

Syncthing doesn’t have any special logic not to cross filesystem boundaries.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.