Sign in to follow this  
Henner

Behavior when mounting a remote share on Linux fails and the folder appears empty.

Recommended Posts

Hello all,

The situation i'm not certain about is a Linux pc with a remote share (SMB or NFS) mounted at, e.g., "/mnt/syncfolder/".
This folder is synced by a locally running instance of Sync.

If mounting the remote share fails in the first place or the share becomes unavailable
at some point, the folder "/mnt/syncfolder/" still exists, but the contents will be different
since it is no longer backed by the remote share but by a local disk.
Typically the folder would then be empty.

How will Sync behave in such a case?

Will it somehow detect that the folder is not actually a Sync folder and not use it anymore,
and will it resume activity when the share is available again?

Will it see the empty folder and tell all other peers to delete everything in it?

Will it see that other peers have a valid data structure and sync their data
into "/mnt/syncfolder/" while it points to some local drive instead of the remote share?

Thank you,
Henner

Share this post


Link to post
Share on other sites
On 11/20/2019 at 5:17 PM, Henner said:

How will Sync behave in such a case?
Will it somehow detect that the folder is not actually a Sync folder and not use it anymore,
and will it resume activity when the share is available again?

Yes. It will work exactly this way. You will get the following error

Screen Shot 2019-11-22 at 15.23.27.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this