Rclone mount of Onedrive is very slow reading and writing

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

```
Rclone mount of Onedrive is very slow reading and writing
```

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

sh -c "rclone --cache-db-purge --ignore-size --ignore-checksum --vfs-cache-mode writes mount OneDrive-9700: ~/OneDrive-9700"

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

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

```
sh -c "rclone --cache-db-purge --ignore-size --ignore-checksum --vfs-cache-mode =full mount OneDrive-9700: ~/OneDrive-9700"
```

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

```
[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business

[OneDrive-9700]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary

[OneDrive-Ofar]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business

[oi]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary
```

A log from the command that you were trying to run with the -vv flag

Paste  log here

hi,

please post the output of rclone version


you posted two different commands??


need to use a debug log and look for issues, such as ERROR, pacer, retries` and so on.


does nothing, can remote that.

rclone verion is rclone v1.71.0

the correct command used is:
sh -c "rclone --cache-db-purge --ignore-size --ignore-checksum --vfs-cache-mode writes mount OneDrive-9700: ~/OneDrive-9700"

Regarding the log, not sure how I use a -vv flag, can not see a reference in rclone --help for this flag


that is an old version, can rclone selfudate and test again.


does nothing, remove it


add the flag to the command for debug output

rclone-command.log (251.2 KB)

rclone version is now v1.72.0

seems to behaving better…. but alot of stuff in the log I don’t understand :slight_smile:

2025/12/03 15:28:33 DEBUG : 01-Sala/Birgjar/IBM/Viðburðir/Nóvember 2025/Eftirfylgni-hubspot-form-submissions-ofar-contact-form-lego-2025-11-18.xlsx: Starting multipart upload
2025/12/03 15:28:34 DEBUG : pacer: low level retry 10/10 (error HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2025/12/03 15:28:34 DEBUG : pacer: Rate limited, increasing sleep to 2s

i thnk this is a known issue, with a known workaround.
https://rclone.org/onedrive/#replacing-deleting-existing-files-on-sharepoint-gets-item-not-found

so add --backup-dir mysharepoint:rclone-backup-dir to my rclone command ?

or

is mysharepoint supposed to be replaced with some sharepoint address ?

and

does rclone-backup-dir need to be created beforehand or ?

not sure that works with rclone mount

when using rclone mount, not sure what the solution is, assuming there is a solution.

I tried adding –backup-dir to the rclone mount, it did not complain and started but I can not see it making any difference. Not sure about the value to use for –backup-dir, does not seem to matter what I use as the value after –backup-dir

sh -c "rclone --backup-dir OneDrive-9700:/OneDrive-9700/rclone-backup-dir --ignore-size --ignore-checksum --vfs-cache-mode writes mount OneDrive-9700: ~/OneDrive-9700"

Still slow reading and writing to Onedrive.

I started rclone in a shell from command line and I am getting the same errors to stdout:

2025/12/04 11:07:28 NOTICE: 03-S Drif/Vendors/Products/Hugbunadur/Microsoft/Fyrirtækjasamningar/Þjóðskrá/Þjóðskrá_Nyherji_070414_EES.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{"error":{"code":"itemNotFound","message":"The upload session was not found"}}")
2025/12/04 11:07:31 NOTICE: 03-S Drif/Vendors/Products/Midlaegur bunadur/Fortinet/Configurator/Tilboð Xls/Origo-FG-300E-CTAP-25-03-19.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{"error":{"code":"itemNotFound","message":"The upload session was not found"}}")

that does not look valid. post the top thirty lines of the debug log.
The backup directory must not overlap the destination directory

rclone-command.log (5.1 KB)

no errors in that debug log snippet

here is a little longer log

rclone-command.log (138.4 KB)

Try to bind to ipv4 with--bind 0.0.0.0 since ms doesnt Like ipv6 peering.

One Drive is very restrictive with their API usage offer. Sooner or later you will have to Set --tpslimit 2 to avoid pacers.

Also have a Look Here