I'm trying to do a mirror from Onedrive to my network NAS (Synology). The Onedrive account has over 500,000 files. I am using a software called cloudmounter to mount as a drive letter with the OneDrive files since I have so many, the windows client gets stuck or takes forever to sync with Microsoft.
When I try to copy certain files, FreeFileSync gives me some errors such as this one:
Creating file "Y:\OneDrive\IOSF\Station 5\Art_Assets\Assorted_Assets\Textures\road_surfaces - texture pack volume 2\Road_0014_bump.jpg"
6:05:50 AM Error: Cannot copy file
"Z:\XXX USA\INTER-OFFICE SHARED FILES\Station 5\Art_Assets\Assorted_Assets\Textures\road_surfaces - texture pack volume 2\Road_0014_bump.jpg" to
"Y:\OneDrive\IOSF\Station 5\Art_Assets\Assorted_Assets\Textures\road_surfaces - texture pack volume 2\Road_0014_bump-7574.ffs_tmp".
ERROR_INTERNAL_ERROR: An internal error occurred. [CopyFileEx]
The only way to copy it is to go to the web (onedrive.com), and download the file directly, then copy it to the network drive. That seems to work and it's weird that it would work that way but doesn't work with I try to sync it.
Receiving error copying from Onedrive to a local network drive
- Posts: 2
- Joined: 15 Jul 2025
- Posts: 162
- Joined: 5 Jan 2024
Hi,
Did you buy cloudmounter or are you using the trial?
There is a free utility that can mount with read write caching and might work better for you.
It's an app called rclone. Use the flag
--vfs-cache-mode full
When doing the mount.
I use it with ffs every day.
Did you buy cloudmounter or are you using the trial?
There is a free utility that can mount with read write caching and might work better for you.
It's an app called rclone. Use the flag
--vfs-cache-mode full
When doing the mount.
I use it with ffs every day.
- Posts: 2
- Joined: 15 Jul 2025
Nice, let me try it out. When it caches to sync, does it eat up all the hard drive space? I'm using a laptop with a 250GB SSD but the size of the folders add up, I ran out of space with cloudmounter and had to clear the cache every so often. Cloudmounter has a full fledged 14 day demo that I use but if rclone is better, I'll give that a try.Hi,
Did you buy cloudmounter or are you using the trial?
There is a free utility that can mount with read write caching and might work better for you.
It's an app called rclone. Use the flag
--vfs-cache-mode full
When doing the mount.
I use it with ffs every day. John1234, 15 Jul 2025, 22:31
Do you just use the CLI or gui for rclone?
- Posts: 162
- Joined: 5 Jan 2024
Hi,
I use the command line interface but I also combine that with a program called NSSM which lets me create a Windows service so that it mounts the drive when Windows boots.
If you would like the graphical user interface I would recommend the free version that's available from here:
Https://rcloneview.com
The caching should not overwhelm your PC and there are parameters that you can add to restrict how much storage space it uses.
Here is the information you need.
In `rclone`, the `--vfs-cache-mode` flag controls how the VFS (Virtual File System) cache behaves, but it doesn't directly restrict the storage space used by the cache. To limit the cache size, you need to use additional flags that control cache eviction and maximum storage usage.
### Key Parameters to Restrict VFS Cache Storage:
1. **`--vfs-cache-max-size`**
- Sets the **maximum size** of the cache on disk (e.g., `10G`, `500M`).
- Example: `--vfs-cache-max-size 5G` (limits cache to 5 GB).
- When the cache exceeds this limit, `rclone` will purge the oldest files.
2. **`--vfs-cache-max-age`**
- Defines the **maximum time** a cached file is kept (e.g., `24h`, `7d`).
- Example: `--vfs-cache-max-age 48h` (deletes files older than 48 hours).
- Helps prevent stale files from occupying space indefinitely.
3. **`--vfs-cache-mode`** (Determines caching behavior)
- `off` → No caching (avoids storage use but may slow down operations).
- `minimal` → Caches only metadata and recently read files.
- `writes` → Caches files opened for write/upload.
- `full` → Caches both reads and writes aggressively (uses more space).
### Example Command with Cache Restrictions:
```sh
rclone mount remote:path /mnt/mountpoint \
--vfs-cache-mode full \
--vfs-cache-max-size 10G \
--vfs-cache-max-age 7d \
--vfs-read-ahead 64M
```
- This configures a `full` cache mode but limits it to **10 GB** and purges files older than **7 days**.
### Additional Tuning:
- **`--vfs-read-ahead`**: Buffers more data ahead of reads (can increase cache usage).
- **`--vfs-fast-fingerprint`**: Speeds up cache checks but may use more memory.
### How Cache Eviction Works:
- When `--vfs-cache-max-size` is reached, `rclone` deletes the **least recently used (LRU)** files first.
- `--vfs-cache-max-age` ensures old files don’t linger even if space is available.
For strict control, combine these flags based on your storage limits and performance needs. Check `rclone mount --help` for more details.
I use the command line interface but I also combine that with a program called NSSM which lets me create a Windows service so that it mounts the drive when Windows boots.
If you would like the graphical user interface I would recommend the free version that's available from here:
Https://rcloneview.com
The caching should not overwhelm your PC and there are parameters that you can add to restrict how much storage space it uses.
Here is the information you need.
In `rclone`, the `--vfs-cache-mode` flag controls how the VFS (Virtual File System) cache behaves, but it doesn't directly restrict the storage space used by the cache. To limit the cache size, you need to use additional flags that control cache eviction and maximum storage usage.
### Key Parameters to Restrict VFS Cache Storage:
1. **`--vfs-cache-max-size`**
- Sets the **maximum size** of the cache on disk (e.g., `10G`, `500M`).
- Example: `--vfs-cache-max-size 5G` (limits cache to 5 GB).
- When the cache exceeds this limit, `rclone` will purge the oldest files.
2. **`--vfs-cache-max-age`**
- Defines the **maximum time** a cached file is kept (e.g., `24h`, `7d`).
- Example: `--vfs-cache-max-age 48h` (deletes files older than 48 hours).
- Helps prevent stale files from occupying space indefinitely.
3. **`--vfs-cache-mode`** (Determines caching behavior)
- `off` → No caching (avoids storage use but may slow down operations).
- `minimal` → Caches only metadata and recently read files.
- `writes` → Caches files opened for write/upload.
- `full` → Caches both reads and writes aggressively (uses more space).
### Example Command with Cache Restrictions:
```sh
rclone mount remote:path /mnt/mountpoint \
--vfs-cache-mode full \
--vfs-cache-max-size 10G \
--vfs-cache-max-age 7d \
--vfs-read-ahead 64M
```
- This configures a `full` cache mode but limits it to **10 GB** and purges files older than **7 days**.
### Additional Tuning:
- **`--vfs-read-ahead`**: Buffers more data ahead of reads (can increase cache usage).
- **`--vfs-fast-fingerprint`**: Speeds up cache checks but may use more memory.
### How Cache Eviction Works:
- When `--vfs-cache-max-size` is reached, `rclone` deletes the **least recently used (LRU)** files first.
- `--vfs-cache-max-age` ensures old files don’t linger even if space is available.
For strict control, combine these flags based on your storage limits and performance needs. Check `rclone mount --help` for more details.