Rclone union, understand how to

What is the problem you are having with rclone?

I have 2 remotes, but no way to config in the right way, with rclone union

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

rclone v1.69.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 6.8.12-6-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.4
  • go/linking: static
  • go/tags: none

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

Webdav, private nas over wan.

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


rclone mount NAS_WEBDAV_UNION:/ /mnt/NAS --config=/root/rclone/rclone.conf --cache-dir=/home/rclone/cache --allow-other --vfs-cache-max-age 48h --vfs-cache-max-size=4G --vfs-cache-mode=full --vfs-read-chunk-size=256M --vfs-read-chunk-size-limit=512M --read-only --buffer-size 256M

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

root@PLEX:~# cat rclone/rclone.conf
[NAS_WEBDAV_2]
type = webdav
url = http://192.168.178.199:5000
vendor = other
user = Rob
pass = hia
pacer_min_sleep = 0ms

[NAS_WEBDAV]
type = webdav
url = http://192.168.178.99:5000
vendor = other
user = Rob
pass = hia
pacer_min_sleep = 0ms

[NAS_WEBDAV_UNION]
type = union
upstreams = NAS_WEBDAV:TEMP1, NAS_WEBDAV:TEMP2, NAS_WEBDAV:ex60, NAS_WEBDAV_2:

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

ls /mnt/NAS
I can see only NAS_WEBDAV_2's folders, but I must to see:

/mnt/NAS/TEMP1
/mnt/NAS/TEMP2
/mnt/NAS/ex60
/mnt/NAS/NAS_WEBDAV_2

I don't understand where is my mistake, I tried also to use chatgpt before to open this thread, but no success.



RTFM:slight_smile:

upstreams = NAS_WEBDAV:TEMP1 NAS_WEBDAV:TEMP2 NAS_WEBDAV:ex60 NAS_WEBDAV_2:

thanks, but I wish to have under /mnt/NAS, the folders from thwese 2 remotes.

like
/mnt/NAS/TEMP1
/mnt/NAS/TEMP2
/mnt/NAS/ex60
/mnt/NAS/NAS_WEBDAV_2

but i have in this way, inside /mnt/NAS/, all files and folders that are inside TEMP1 TEMP2, ex60 and NAS_WEBDAV_2, and not the folder like above, with files inside.

How can i do this ?

Then you do not need union but combine:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.