Comments (2)
The best way around that is to make sure all IO is stopped as if you have a network mount, it's going to be gritty to make anything stop 'nicely'.
I use systemd and ensure all processes connected are stopped before trying to stop the mount.
Even 5 times or 50 times, I don't think most people would figure out they need to stop processes connected to it.
Most folks already do a lazy unmount as well.
from rclone.
@nh2 which mount command are you using?
rclone mount
uses bazil.org/fuse
whereas rclone mount2
uses github.com/hanwen/go-fuse/v2
?
If you are using rclone mount
but investigating github.com/hanwen/go-fuse/v2
then you are investigating the wrong library :-(
There is also rclone cmount
which you get if you build with -tags cmount
on linux but it the default mount on macOS and Windows. This uses github.com/winfsp/cgofuse
. This understands libfuse
options - maybe there is a mount option for lazy unmount?
Can you try all 3 mounts and see if they have the same behaviour?
If we want to make lazy unmount an option then we need to add it to all 3 mounts ideally.
If you want to try the retry 5 times then try rclone mount2
and it should call the hanwen fuse code you linked above.
from rclone.
Related Issues (20)
- I encountered several errors while uploading to the PIKPAK cloud drive (investigated for over a week, identified the issues, hoping to assist in fixing). HOT 27
- cleanup: onedrive: delete version with newest modified date
- Backup dir cache from ram to disk and reload into ram on reboot
- Autodetect terminal width or add option to --progress to specify width HOT 2
- uloz backend, copyto doesn't work (Error 60001 (422): Validation failed) HOT 8
- Web Dav mount files appear as 1999-09-04 date HOT 1
- armv5tejl arch Illegal instruction HOT 3
- Options recover and max-lock missing in cmd/bisync/rc.go HOT 3
- Cannot access SMB share via Kerberos HOT 2
- Add "cryptdecode" function as a flag (--cryptdecode remote:) to copy/move/etc. commands?
- rclone lsf with --include argument can not find the Correct file HOT 5
- WebDAV: Indicate final file size when doing chunk upload
- please ignore HOT 3
- Support Permanent delete in OneDrive/Sharepoint HOT 5
- Recursively lock/unlock files from remote:path in Google Drive HOT 3
- Feature request: Hasher, copy hashes on server-side copy (maybe simple copy too)
- --files-from doesn't seem to play nicely with --links HOT 2
- `rclone ls` does not exit with an error code on various cloud backends when file doesn't exist HOT 2
- Hasher: trust cached sum
- Git backend? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclone.