Skip to content
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

issue mouting drive under the same name twice (SSH) #512

Open
brokedarius opened this issue Jun 28, 2023 · 1 comment
Open

issue mouting drive under the same name twice (SSH) #512

brokedarius opened this issue Jun 28, 2023 · 1 comment

Comments

@brokedarius
Copy link

Hi folks, I read the issues already and saw an old post from 2018 already mentioning this issue, it seems that on windows, you cannot create create a mount, leave it properly using ctrl+c and then remount using the same name. While I can understand the limitation, I need to understand a few things, I created that mount on a drives pooled with stablebit and it created this new disk partition of around 2tb that is not initialized...

I cannot remount under the same names not matter what I do reinstall uninstall reboot etc. The only thing that seems to work is to create a new folder with the same name delete it and run the command again but as soon as I hit ctrl+c and try again on the same name it refuses to work.

Now I just need to know are these mounts still stuck somewhere in my system.

here is the output with the -vv switch, (names and values were changed to prevent any doxxing.)

2023/06/28 18:09:43 DEBUG : rclone: Version "v1.62.2" starting with parameters ["C:\\Portable Apps\\rclone\\rclone.exe" "mount" "mike:/storage/live/mike" "d:/SSH2" "-vv"]
2023/06/28 18:09:43 DEBUG : Creating backend with remote "mike:/storage/live/mike"
2023/06/28 18:09:43 DEBUG : Using config file from "C:\\Users\\-\\AppData\\Roaming\\rclone\\rclone.conf"
2023/06/28 18:09:44 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: New connection 1----------- to "SSH-2.0-OpenSSH_9.3"
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Shell type "unix" from config
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Using root directory "/storage/live/mike"
2023/06/28 18:09:45 INFO  : sftp://mike@defeque.zone:22//storage/live/mike: poll-interval is not supported by this remote
2023/06/28 18:09:45 DEBUG : Network mode mounting is disabled
2023/06/28 18:09:45 DEBUG : Mounting on "d:\\SSH2" ("mike  storage live mike")
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=mike  storage live mike"]
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Init:
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: >Init:
2023/06/28 18:09:45 DEBUG : /: Statfs:
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Server has VFS statistics extension
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: About path "/storage/live/mike"
2023/06/28 18:09:45 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1953500578 Bfree:580345333 Bavail:580345333 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/06/28 18:09:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/06/28 18:09:45 DEBUG : /: >Getattr: errc=0
2023/06/28 18:09:45 DEBUG : /: Readlink:
2023/06/28 18:09:45 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/06/28 18:09:45 DEBUG : /: Getxattr: name="non-existant---"
2023/06/28 18:09:45 DEBUG : /: >Getxattr: errc=-40, value=""
Cannot set WinFsp-FUSE file system mount point.
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: Destroy:
2023/06/28 18:09:45 DEBUG : sftp://mike@defeque.zone:22//storage/live/mike: >Destroy:
The service rclone has failed to start (Status=c000003a).
2023/06/28 18:09:45 ERROR : sftp://mike@defeque.zone:22//storage/live/mike: Mount failed
2023/06/28 18:10:01 ERROR : mountpoint "d:\\SSH2" didn't became available on mount - continuing anyway
2023/06/28 18:10:01 DEBUG : Not calling host.Unmount as mount already Destroyed
2023/06/28 18:10:01 DEBUG : Unmounted successfully
2023/06/28 18:10:01 ERROR : d:/SSH2: Unmounted rclone mount
2023/06/28 18:10:01 Fatal error: failed to umount FUSE fs: mount failed
@brokedarius
Copy link
Author

It seems to be due to the fact that I am creating that mount on a drive pool when I try to do that on a regular volume it works fine.

How can I remove all the mounts I previously created on that pool, it seems some trace of them is kept since I cannot recreate another with the same name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant