We have mounted a S3 bucket folder as network drive Y:\ . Mount is created by a scheduled task incorporated into the user_data script and runs as "SYSTEM". The mount is created fine and any domain joined user logging into the box are all able to access the "Y:" drive. Now the problem I face is to expose these drives to other computers on the network. Trying to access \\computername\FTDirect [ as per the command below] does not work. Most of the usual windows commands to set a net use / new-smbshare error saying its a redirected resource.
I have not pasted any logs as the mount is created fine.
Am I missing something simple ?
What is your rclone version (output from rclone version)
rclone v1.55.1
os/type: windows
os/arch: amd64
winfsp-1.9.2
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows Server 2016, x64
Which cloud storage system are you using? (eg Google Drive)
AWS S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount "aws-dev:aws-dev/FTDirect" Y: --fuse-flag --VolumePrefix="\%COMPUTERNAME%\FTDirect" --config=C:\Temp\install\shares\rclone.conf
The rclone config contents with secrets removed.
[aws-dev]
type = s3
provider = AWS
region = eu-west-2
location_constraint = eu-west-2
acl = public-read
env_auth = true
Thank you @asdffdsa . I see you are suggesting mount to a folder then share it. Where as I have used the "--fuse-flag --VolumePrefix=" which as per the documentation is similar to using "--network-mode" ? Which should already create a network share that should be accessible ?
Now, when i use this --volumeprefix and end up with the network drive I cannot use the net share / net use, it errors --"The operation is invalid on a redirected resource"
I will try to mount another S3 folder to a local folder and try to share that as per your suggestion.
agreed @asdffdsa . And it looks simpler. I just tried it and I still am not able to share it. Throws "an error occurred while trying to share. The device or directory does not exist" But I can see the mapped drive fine. Digging a bit more now ...