Hi,
I use
C:\rclone\rclone mount oliver:oliver/ U:\ --volname S3
to mount an S3 bucket as network drive. I found this command in a thread from 2018. Is this still the preferred way to do this?
Best regards,
Oliver
Hi,
I use
C:\rclone\rclone mount oliver:oliver/ U:\ --volname S3
to mount an S3 bucket as network drive. I found this command in a thread from 2018. Is this still the preferred way to do this?
Best regards,
Oliver
hello and welcome to the forum,
as i understand it and based on testing,
--volname S3
does not
create a network share,
--volname \\server\share
does create a network share,
can always force network mode and volume name using
--network-mode --volname S3
these can be seen to ways
--vv
to the command.net use
from the command line,for example,
for the command
rclone mount wasabi01:zork z: -vv --volname S3
as part of the debug output would see
DEBUG : Network mode mounting is disabled
for the command
rclone mount wasabi01:zork z: -vv --volname \\server\share
as part of the debug output would see
DEBUG : Network mode mounting is enabled
for the command, net use
the command line output would be
Status Local Remote Network
-------------------------------------------------------------------------------
Z: \\server\share WinFsp.Np
Thank you very much for the fast and helpful reply. Indeed, my command mounted the bucket but not in network mode. I modified it to
C:\rclone\rclone mount oliver:oliver/ U:\ --volname S3 --vfs-cache-mode full --network-mode -vv
Does the other version
--volname \\server\share
offer any advantage?
yes, --volname
allows to change \\server\share
.
note: if the volume name, such as \\server\share
, UNC format, then rclone forces network mode,
so no need for --network-mode
.
that can be seen in the rclone debug output
rclone mount wasabi01:zork z: --volname=\\custom.name\share -vv
DEBUG : rclone: Version "v1.58.0" starting with parameters ["c:\\data\\rclone\\rclone.exe" "mount" "wasabi01:zork" "z:" "--volname=\\\\custom.name\\share" "-vv"]
DEBUG : Forcing network mode due to network share (UNC) volume name
DEBUG : Network mode mounting is enabled
DEBUG : Mounting on "z:" ("\\custom.name\\share")
Although the S3 bucket is now mounted as a network drive I cannot make it "always available offline". The option is not available in he context menu although I have activated offline files in the control panel.
This is something that would have to be handled by the WinFsp library behind rclone's mount feature on Windows, which I'm not sure it does currently. Unable to find much information regarding this, except the following issue, which although is not for the WinFsp Library itself is for a utility by the same author built on top of it, so same conclusion probably applies: Don't know
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.