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
rclone vfs - cache cleanup leads to error "Device not configured (os error 6)" #620
Comments
A quick update. I suspected this to be related to the VFS cache of rclone but I am not so sure anymore. The same problem occurs with encfs so it might also be related to macFUSE (used by gocryptfs / encfs) I tried to replicate the issue to check if it is related to rclone removing the cache files (including .gocryptfs.diriv). # Mount OneDrive via rclone and VFS cache but limit cache to 10 seconds
rclone mount ondrive: mnt/rclone --vfs-cache-mode full --allow-other --vfs-cache-max-age 10s --debug-fuse -v
# Mount gocryptfs
gocryptfs mnt/rclone/gocryptfs mnt/dec
But until now I was not able to replicate the issue. |
I finally got an error in the debug logs. Hopefully this helps.
|
I got the same problem just by copying files into gocryptfs's decipher folder. |
can confirm, this issue is driving me nuts. |
Have this under Catalina when using rsync. |
Also have this with v1.8 and osfuxe 3.11.2 |
Having the same problem with cryfs. Seems that I am not the only one: cryfs/cryfs#393 Maybe not so much related to gocryptfs but rather macFuse? |
sounds like macFuse's problem, try |
In the log, i see stuff like this:
12:45:58.438111 rx 3: ACCESS n1 {u=501 g=20 }
12:46:21.878524 tx 3: 5=input/output error
That's not good at all. The kernel tried to access the root dir in the
mountpoint and got an i/o error.
The fact that there are no error messages from gocryptfs tells me that the
i/o error was thrown in rclone.
What does the rclone log say when this happens?
…On Fri, 2 Feb 2024, 17:33 Tyr-Wang, ***@***.***> wrote:
sounds like macFuse's problem, try umount -f <path> as temporary
workaround
—
Reply to this email directly, view it on GitHub
<#620 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA733UIGD57RLGM5B2I3YRUINZAVCNFSM5IQUBDH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSGQZDENBQGY4Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks for the great software!
I am using rclone to access my files stored in a public cloud and gocryptfs to encrypt everything. To not download all files but have something like a smart selective sync I use
rclone mount
- https://rclone.org/commands/rclone_mount/This works fine especially using VFS file caching of rclone - https://rclone.org/commands/rclone_mount/#vfs-file-caching
I use the following options to mount the directories:
rclone
--vfs-cache-mode full --allow-other
gocryptfs
-ko modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC
Nevertheless after some time the mounted directory of gocryptfs is not accessible anymore and gives an error
Device not configured (os error 6)
If I unmount the gocryptfs directory and mount it again with gocryptfs everything is working again. So the rclone mount seems to work fine.
Not sure what I am doing wrong or where to find more specific logs. The only hint I found was that some files were removed from cache automatically by rclone. Does this have an effect on gocryptfs?
Environment:
The text was updated successfully, but these errors were encountered: