You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SHFS supports reconnect mode. Has this been tested with MegaFuse? Could this be workable method to ensure that endpoints are reconnected even when network conditions are unreliable?
To make mount survive temporary connection outage (reconnect mode):
shfsmount --persistent user@host /mnt/shfs
Additionally, could there be an ability to specify the cache size? It's not clear how the caching of MegaFuse and SHFS work together.
Finally, could there be the ability to disable caching when copying files to mount point when the file system doesn't have enough disk space. For example, copying a 15GB file to /megafs mount point would fail if only 10GB of space is remaining on the local disk. To avoid this condition MegaFuse could be started with -o cachesize=0 or similar operator to temporarily disable caching to enable large files to be copied or moved to /megafs mount point even if disk space is limited.
The text was updated successfully, but these errors were encountered:
megafuse has nothing to do with shfs.
MegaFuse is a FUSE filesystem that uses MEGA sdk to transfer files.
In theory caching could be disabled since MEGA encrypts in counter mode,
but doing that would make MegaFuse so slow that it becomes unusable.
Right now the caching is very simple. MegaFuse caches everything.
In the future I'll add a cache pruning system that deletes the cache
for the least recently used files.
MegaFuse can recover from some network outages.
I'll probably make some improvements on this to make it
work on mobile networks too.
According to http://shfs.sourceforge.net/install.html
SHFS supports reconnect mode. Has this been tested with MegaFuse? Could this be workable method to ensure that endpoints are reconnected even when network conditions are unreliable?
To make mount survive temporary connection outage (reconnect mode):
shfsmount --persistent user@host /mnt/shfs
Additionally, could there be an ability to specify the cache size? It's not clear how the caching of MegaFuse and SHFS work together.
Longer transfers? Increase cache size (1MB cache per file):
shfsmount user@host /mnt/shfs -o cachesize=256
Finally, could there be the ability to disable caching when copying files to mount point when the file system doesn't have enough disk space. For example, copying a 15GB file to /megafs mount point would fail if only 10GB of space is remaining on the local disk. To avoid this condition MegaFuse could be started with -o cachesize=0 or similar operator to temporarily disable caching to enable large files to be copied or moved to /megafs mount point even if disk space is limited.
The text was updated successfully, but these errors were encountered: