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
{{ message }}
Repository navigation
Mount: Windows mount produces four instances of "new folder" when requested to make one in explorer. #2187
changed the title [-]Mount: Windows mount produces 4 instances of "new folder" when requested in explorer.[/-][+]Mount: Windows mount produces four instances of "new folder" when requested to make one in explorer.[/+]on Mar 30, 2018
I tried to replicate this with Windows server 2016 but it resolutely only makes one folder!
Can you run with -vv --log-file mount.log and make the new folder then stop the mount and attach the log here? That should hopefully give a bit more idea as to what is going on.
@christoefar thanks for the logs. As far as I can see everything looks normal in the problem case. rclone doesn't report any errors, none of the FUSE calls return errors (except for the initial query to see if the directory is there before creating it).
The difference seems to be that in the problem case, things run the same until the OS decides to do this quite a few times
So that is as if it is looking for the directory. Rclone returned errc=0 so it found it, but we don't know exactly what rclone returned at that point.
I made a test binary which will print exactly what rclone returns in those Getattr calls. Could you repeat your first two tests with this and we'll see exactly what the problem is hopefully. Thank you :-)
Activity
[-]Mount: Windows mount produces 4 instances of "new folder" when requested in explorer.[/-][+]Mount: Windows mount produces four instances of "new folder" when requested to make one in explorer.[/+]ncw commentedon Mar 30, 2018
What did you do to create the new folders? How can I reproduce the problem?
Thanks
danielloader commentedon Mar 30, 2018
Right clicked in an empty folder in Windows Explorer, clicked New > Folder, like a regular filesystem.
It then hesitates a little and comes back with the ones in the screenshot above.
ncw commentedon Apr 5, 2018
I tried to replicate this with Windows server 2016 but it resolutely only makes one folder!
Can you run with
-vv --log-file mount.logand make the new folder then stop the mount and attach the log here? That should hopefully give a bit more idea as to what is going on.danielloader commentedon Apr 5, 2018
Will do as soon as I get a chance. Thanks!
danielloader commentedon Apr 11, 2018
https://pastebin.com/raw/hXhpGNg7
https://imgur.com/uK44ry5
Hope it helps!
ncw commentedon Apr 16, 2018
Thank you for that - nice video :-)
Everything looks normal in the log... I wonder if the
New Folderis just taking too long to appear.Can you try this for me?
gdrivewithout the cacherclone mount c:\path\to\localdir Q:Thanks!
03c commentedon Jul 4, 2018
I would just like to confirm this behaviour on my server. I can provide my details/logs if you would like.
ncw commentedon Jul 5, 2018
@christoefar are you using cache? Can you try the experiments In the comment just above your first comment?
03c commentedon Jul 5, 2018
@Daniel-Loader I notice you have passed the location of the conf file like I do. Is this because you are running it as a windows service using NSSM?
I ask because my command will run fine until I run it as service at which point I get the problem.
I have run the tests and attached the log files,
Problem Command & Log
Log: https://pastebin.com/ivEJ2Mj9
You can see in this log the references to all 4 of the files.
Steps:
Try the same experiment but with the underlying remote gdrive without the cache
Try the same experiment just with rclone mount c:\path\to\localdir Q:
danielloader commentedon Jul 5, 2018
Can confirm using the cache and nssm for service. Seems suspect then if it's not possible to recreate it when you run it manually.
cmount: extra debug for #2187
ncw commentedon Jul 6, 2018
@christoefar thanks for the logs. As far as I can see everything looks normal in the problem case. rclone doesn't report any errors, none of the FUSE calls return errors (except for the initial query to see if the directory is there before creating it).
The difference seems to be that in the problem case, things run the same until the OS decides to do this quite a few times
So that is as if it is looking for the directory. Rclone returned
errc=0so it found it, but we don't know exactly what rclone returned at that point.I made a test binary which will print exactly what rclone returns in those Getattr calls. Could you repeat your first two tests with this and we'll see exactly what the problem is hopefully. Thank you :-)
https://beta.rclone.org/branch/v1.42-026-g6f86549c-fix-2187/ (uploaded in 15-30 mins)
ncw commentedon May 7, 2020
Note there is more discussion of this here: #3216
The conclusion seems to be that it is running on the SYSTEM account which is the problem.
ivandeex commentedon Feb 9, 2021
@danielloader @christopherchild This problem is reported against obsolete rclone version. Can you reproduce it with rclone 1.54?
ivandeex commentedon Mar 12, 2021
Closing stale requests
cmount: extra debug for rclone#2187