What is the problem you are having with rclone?
After mounting azure file share using latest rclone product rclone v1.68.1 on RHEL 7.9 o.s, basic file navigation commands do not work. Get error of
ls: reading directory .: Input/output error
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.1
- os/version: redhat 7.9 (64 bit)
- os/kernel: 3.10.0-1160.119.1.el7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: none
Yes
Which cloud storage system are you using? (eg Google Drive)
Azure File Shares
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount azure-files: /mnt/temp2
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[azure-files]
type = azurefiles
account = XXX
share_name = linux-fileshare
tenant = XXX
client_id = XXX
client_secret = XXX
A log from the command that you were trying to run with the -vv
flag
2024/10/28 16:20:59 DEBUG : /: ReadDirAll:
2024/10/28 16:20:59 DEBUG : : Dir.ReadDirAll error: GET https://app000068405a0prhnc180.file.core.windows.net/linux-fileshare/
--------------------------------------------------------------------------------
RESPONSE 400: 400 An HTTP header that's mandatory for this request is not specified.
ERROR CODE: MissingRequiredHeader
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><Error><Code>MissingRequiredHeader</Code><Message>An HTTP header that's mandatory for this request is not specified.
RequestId:023f18ce-901a-0008-4c7f-29b9f4000000
Time:2024-10-28T21:20:58.7122750Z</Message><HeaderName>x-ms-file-request-intent</HeaderName></Error>
--------------------------------------------------------------------------------
2024/10/28 16:20:59 ERROR : IO error: GET https://app000068405a0prhnc180.file.core.windows.net/linux-fileshare/
--------------------------------------------------------------------------------
RESPONSE 400: 400 An HTTP header that's mandatory for this request is not specified.
ERROR CODE: MissingRequiredHeader
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><Error><Code>MissingRequiredHeader</Code><Message>An HTTP header that's mandatory for this request is not specified.
RequestId:023f18ce-901a-0008-4c7f-29b9f4000000
Time:2024-10-28T21:20:58.7122750Z</Message><HeaderName>x-ms-file-request-intent</HeaderName></Error>
--------------------------------------------------------------------------------
2024/10/28 16:20:59 DEBUG : /: >ReadDirAll: item=-1, err=GET https://app000068405a0prhnc180.file.core.windows.net/linux-fileshare/
--------------------------------------------------------------------------------
RESPONSE 400: 400 An HTTP header that's mandatory for this request is not specified.
ERROR CODE: MissingRequiredHeader
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><Error><Code>MissingRequiredHeader</Code><Message>An HTTP header that's mandatory for this request is not specified.
RequestId:023f18ce-901a-0008-4c7f-29b9f4000000
Time:2024-10-28T21:20:58.7122750Z</Message><HeaderName>x-ms-file-request-intent</HeaderName></Error>
--------------------------------------------------------------------------------