acd_cli icon indicating copy to clipboard operation
acd_cli copied to clipboard

acd_cli mount from multiple locations

Open christianreiss opened this issue 8 years ago • 3 comments

Hey folks,

(Naturally) I am using my clouddrive from several locations simultaneously. Mostly read-only but as it is the nature of cloud storage writes are inevitable. Turns out that new files are not shown on other nodes without re-mountig it. That would not pose to be a big problem; but I encountered issed with reading some files after adding some files from another node; Its either stalled or not working at all. I have tried doing "sync" via cron (*/10 min) while keeping the directories mounted, the directory is not readable at all.

I am also adding files with rclone from even more systems.

It all boils down to this question: How is acd_cli correctly handled if you are not using it from a single pc?

Cheers, Christian.

christianreiss avatar Nov 09 '16 23:11 christianreiss

Most filesystems have serious problems when mounted multiple times and acd_cli fuse-mount is no exception. The fact that the storage is in some "cloud" doesn't make it better (actually it makes much less controllable).

Probably there can be many enhancements in the future but for now the (rather limiting workarounds) I can think of are:

  • pick one computer and mount only there (then access the data from everywhere via some other system run there, like owncloud)
  • use different (ACD) folder for each computer, also if you need to "rclone copy" something to ACD do it in another folder, outside the fuse-mounted tree.

vb0 avatar Nov 11 '16 08:11 vb0

@christianreiss Please test syncing whilst mounted with PR #436 using a database backend different from sqlite.

yadayada avatar Nov 11 '16 15:11 yadayada

I have been using acd fuse mounts between multiple computers and have noticed no ill effects. However, I never write files to the same directories from different computers without unmounting both sides and syncing first, just to be on the safe side. Not intended to guarantee that it's safe, just wanted to say that it seems to work for me.

ebyrne242 avatar Nov 11 '16 15:11 ebyrne242