Mount point / folder disappears ..!

looks like a simple typo, try C:\rcmounts\C101\mount

Sorry, my bad..

Log File:

2023/01/19 20:32:01 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:rcmounts\C101\mount" "--log-file=C:\logs\rclonemount5.txt" "--log-level" "DEBUG"]
2023/01/19 20:32:01 DEBUG : Creating backend with remote "C101:"
2023/01/19 20:32:01 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 20:32:05 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 20:32:06 DEBUG : Network mode mounting is disabled
2023/01/19 20:32:06 Fatal error: failed to mount FUSE fs: parent of mountpoint directory does not exist: C:\rclone\rcmounts\C101
2023/01/19 20:39:25 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:\rcmounts\C101\mount" "--log-file=C:\logs\rclonemount5.txt" "--log-level" "DEBUG"]
2023/01/19 20:39:25 DEBUG : Creating backend with remote "C101:"
2023/01/19 20:39:25 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 20:39:27 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 20:39:28 DEBUG : Network mode mounting is disabled
2023/01/19 20:39:28 Fatal error: failed to mount FUSE fs: mountpoint path already exists: C:\rcmounts\C101\mount
2023/01/19 20:41:55 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:\rcmounts\C101\mount" "--log-file=C:\logs\rclonemount5.txt" "--log-level" "DEBUG"]
2023/01/19 20:41:55 DEBUG : Creating backend with remote "C101:"
2023/01/19 20:41:55 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 20:41:57 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 20:41:58 DEBUG : Network mode mounting is disabled
2023/01/19 20:41:58 Fatal error: failed to mount FUSE fs: mountpoint path already exists: C:\rcmounts\C101\mount

if possible, please delete the log file, before each run of rclone mount.
i would use a batch script.

del C:\logs\rclonemount5.txt
rclone mount ....

a bit confusing but as per rclone docs
"to a path representing a nonexistent subdirectory of an existing parent directory"

C:\rcmounts\C101 must exist
C:\rcmounts\C101\mount must NOT exist, so delete that folder.

Killed nssm.exe and rclone.. deleted 'mount' .. now its C:\rcmounts\C101

Log File:

2023/01/19 19:05:29 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:\rcmounts\mount" "--log-file=C:\logs\rclonemount.txt" "--log-level" "DEBUG"]
2023/01/19 19:05:29 DEBUG : Creating backend with remote "C101:"
2023/01/19 19:05:29 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 19:05:33 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 19:05:34 DEBUG : Network mode mounting is disabled
2023/01/19 19:05:34 DEBUG : Mounting on "C:\rcmounts\mount" ("C101")
2023/01/19 19:05:34 DEBUG : Google drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=C101"]
2023/01/19 19:05:34 DEBUG : Google drive root '': Init:
2023/01/19 19:05:34 DEBUG : Google drive root '': >Init:
2023/01/19 19:05:34 DEBUG : /: Statfs:
2023/01/19 19:05:35 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:3932160 Bfree:186215 Bavail:186215 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/01/19 19:05:35 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/19 19:05:35 DEBUG : /: >Getattr: errc=0
2023/01/19 19:05:35 DEBUG : /: Readlink:
2023/01/19 19:05:35 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/01/19 19:05:35 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/01/19 19:05:35 DEBUG : /: >Getxattr: errc=-40, value=""
2023/01/19 19:05:35 DEBUG : /: Statfs:
2023/01/19 19:05:35 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:3932160 Bfree:186215 Bavail:186215 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/01/19 19:05:35 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/19 19:05:35 DEBUG : /: >Getattr: errc=0
2023/01/19 19:05:35 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/19 19:05:35 DEBUG : /: >Getattr: errc=0
2023/01/19 19:05:35 DEBUG : /: Opendir:
The service rclone has been started.
2023/01/19 19:05:35 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/01/19 19:05:35 DEBUG : /: >OpenFile: fd=/ (r), err=
2023/01/19 19:05:35 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/01/19 19:05:35 DEBUG : /: Releasedir: fh=0x0
2023/01/19 19:05:35 DEBUG : /: >Releasedir: errc=0
The service rclone has been stopped.
2023/01/19 19:06:13 DEBUG : Google drive root '': Destroy:
2023/01/19 19:06:13 DEBUG : Google drive root '': >Destroy:
2023/01/19 19:06:13 DEBUG : Not calling host.Unmount as mount already Destroyed
2023/01/19 19:06:13 DEBUG : Unmounted successfully
2023/01/19 19:06:13 ERROR : C:\rcmounts\mount: Unmounted rclone mount
2023/01/19 19:06:13 DEBUG : rclone: Version "v1.61.1" finishing with parameters ["rclone" "mount" "C101:" "C:\rcmounts\mount" "--log-file=C:\logs\rclonemount.txt" "--log-level" "DEBUG"]
2023/01/19 19:06:42 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:\rcmounts\C101\mount" "--log-file=C:\logs\rclonemount.txt" "--log-level" "DEBUG"]
2023/01/19 19:06:42 DEBUG : Creating backend with remote "C101:"
2023/01/19 19:06:42 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 19:06:44 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 19:06:44 DEBUG : Network mode mounting is disabled
2023/01/19 19:06:44 DEBUG : Mounting on "C:\rcmounts\C101\mount" ("C101")
2023/01/19 19:06:44 DEBUG : Google drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=C101"]
Cannot create WinFsp-FUSE file system: mount point in use.
2023/01/19 19:06:44 ERROR : Google drive root '': Mount failed
2023/01/19 19:06:44 Fatal error: failed to mount FUSE fs: mount stopped before calling Init: mount failed
2023/01/19 20:26:49 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:rcmounts\C101\mount" "--log-file=C:\logs\rclonemount.txt" "--log-level" "DEBUG"]
2023/01/19 20:26:49 DEBUG : Creating backend with remote "C101:"
2023/01/19 20:26:49 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 20:27:05 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 20:27:06 DEBUG : Network mode mounting is disabled
2023/01/19 20:27:06 Fatal error: failed to mount FUSE fs: parent of mountpoint directory does not exist: C:\rclone\rcmounts\C101
2023/01/19 20:53:55 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "C101:" "C:\rcmounts\C101" "--log-file=C:\logs\rclonemount.txt" "--log-level" "DEBUG"]
2023/01/19 20:53:55 DEBUG : Creating backend with remote "C101:"
2023/01/19 20:53:55 DEBUG : Using config file from "C:\Users\Corduroy\AppData\Roaming\rclone\rclone.conf"
2023/01/19 20:53:57 DEBUG : Google drive root '': 'root_folder_id = 0APsCmwEFr3W-Uk9PVA' - save this in the config to speed up startup
2023/01/19 20:53:57 DEBUG : Network mode mounting is disabled
2023/01/19 20:53:57 Fatal error: failed to mount FUSE fs: mountpoint path already exists: C:\rcmounts\C101

Sorry mate, i am not too much conversant with everything you are asking me ot do.. trying my best to follow your instructions..

i know this is very confusing, unfortunately, there is no --magic :wink:

just make sure the mountpoint C:\rcmounts\C101\mount does NOT exist

the command should remain unchanged,
rclone mount C101: C:\rcmounts\C101\mount --log-file=C:\logs\rclonemount5.txt --log-level DEBUG

hahahha.. how i wish there was one

stopped the service.. deleted the folder.. ran the command, and its been going for forever.. not stopping..

yes, that is expected.

most commands runs once and end, such as dir or copy
with rclone mount, the command has to continue to run.

would not worry about that now, later on when everything is working, then use nssm or task scheduler.

the main issue: is the mount working, can you access the files?

Yes.. i can access the files

ok, so what is the problem now?

issue is i am afraid it will stop working again after 2 days.. like it has been hapening earlier.. for now everything is like it should be.. remember i told you earlier that the mounts stop working after about 2 days and i get following message while trying to open the mount folders..

yes, i remember, but you had a overly complex setup, trying to overmount, nssm, lots of rclone.exe stuck in memory, etc..
but now we have a single working command, on the command line, using a debug log.

well, no way to know, just have to wait.
and now we are using a rclone log....

1 Like

Yup sure.. Bundle of thanks mate.. i hope it keeps working ths time around.. Again, thanks for your time and effort.. Much obliged.. :slightly_smiling_face: :metal:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.