What is the problem you are having with rclone?
I created a union between 2 new remotes. I did not specify any policies, so I assume they got the defaults, which I assume are (per current website docs):
- action_policy = epall
- create_policy = epmfs
- search_policy = ff
I then tried to sync between my local drive and the union. I had 5 directories in my local drive. The first three were called (for example):
- local:/large1
- local:/large2
- local:/small
When the sync occurred, these directories were created:
- gcrypt5:/large1
- gcrypt6:/small
- gcrypt7:/large2
The sync went fine for a while. gcrypt6: ended up with all files from /small, which was fine. Then gcrypt5: and gcrypt7: filled up. I then started getting quota errors and nothing else would sync. Of course, this happened because /large1 files were only being created in the gcrypt5: remote. Once I realized that the policy options were the issue, I changed the policy options to what you can see in the below snippet of my rclone.conf file. Basically, for the union:
- action-policy = all
- create-policy = mfs
- search-policy = ff
I assumed this would solve the problem. However, I still got the same errors when I tried to sync.
However, if I manually create the destination directories in the not-full remotes, then syncing continues fine, and the new files are created in the not-full remotes in the directories I manually created.
As I'm sure you can imagine, this is not ideal.
My questions:
- What is the proper configuration for a union to automatically create directories when they are needed on remotes that have room for more files?
- What did I do wrong?
- Why did I have to manually create the directories?
- Why wasn't switching policies enough?
Thanks!
Run the command 'rclone version' and share the full output of the command.
$ rclone version
rclone v1.62.2-DEV
- os/version: alpine 3.18.2 (64 bit)
- os/kernel: 6.3.5 (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.7
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive(s)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync /some/path videounion:/ -v --links --local-zero-size-links --fast-list --drive-use-trash=false --check-first --delete-before --delete-excluded --transfers 1 --create-empty-src-dirs
The rclone config contents with secrets removed.
[gdrive5]
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
token = REDACTED
team_drive =
use_trash = false
[gcrypt5]
type = crypt
remote = gdrive5:/
filename_encryption = standard
password = REDACTED
password2 = REDACTED
links = true
[gdrive6]
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
team_drive =
token = REDACTED
use_trash = false
[gcrypt6]
type = crypt
remote = gdrive6:/
filename_encryption = standard
password = REDACTED
password2 = REDACTED
links = true
[gdrive7]
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
token = REDACTED
team_drive =
use_trash = false
[gcrypt7]
type = crypt
remote = gdrive7:/
filename_encryption = standard
password = REDACTED
password2 = REDACTED
links = true
[videounion]
type = union
upstreams = gcrypt5:/ gcrypt6:/ gcrypt7:/
action-policy = all
create-policy = mfs
search-policy = ff
A log from the command with the -vv
flag
Unfortunately, I do not have a -vv log because I manually fixed the issue.
Is it possible to answer this without it? If not, I will undo my most recent sync and try again.