Unexpected results when mounting Azure Blob on Windows

What is the problem you are having with rclone?

Mounting azure blob from o/s level at startup.

server in question is given contributor and storage blob contributor access at blob level

When mounting at startup, user with admin creates folder, 4 appear

When the same script is run in command windows (with admin privelege), normal behavior is observed except when processes (outside of user processes) attempt to delete file and recreate, file goes to 0 bytes then after a bit of time disappears, update does not occur.

Run the command 'rclone version' and share the full output of the command.

looks like 1.6.1 is latest

Which cloud storage system are you using? (eg Google Drive)

Azure Blob Storage

The command you were trying to run (eg rclone copy /tmp remote:tmp)

startup.bat
d:
cd \rclone
echo "starting rclone mount" >> start.txt
start "" rclone mount --no-console facets-store:facets j: --log-file start.txt --log-level DEBUG

running in windows command shell only:
rclone mount facets-store:facets j: --log-file start.txt --log-level

The rclone config contents with secrets removed.

[facets-store]
type = azureblob
account = << REDACTED >>
use_msi = true

A log from the command with the -vv flag

2023/01/16 11:53:54 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "mount" "--no-console" "facets-store:smbtest" "j:" "--log-file" "start.txt" "--log-level" "DEBUG"]
2023/01/16 11:53:54 DEBUG : Creating backend with remote "facets-store:smbtest"
2023/01/16 11:53:54 DEBUG : Using config file from "D:\\rclone\\rclone.conf"
2023/01/16 11:53:54 DEBUG : Azure container smbtest: Token refresher called.
2023/01/16 11:53:54 DEBUG : Azure container smbtest: Acquired new token that expires at 2023-01-17 16:57:57 +0000 UTC; refreshing in 82982 s
2023/01/16 11:53:54 INFO  : Azure container smbtest: poll-interval is not supported by this remote
2023/01/16 11:53:54 DEBUG : Network mode mounting is disabled
2023/01/16 11:53:54 DEBUG : Mounting on "j:" ("facets-store smbtest")
2023/01/16 11:53:54 DEBUG : Azure container smbtest: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=facets-store smbtest"]
2023/01/16 11:53:54 DEBUG : Azure container smbtest: Init:
2023/01/16 11:53:54 DEBUG : Azure container smbtest: >Init:
2023/01/16 11:53:54 DEBUG : /: Statfs:
2023/01/16 11:53:54 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/01/16 11:53:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/16 11:53:54 DEBUG : /: >Getattr: errc=0
...skipping...
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=-2
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Mkdir: mode=0700
2023/01/18 07:55:07 DEBUG : : Added virtual directory entry vAddDir: "New folder"
2023/01/18 07:55:07 DEBUG : /New folder: >Mkdir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Chown: uid=544, gid=1049089
2023/01/18 07:55:07 DEBUG : /New folder: >Chown: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxr
wx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxr
wx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxr
wx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxr
wx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder: Opendir:
2023/01/18 07:55:07 DEBUG : /New folder: OpenFile: flags=O_RDONLY, perm=-rwxrwxr
wx
2023/01/18 07:55:07 DEBUG : /New folder: >OpenFile: fd=New folder/ (r), err=<nil
>
2023/01/18 07:55:07 DEBUG : /New folder: >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder: >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=-2
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Mkdir: mode=0700
2023/01/18 07:55:07 DEBUG : : Added virtual directory entry vAddDir: "New folder
 (2)"
2023/01/18 07:55:07 DEBUG : /New folder (2): >Mkdir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Opendir:
2023/01/18 07:55:07 DEBUG : /New folder (2): OpenFile: flags=O_RDONLY, perm=-rwx
rwxrwx
2023/01/18 07:55:07 DEBUG : /New folder (2): >OpenFile: fd=New folder (2)/ (r),
err=<nil>
2023/01/18 07:55:07 DEBUG : /New folder (2): >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder (2): Chown: uid=544, gid=1049089
2023/01/18 07:55:07 DEBUG : /New folder (2): >Chown: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder (2): >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /: >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Opendir:
2023/01/18 07:55:07 DEBUG : /New folder (2): OpenFile: flags=O_RDONLY, perm=-rwx
rwxrwx
2023/01/18 07:55:07 DEBUG : /New folder (2): >OpenFile: fd=New folder (2)/ (r),
err=<nil>
2023/01/18 07:55:07 DEBUG : /New folder (2): >Opendir: errc=0, fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder (2): Releasedir: fh=0x2
2023/01/18 07:55:07 DEBUG : /New folder (2): >Releasedir: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/18 07:55:07 DEBUG : /New folder (2): >Getattr: errc=0
2023/01/18 07:55:07 DEBUG : /New folder (2): Opendir:
2023/01/18 07:55:07 DEBUG : /New folder (2): OpenFile: flags=O_RDONLY, perm=-rwx
truncated due to posting limitations

Hi Matt,

Sounds like you may experience a variation of this issue:

I therefore suggest you try the latest beta where the above is fixed.

Some of the symptoms also points to this issue:

I therefore suggest you try adding --network-mode to your command when testing the above beta.

hello and welcome to the forum,

the issue of the 4 appear with a mount, i remember that was discussed a while back, maybe on github issue.
i will try to find the specific topic.

what is the version of winfsp is used?

edit: here it is
https://forum.rclone.org/t/rclone-mount-as-nssm-service-and-permissions/16200

1 Like

@ncw Maybe we should consider always mounting with --network-mode in Windows and change that flag to be --no-network-mode or something like that? (so it's opt-out instead of opt-in)

Well spotted!

Can somebody with better Windows mount knowledge than me tell if this situation is prevented/discouraged in the docs:
https://rclone.org/commands/rclone_mount/#installing-on-windows
https://rclone.org/commands/rclone_mount/#mounting-modes-on-windows
https://rclone.org/commands/rclone_mount/#windows-filesystem-permissions
https://rclone.org/commands/rclone_mount/#windows-caveats

Otherwise, I think it it needs to be added somehow. It seems like a fix (if possible) will take a long time.

Does that fix the OP's problem?

We can change the default to true and the user can specify --network-mode=false easily enough.

All,
Thanks for the great replies. Here is what I will try (ensuring i encompass all replies)

Download beta v1.58.0-beta.5833.5c646dff9
incorporate --network-mode false
fsp version we are using - winfsp-1.12.22301.msi this looks to be the latest
also from the link provided, will also try rclone mount .... -o uid=65792,gid=544

Lets see where this goes, will certainly update the team. If we can make this work, we have a huge business problem solved!!!

You should take the beta named "rclone-beta-latest-... " at the bottom, I guess this is the right one for you:
https://beta.rclone.org/rclone-beta-latest-windows-amd64.zip

Seems like you were confused by our little talk about changing the default to true, you should add --network-mode true, --network-mode=true or just --network-mode (setting an implicit true).

This will make rclone tell Windows that it is a networked drive where longer response times should be expected relative to a local disk.

Correct!

Looks sensible, but I don't have enough knowledge/experience to tell for sure.

@ferferga @ncw

It is my understanding that rclone already defaults --network-mode=true when specifying a full UNC path like this:

rclone mount remote:path/to/files \\cloud\remote
rclone mount remote:path/to/files * --volname \\cloud\remote

How about extending this to defaulting --network-mode=true when mounting to anything else than a directory (where --network-mode=true would fail)? That is in these situations:

rclone mount remote:path/to/files *
rclone mount remote:path/to/files X:
rclone mount remote:path/to/files \\cloud\remote

If this saves problems for the users - seems like a good idea. @albertony put this code in - what do you think?

Not following; do you (and @Ole) say that --network-mode does not work when mounting on drive letter?

rclone currently defaults to --network-mode=false when used like this (without any UNC path):

rclone mount remote:path/to/files *
rclone mount remote:path/to/files X:

I guess it would be better to default to --network-mode=true when mapped to * or a drive letter, but haven't considered all the pros/cons or details - at this point, just a thought to be considered to improve the user experience.

Sorry if adding to the confusion. But if i initially mount to a drive letter does that mean that UNC is not viable? And alternatively, (If doc exists on UNC method of access, please point me in that direction), if i wanted to reference a rclone mounted storage location as a UNC path, is that possible?
Thus far its only been leveraging drive letter but UNC pathing capability would add to the versatility of the solutions this product will resolve for us.

Ok, so a suggestion for improving the default.

I've been wanting to fully understand the practical difference between --network-mode true and false for years... :confused: I'm not a heavy user of mount myself, but my impression is that many (at least in the past) keep it false and have a mount that is working fine, and say it does not have any effect if they try with it true, while at the same time it is typically suggested as one of several "fixes" for different vague issues, often "slow mount", with no real conclusion whether this was something that made a difference in the end.. Arguments I've seen (from memory and old notes):

Personally I have nothing against making it a new default, but I can't say it will not have downsides, or what those would be... If we had some statistics or votes from Windows mount users it would help. But in the end, I would probably have to say I'm >50% pro.. :woozy_face:

I'm convinced by that list above that true should be the default. Not creating thumbnails is a huge win when browsing a directory with lots of media and that is a problem I have first hand experience with (not on Windows though!).

If you mean accessing the mount on one computer from other computers on the network, I think the typical trick is to mount to a directory and then share the parent of that directory on your network. Don't know, but think this is the only way...

yes, that is what i do

Ok friends. An update. By updating the version of the rclone product to the latest beta, and including --network-mode and -o uid=65792,gid=544 that seems to have at least alleviated the access issue and the multiple directory creation vs just the one. I will be working with the team today on the install of their product to see if that then gives us the entire solution, but the help here has been extremely appreciated! Please keep this open as I may be back with other interesting opportunities, but so far so good!

1 Like

so unfortunately, we hit a snag in that my demo environment worked, but the actual environment (same build / version /etc) somehow is different and has same issue. In the interest in time, we are pursuing (ick) DFS. But my counter approach is to join the storage to our local domain in the hopes that line of site makes things align better.

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