I’ve had this same issue before, and at that time changing the VFS cache mode from full to writes solved it.
However, now the problem happens regardless of the cache mode — I see the same behavior with both full and writes.
What I did was use Windows Explorer to cut (Ctrl+X) the folder /Downloads/Series/Steal and paste it one level up, resulting in /Downloads/Steal.
With this, the Steal folder was moved, the Season 01 subfolder inside it was also moved, but only 4 out of the 6 files inside the Season 01 folder were transferred.
In Windows Explorer, the folder /Downloads/Series/Steal disappears and does not show up again unless I unmount and mount OneDrive again.
However, using the rclone ls / rclone lsd commands, I can still see the folder in the original location with the files that were not moved.
Even when using a very simple mount configuration (tested with both --vfs-cache-mode fulland--vfs-cache-mode writes):
It’s also worth mentioning that I have already tried reinstalling WinFsp, disabling --network-mode, and changing the drive letter, but none of these made any difference.
I did some more testing and noticed that when I move the folder that contains the files, the log never mentions the files themselves, only the directories — even though part of the files are actually moved.
I’m thinking about this and I’m not entirely sure, but it could be that instead of moving all the files, it is only changing the directory “link” so it doesn’t have to move every file. Since the structure is the same, it just places the folder in a different location.
One test I did (unfortunately I don’t have the log right now) was the following: if I move a folder to another location where that same folder already exists — even if it contains only a single file — it then does move the files one by one.
This made me think that when a folder is moved to a new location, files may not be moved individually. And since I’m using a union with 5 OneDrive remotes, I noticed that the parts that get moved are always the same. For example, if a series has 6 episodes and I move it, it either moves episodes 1–2 or episodes 3–6, but it never interleaves or mixes them — it’s always one group or the other.
Could this be because the files are split across different upstreams, and when the directory is renamed, it only renames the directory on one drive, where only part of the files exist?
I was able to confirm that part of the files that get moved are located on one OneDrive, while the files that remain behind are located on another OneDrive.
So there is definitely an issue related to this behavior. When all the files are located on the same OneDrive, the move works normally.
This confirms that the problem is related to my union remote. If the files share the same folder structure but are spread across different upstreams (even under the same tenant), when I move the folder through Windows Explorer it only reorganizes the files from a single drive.
After unmounting and mounting the remote again (or checking via terminal with rclone ls, rclone move, etc.), the files that were moved and the files that remained both become visible again, and then I can move the remaining files.
Is there any solution for this scenario — where a folder contains files across multiple upstreams and I want to move all of them using Windows Explorer?
Another question: is there a way to prevent files from being placed across different upstreams?
This is my current union configuration:
[Union]
type = union
upstreams = OneDrive01: OneDrive02: OneDrive03: OneDrive04: OneDrive05:
action_policy = mfs
create_policy = mfs