It's my first time doing this.
I have setup 5 remote drives (all Onedrive) and wanting to union all of them and then mount them on my laptop to use as if it's a drive.
I have two issues:
The first being that, I can't seem to see the contents of my first remote after mounting even though it has existing contents in it. I thought about mounting the union remote into my existing OneDrive folder but it seems that's not doable.
The second being that, adding any files to the mounted union drive did not appear to be synced anywhere.
What am I doing wrong please?
Do I need to run rclone sync? or perhaps rclone bisync? But then isn't the remote I created already had the sync built-in?
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.1
os/version: darwin 13.6.6 (64 bit)
os/kernel: 22.6.0 (arm64)
os/type: darwin
os/arch: arm64 (ARMv8 compatible)
go/version: go1.23.1
go/linking: dynamic
go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
You are not showing any data supporting your claims that things do not work.. FYI - I use similar union myself without any issues so definitely it is possible to make it work.
Could you show rclone ls of this content (any small sample will be fine) and then rclone ls of union not listing it?
As a bonus I suggest to use create_policy = mfs instead of default epmfs. Then it always picks up upstream with most free space. Otherwise files can get "clustered" if there are some dirs with a lot of files.
Also consider creating your own client_id for each onedrive remote. It should help with throttling if you transfer a lot of data.
Thank you for your suggestion.
I'll try that option, although after getting your message, I slightly changed my approach with my union remote to this
- type: union
- upstreams: onedrive1:od1 onedrive2:od2 onedrive3:od3 onedrive4:od4 onedrive5:od5
Then I created the directory od1 in my first onedrive account, and directory od2 in the my second onedrive account, and so on.
Finally, I moved all existing files into od1. So performing
I did this so I guess I could easily differentiate where my files "live". Is this a bad idea?
Will create_policy= mfs make a difference with above structure?
This is good approach I use myself. Exactly like you said it allows to clearly define where Union files live. Mfs is always fine IMO when you want multiple remotes act as one and they support “rclone about”. Like OneDrive
Sorry to confuse you.
I wasn't sure what I want to achieve actually, but ideally as I have all this onedrive space to use (around 5tb), I'd like to be able to maximise usage of space not have to sacrifice performance.
One use case I thought of: Store all my photos, videos and any music files onto them and be able to access all of them from any of my mobile devices (iphone, ipad etc) without having to remember which account I've placed the file into.
What you describe sound like union. But then you contradict yourself by saying:
and
So you want to know which drive is which and what is where but still be able to access all using one remote - use combine, where all drive will be accessible via separate virtual directories.
You want to make one BIG remote (containing all your OneDrives) and do not worry what is where - use union.
Thank you kind sir, you have been very patient and very accommodating with all my silly questions so far.
After having a think about it and what you've explained to me, I think I might use union. Reason is I like the idea of using the create_policy=mfs and letting rclone always picks up upstream with most free space.