scropion86
(mohamed Al sayed)
January 17, 2023, 8:26am
1
What is the problem you are having with rclone?
not able to mount scaleway s3 in windows , as after i run the command the drive is not showing like nothing happend.
but when i use GitHub - kapitainsky/RcloneBrowser: Simple cross platform GUI for rclone. Supports macOS, GNU/Linux, BSD family and Windows. and from the GUI i can mount the drive
but i wan't to use rclone cli only
Run the command 'rclone version' and share the full output of the command.
C:\rclone>rclone version
rclone v1.61.1
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.1105 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: cmount
rclone v1.61.1
Which cloud storage system are you using? (eg Google Drive)
Scaleway S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount scaleway: E: -vv --network-mode
The rclone config contents with secrets removed.
[scaleway]
type = s3
access_key_id = SCWQ6XXXXXXXXXXXXXXXQJ9M
endpoint = s3.nl-ams.scw.cloud
provider = Scaleway
region = nl-ams
secret_access_key = 9a53XXXXXXXXXXXXXXXX1dee
A log from the command with the -vv
flag
C:\rclone>rclone mount scaleway: E: -vv --network-mode
2023/01/17 11:12:58 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "scaleway:" "E:" "-vv" "--network-mode"]
2023/01/17 11:12:58 DEBUG : Creating backend with remote "scaleway:"
2023/01/17 11:12:58 DEBUG : Using config file from "C:\\Users\\MohammedLotfy\\AppData\\Roaming\\rclone\\rclone.conf"
2023/01/17 11:12:58 INFO : S3 root: poll-interval is not supported by this remote
2023/01/17 11:12:58 DEBUG : Network mode mounting is enabled
2023/01/17 11:12:58 DEBUG : Mounting on "E:" ("\\server\\scaleway")
2023/01/17 11:12:58 DEBUG : S3 root: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\scaleway"]
2023/01/17 11:12:58 DEBUG : S3 root: Init:
2023/01/17 11:12:58 DEBUG : S3 root: >Init:
2023/01/17 11:12:58 DEBUG : /: Statfs:
2023/01/17 11:12:58 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/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Readlink:
2023/01/17 11:12:58 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/01/17 11:12:58 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/01/17 11:12:58 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Opendir:
2023/01/17 11:12:58 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/01/17 11:12:58 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/01/17 11:12:58 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/01/17 11:12:58 DEBUG : /: Releasedir: fh=0x0
2023/01/17 11:12:58 DEBUG : /: >Releasedir: errc=0
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Opendir:
2023/01/17 11:12:58 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/01/17 11:12:58 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/01/17 11:12:58 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/01/17 11:12:58 DEBUG : /: Releasedir: fh=0x0
2023/01/17 11:12:58 DEBUG : /: >Releasedir: errc=0
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 11:12:58 DEBUG : /: >Getattr: errc=0
2023/01/17 11:12:58 DEBUG : /: Opendir:
2023/01/17 11:12:58 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/01/17 11:12:58 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/01/17 11:12:58 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/01/17 11:12:58 DEBUG : /: Releasedir: fh=0x0
2023/01/17 11:12:58 DEBUG : /: >Releasedir: errc=0
Ole
(Ole Frost)
January 17, 2023, 9:00am
2
Hi mohamed,
What do you see if you try listing your buckets like this:
rclone lsd scaleway:
What do you see if you try listing the content of a bucket like this:
rclone lsf scaleway:somebucket
scropion86
(mohamed Al sayed)
January 17, 2023, 9:01am
3
working as expected
C:\rclone>rclone lsd scaleway:
-1 2020-05-28 12:19:38 -1 mystorage001
C:\rclone>rclone lsf scaleway:mystorage001
Apps/
ISO/
OS Images/
Odoo/
Others/
Ole
(Ole Frost)
January 17, 2023, 9:06am
4
Perfect, what if your try mounting your bucket like this:
rclone mount scaleway:mystorage001 E: -vv --network-mode
and then in another terminal do dir E:\
scropion86
(mohamed Al sayed)
January 17, 2023, 9:12am
5
now working fine i think the bucket is required here and that was the missing part ,
since my original command was rclone mount scaleway: E: -vv --network-mode
without the bucket name mystorage001
thanks for your help , i think if this already added to the Docs might help , but i am not sure that this is the case will all S3 providers or just for scaleway.
Ole
(Ole Frost)
January 17, 2023, 9:19am
6
Great, I remember having seen it somewhere, but can't find it now - perhaps it was in a post like this.
I may be able to give you a few tuning tips, if you tell a bit about what you are using the mount for.
scropion86
(mohamed Al sayed)
January 17, 2023, 9:36am
7
i use it as a backup for important files in My PC
Ole
(Ole Frost)
January 17, 2023, 9:52am
8
Thanks, then I think the defaults are fine, at least as a staring point.
If navigation in Explorer is slow/unresponsive, then try adding --buffer-size=0
scropion86
(mohamed Al sayed)
January 17, 2023, 10:13am
9
i have restarted the PC and the mount is not working anymore
C:\rclone>rclone mount scaleway:mystorage001 E: -vv --network-mode
2023/01/17 13:11:41 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "scaleway:mystorage001" "E:" "-vv" "--network-mode"]
2023/01/17 13:11:41 DEBUG : Creating backend with remote "scaleway:mystorage001"
2023/01/17 13:11:41 DEBUG : Using config file from "C:\\Users\\MohammedLotfy\\AppData\\Roaming\\rclone\\rclone.conf"
2023/01/17 13:11:41 INFO : S3 bucket mystorage001: poll-interval is not supported by this remote
2023/01/17 13:11:41 DEBUG : Network mode mounting is enabled
2023/01/17 13:11:41 DEBUG : Mounting on "E:" ("\\server\\scaleway mystorage001")
2023/01/17 13:11:41 DEBUG : S3 bucket mystorage001: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\scaleway mystorage001"]
2023/01/17 13:11:41 DEBUG : S3 bucket mystorage001: Init:
2023/01/17 13:11:41 DEBUG : S3 bucket mystorage001: >Init:
2023/01/17 13:11:41 DEBUG : /: Statfs:
2023/01/17 13:11:41 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/17 13:11:41 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/01/17 13:11:41 DEBUG : /: >Getattr: errc=0
2023/01/17 13:11:41 DEBUG : /: Readlink:
2023/01/17 13:11:41 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/01/17 13:11:41 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/01/17 13:11:41 DEBUG : /: >Getxattr: errc=-40, value=""
Cannot create WinFsp-FUSE file system.
2023/01/17 13:11:41 DEBUG : S3 bucket mystorage001: Destroy:
2023/01/17 13:11:41 DEBUG : S3 bucket mystorage001: >Destroy:
The service rclone has failed to start (Status=80070050).
2023/01/17 13:11:41 ERROR : S3 bucket mystorage001: Mount failed
2023/01/17 13:11:57 ERROR : mountpoint "E:" didn't became available on mount - continuing anyway
2023/01/17 13:11:57 DEBUG : Not calling host.Unmount as mount already Destroyed
2023/01/17 13:11:57 DEBUG : Unmounted successfully
2023/01/17 13:11:57 ERROR : E:: Unmounted rclone mount
2023/01/17 13:11:57 Fatal error: failed to umount FUSE fs: mount failed
rclone lsd scaleway:
is working fine
C:\Program Files (x86)\WinFsp\bin>fsptool-x64 lsvol
\Device\Volume{2a0a608a-964e-11ed-9908-c809a8fadf2e}\server\scaleway mystorage001
C:\Program Files (x86)\WinFsp\bin>diag
WINFSP INSTALLATION DIRECTORY AND LAUNCHER REGISTRATIONS
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp
InstallDir REG_SZ C:\Program Files (x86)\WinFsp\
WINFSP DLL REGISTRATIONS
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
ProviderOrder REG_SZ WinFsp.Np,RDPNP,P9NP,LanmanWorkstation,webclient
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinFsp.Np\NetworkProvider
Name REG_SZ Windows File System Proxy
ProviderPath REG_SZ C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll
DeviceName REG_SZ \Device\WinFsp.Mup
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\WinFsp
EventMessageFile REG_SZ C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll
TypesSupported REG_DWORD 0x7
WINFSP FSD CONFIGURATION AND STATUS
SERVICE_NAME: WinFsp
TYPE : 2 FILE_SYSTEM_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WinFsp
TYPE : 2 FILE_SYSTEM_DRIVER
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : \??\C:\Program Files (x86)\WinFsp\bin\winfsp-x64.sys
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : WinFsp
DEPENDENCIES :
SERVICE_START_NAME :
D:(A;;LCRP;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
WINFSP LAUNCHER SERVICE CONFIGURATION AND STATUS
SERVICE_NAME: WinFsp.Launcher
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WinFsp.Launcher
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 0 IGNORE
BINARY_PATH_NAME : "C:\Program Files (x86)\WinFsp\bin\launcher-x64.exe"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : WinFsp.Launcher
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
OS INFORMATION
Host Name: OFFICE-LT
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22621 N/A Build 22621
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: MohammedLotfy
Registered Organization:
Product ID: 00330-71406-89743-AAOEM
Original Install Date: 16/01/2023, 1:42:37 AM
System Boot Time: 17/01/2023, 1:03:17 PM
System Manufacturer: HP
System Model: HP Pavilion Laptop 15-cs3xxx
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 126 Stepping 5 GenuineIntel ~1298 Mhz
BIOS Version: Insyde F.18, 01/11/2022
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC+03:00) Kuwait, Riyadh
Total Physical Memory: 16,143 MB
Available Physical Memory: 9,812 MB
Virtual Memory: Max Size: 19,087 MB
Virtual Memory: Available: 10,496 MB
Virtual Memory: In Use: 8,591 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\OFFICE-LT
Hotfix(s): 4 Hotfix(s) Installed.
[01]: KB5020880
[02]: KB5012170
[03]: KB5022303
[04]: KB5020487
Network Card(s): 3 NIC(s) Installed.
[01]: Intel(R) Wireless-AC 9560 160MHz
Connection Name: Wi-Fi
Status: Media disconnected
[02]: Realtek PCIe GbE Family Controller
Connection Name: Ethernet
DHCP Enabled: Yes
DHCP Server: 134.136.40.226
IP address(es)
[01]: 134.136.245.12
[02]: fe80::2903:c1cb:3cbc:feb9
[03]: Bluetooth Device (Personal Area Network)
Connection Name: Bluetooth Network Connection
Status: Media disconnected
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
Ole
(Ole Frost)
January 17, 2023, 10:48am
10
Perhaps your E: drive is already in use (e.g. by another terminal running the same command).
What do you see if you do dir E:\
scropion86
(mohamed Al sayed)
January 17, 2023, 10:59am
11
i am not sure what colud be the issue , but i have restarted and now working.
it seems that Mount and unmount is not working proberly
system
(system)
Closed
January 20, 2023, 11:00am
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.