-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FUSE hangs when mounted through /etc/fstab #527
Comments
Hi, did you export ACD_CLI_CACHE_PATH and ACD_CLI_SETTINGS_PATH in the script or are you using the default? If you get a bad address that's usually going together with a bad cache... I've seen it quite offen so my script looks something along those lines: export ACD_CLI_CACHE_PATH=/wherever The psync is needed because the root node cannot be found after a full sync. Cu |
@Grimeton Thank you for your input I can try putting those env vars to both the fstab script and the upload script. Just a quick question, is the cache path the same as the settings path? So point both to |
@philipp-spiess you can use the same path for both. Not a problem. I tend to create a subfolder per mount like: Mount point /mnt/foo Pro tip: put the acdcli path on a RAM disk (tmpfs) and see an extreme speed up. (/run looks promising). And there's an error in my previous post. It should be acdcli sync --full Instead of acdcli sync And sorry for the weird formatting... sent from my phone. Cu |
@Grimeton your environment variable trick did not work unfortunately. The same behaviour still occurs. |
Then you're doing something wrong. What OS? BSD? Linux? How does the fstab entry look like? this is my fstab entry:
And a sniplet from my acdmount:
And inside /mnt/.amazon/ I keep the files needed on the tmpfs located folder in /run that I copy over at mount. It looks like this:
And the ini files:
Is there anyting in your demsg, syslog or another debugging or anything else log? Any messages in the acd_cli.log? Cu |
I experience hangs when mounting the FUSE drive through /etc/fstab. I tried the exact same arguments in a regular shell in the foreground and all works perfectly. Here's what I do:
When I do the same via an
/etc/fstab
config, the mount will start to hang at some point and will requirefusermount -u
to free it again.After hanging, accessing the file system looks like this:
This happens when I run a separate upload script over-night that uses
acd_cli upload
. I access the FUSE drive in this script to find out if the file is already uploaded or not.Here are the interesting lines (from `acdcli.acd_fuse`) in the log file
Edit: My upload scripts uses
acd_cli resolve
to see if the file exists andencfsctl decode
to get the prettier filename since the data there is encoded using encfs. The latter probably callsls
on/Folder
so that's why the log is full with that and that's why my script errors with something like this:The text was updated successfully, but these errors were encountered: