I've been using a samba mount over VPN but its very unstable and affects the entire mergerFS mount.
Are there any solutions available in rclone that I can take advantage of, that let's me mount remote files locally, that has the least amount of overhead/security.
It appears to be a combination of both. Since the directory structure isn’t cached, it slows down the mergerFS mount and since it’s read directly, there’s network latency visible in read operations.
i stream media over vpn. have done it many ways over the years.
in the past i has a setup like this.
on the remote server, with the media files, i did a rclone serve sftp
one the local server, over the vpn, i did a rclone mount pointing to that sftp server.
the local emby server scans the rclone mount folder.
works great for streaming, no idea about mergerfs
as far as i know, ftp and sftp are protocols for transferring files.
in order to edit files, need to make that ftp/sftp server appear as local storage.
need to mount it.
i have read, on linux, has native support for that.
with rclone, if you want to edit files, use rclone mount,
I'm using rclone mount in the client of course. I do need rw access. With webdav I'm not seeing files update in the rclone mount. What would you suggest?
try adding --vfs-cache-mode writes to the rclone mount command..
https://rclone.org/commands/rclone_mount/#limitations
"Without the use of --vfs-cache-mode this can only write files sequentially, it can only seek when reading. This means that many applications won't work with their files on an rclone mount without --vfs-cache-mode writes or --vfs-cache-mode full"
what do you mean, what type of file are you trying to edit, what program are you using to edit that file?
perhaps try --vfs-cache-mode full to the rclone mount and perhaps try adding it to rclone serve webbav
i do not have much experience with webdav and none with rclone serve webdav
if that does not work, need to look into a debug log.
keep in mind that rclone serve and rclone mount, with some backends, to do not pick up changes immediately. some backends support polling, some do not.
a debug log would show for rclone serve webdav /home/ubuntu INFO : Local file system at /home/ubuntu: poll-interval is not supported by this remote
by default, there is a five minute delay. --dir-cache-time duration Time to cache directory entries for. (default 5m0s)