Make rclone work as a RAID 1

What problem are you having with rclone?

I want to make a Union setup work with 7 Google Drive as RAID 1

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

rclone v1.59.1
- OS/version: Ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-1021-oracle (aarch64)
- operating system/type: linux
- os/arch: arm64
- go/version: go1.18.5
- go/linking: static
- go/tags: none

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

Google Drive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

elly@jellyfin2:~$ rclone lsd jelly-uniao
jelly@jellyfin2:~$ rclone mkdir jelly-uniao:/aaa
2022/10/30 00:25:32 AVISO: O Espaço Livre não é suportado para cripta de início de geléia upstream, tratando como infinito
2022/10/30 00:25:32 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-01-crypt, tratando como infinito
2022/10/30 00:25:33 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-02-crypt, tratando como infinito
2022/10/30 00:25:33 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-03-crypt, tratando como infinito
2022/10/30 00:25:33 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-04-crypt, tratando como infinito
2022/10/30 00:25:33 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-05-crypt, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para a cripta de início de geléia upstream, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-01-crypt, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-02-crypt, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-03-crypt, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-04-crypt, tratando como infinito
2022/10/30 00:25:35 AVISO: O Espaço Livre não é suportado para upstream bkp-jelly-05-crypt, tratando como infinito
jelly@jellyfin2:~$ rclone lsd jelly-uniao:
          -1 2022-10-30 00:25:34 -1 aaa

The contents of the rclone configuration with the secrets removed.

[começo de gelatina]
tipo = unidade
client_id = XXX
cliente_secret =
escopo = unidade
token = {"access_token":"XXX"}
team_drive = XXX
root_folder_id =

[bkp-jelly-01]
tipo = unidade
client_id = XXX
client_secret = XXX
escopo = unidade
token = {access_token":"XXX"}
team_drive = XXX
root_folder_id =

[bkp-jelly-02]
tipo = unidade
client_id = XXX
client_secret = XXX
escopo = unidade
token = {access_token":"XXX"}
team_drive = XXX
root_folder_id =

[bkp-jelly-03]
tipo = unidade
client_id = XXX
escopo = unidade
token = {access_token":"XXX"}
team_drive = XXX
root_folder_id =

[bkp-jelly-04]
tipo = unidade
client_id = XXX
client_secret = XXX
escopo = unidade
token = {access_token":"XXX"}
root_folder_id =

[bkp-jelly-05]
tipo = unidade
client_id = XXX
client_secret = XXX
escopo = unidade
token = {access_token":"XXX"}
root_folder_id =

[bkp-jelly-06]
tipo = unidade
client_id = XXX
client_secret = XXX
escopo = unidade
token = {access_token":"XXX"}
root_folder_id =

[jelly-start-crypt]
type = crypt
remote = jelly-start:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-01-crypt]
type = crypt
remote = bkp-jelly-01:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-02-crypt]
type = crypt
remote = bkp-jelly-02:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-03-crypt]
type = crypt
remote = bkp-jelly-03:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-04-crypt]
type = crypt
remote = bkp-jelly-04:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-05-crypt]
type = crypt
remote = bkp-jelly-05:/
password = SENHA1
password2 = SENHA2

[bkp-jelly-06-crypt]
type = crypt
remote = bkp-jelly-06:/
password = SENHA1
password2 = SENHA2

A log from the command with the -vv flag

jelly@jellyfin2:~$ rclone -vv mkdir jelly-uniao:/aaa
2022/10/30 00:45:01 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "-vv" "mkdir" "jelly-uniao:/aaa"]
2022/10/30 00:45:01 DEBUG : Creating backend with remote "jelly-uniao:/aaa"
2022/10/30 00:45:01 DEBUG : Using config file from "/home/jelly/.config/rclone/rclone.conf"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-06-crypt"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-02-crypt:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-05-crypt:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-01-crypt:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-03-crypt:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-04-crypt:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "jelly-start-crypt:"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-06-crypt" to be canonical "/home/jelly/bkp-jelly-06-crypt"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-06-crypt/aaa"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-06-crypt/aaa" to be canonical "/home/jelly/bkp-jelly-06-crypt/aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-05:/"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-05:/" to be canonical "bkp-jelly-05:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-05-crypt:aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-04:/"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-04:/" to be canonical "bkp-jelly-04:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-03:/"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-04-crypt:aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "jelly-start:/"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "jelly-start:/" to be canonical "jelly-start:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "jelly-start-crypt:aaa"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-03:/" to be canonical "bkp-jelly-03:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-03-crypt:aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-01:/"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-01:/" to be canonical "bkp-jelly-01:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-01-crypt:aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-02:/"
2022/10/30 00:45:01 DEBUG : fs cache: renaming cache item "bkp-jelly-02:/" to be canonical "bkp-jelly-02:"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-02-crypt:aaa"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk"
2022/10/30 00:45:01 DEBUG : Creating backend with remote "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8" to be canonical "bkp-jelly-04:u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8" for canonical name "bkp-jelly-04:u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg" to be canonical "bkp-jelly-01:ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg" for canonical name "bkp-jelly-01:ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c" to be canonical "jelly-start:2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c" for canonical name "jelly-start:2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o" to be canonical "bkp-jelly-03:7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o" for canonical name "bkp-jelly-03:7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k" to be canonical "bkp-jelly-02:drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k" for canonical name "bkp-jelly-02:drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk" to be canonical "bkp-jelly-05:7fora0b7j3l094o3v2b3inrutk"
2022/10/30 00:45:02 DEBUG : fs cache: switching user supplied name "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk" for canonical name "bkp-jelly-05:7fora0b7j3l094o3v2b3inrutk"
2022/10/30 00:45:02 DEBUG : union root 'aaa': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF
2022/10/30 00:45:02 DEBUG : fs cache: renaming cache item "jelly-uniao:/aaa" to be canonical "jelly-uniao:aaa"
2022/10/30 00:45:02 DEBUG : union root 'aaa': Making directory
2022/10/30 00:45:02 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:02 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:02 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:02 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:02 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:02 DEBUG : Google drive root '': read info from Shared Drive "Jelly Start"
2022/10/30 00:45:03 DEBUG : Google drive root '': read info from Shared Drive "Jelly Start"
2022/10/30 00:45:03 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 00:45:03 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 01"
2022/10/30 00:45:03 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 00:45:03 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 02"
2022/10/30 00:45:03 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 00:45:03 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 03"
2022/10/30 00:45:03 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 00:45:04 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 04"
2022/10/30 00:45:04 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 00:45:04 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 05"
2022/10/30 00:45:04 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 00:45:05 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:05 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:05 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:05 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:06 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 00:45:06 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 00:45:06 DEBUG : 26 go routines active

What do you want to happen? A raid 1 is mirrored drives so you'd need 8 :slight_smile:

I want to have all the drives mounted in union, copy something, remove, modify something in one syncs in all drives, and the one with the best disposition delivers the file, but keeping everything synced the content you have in one Drive will have in all

Looks like the "jelly-uniao:" remote is missing from your rclone.conf you've shared. What is that?

End of rclone.conf file

[jelly-uniao]
type = union
upstreams = jelly-start-crypt: bkp-jelly-01-crypt: bkp-jelly-02-crypt: bkp-jelly-03-crypt: bkp-jelly-04-crypt: bkp-jelly-05-crypt: bkp-jelly-06-crypt

You may be missing a : at the end of bkp-jelly-06-crypt.

Try upgrading to v1.60 and you will see a warning that bkp-jelly-06-crypt is a local folder.

1 Like

[jelly-uniao]
type = union
upstreams = jelly-start-crypt: bkp-jelly-01-crypt: bkp-jelly-02-crypt: bkp-jelly-03-crypt: bkp-jelly-04-crypt: bkp-jelly-05-crypt: bkp-jelly-06-crypt:

jelly@jellyfin2:~$ rclone lsd jelly-uniao:
-1 2022-10-30 00:45:04 -1 aaa
jelly@jellyfin2:~$ rclone rmdir jelly-uniao:aaa
jelly@jellyfin2:~$ rclone mkdir jelly-uniao:a
2022/10/30 13:15:14 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 13:15:15 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 13:15:15 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 13:15:15 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 13:15:15 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 13:15:16 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 13:15:16 NOTICE: Free Space is not supported for upstream bkp-jelly-06-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 13:15:17 NOTICE: Free Space is not supported for upstream bkp-jelly-06-crypt, treating as infinite
jelly@jellyfin2:~$ rclone lsd jelly-uniao:
-1 2022-10-30 13:15:16 -1 a
jelly@jellyfin2:~$ rclone

Is there a way to update rclone by command without having to download the file and change it?

Perhaps you are looking for this:

Already installed rclone can be easily updated to the latest version using the rclone selfupdate command.

Source: https://rclone.org/install/#quickstart

1 Like

I updated, but I still don't have a RAID 1. I want to have a main drive that syncs to all the others, but this main drive is in charge, if you remove something from this main one, it removes it from the others, if you add it to the main one, it adds it to all

Sorry, missed that part, my eyes was on the missing ":"

You cannot make a true RAID 1 configuration with a union. It cannot handle the (invisible) resync needed when one of the remotes has been off-line for a while or you add a new remote.

It seems like this is the closest you can get:
create-policy: all (act on all upstreams) - think creates
action-polity: all (apply to all found) - think modifications and deletes
search-policy: all (search the first one found where the relative path exists) or ff (search all where the relative path exists and use the first reply) or perhaps rand (Calls all and then randomizes. Returns only one upstream)

The classifications are described here:
https://rclone.org/union/#function-category-classifications

More information here:
https://rclone.org/union/#behavior-policies

I would instead think in periodic syncs from the main drive to the other drives.

I'id imagine you want to change the policy.

Defaults are here:

Policy to choose upstream on ACTION class.
Enter a string value. Press Enter for the default ("epall").
action_policy>
Policy to choose upstream on CREATE class.
Enter a string value. Press Enter for the default ("epmfs").
create_policy>
Policy to choose upstream on SEARCH class.
Enter a string value. Press Enter for the default ("ff").
search_policy>

I'd assume you'd probably want all on action and create.

You'd want to share a log file with a few actions to validate.

I used the default settings when setting up union, from what I understand I would have to use epall, epall and ff?

jelly@jellyfin2:~$ rclone -vv mkdir jelly-uniao:aaa
2022/10/30 18:33:29 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "-vv" "mkdir" "jelly-uniao:aaa"]
2022/10/30 18:33:29 DEBUG : Creating backend with remote "jelly-uniao:aaa"
2022/10/30 18:33:29 DEBUG : Using config file from "/home/jelly/.config/rclone/rclone.conf"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-06-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "jelly-start-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-02-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-01-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-05-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-03-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-04-crypt:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-03:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-03:/" to be canonical "bkp-jelly-03:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-03-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-05:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-05:/" to be canonical "bkp-jelly-05:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-05-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-04:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-04:/" to be canonical "bkp-jelly-04:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-04-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-02:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-02:/" to be canonical "bkp-jelly-02:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-02-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "jelly-start:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "jelly-start:/" to be canonical "jelly-start:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "jelly-start-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-06:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-06:/" to be canonical "bkp-jelly-06:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-06-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-01:/"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-01:/" to be canonical "bkp-jelly-01:"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-01-crypt:aaa"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-06:/9h5omicm9gjpc1pke9n4hu9n6k"
2022/10/30 18:33:29 DEBUG : Creating backend with remote "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 18:33:29 DEBUG : fs cache: renaming cache item "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk" to be canonical "bkp-jelly-05:7fora0b7j3l094o3v2b3inrutk"
2022/10/30 18:33:29 DEBUG : fs cache: switching user supplied name "bkp-jelly-05:/7fora0b7j3l094o3v2b3inrutk" for canonical name "bkp-jelly-05:7fora0b7j3l094o3v2b3inrutk"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8" to be canonical "bkp-jelly-04:u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "bkp-jelly-04:/u8iv4jievh2n7am827uo5gf5c8" for canonical name "bkp-jelly-04:u8iv4jievh2n7am827uo5gf5c8"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg" to be canonical "bkp-jelly-01:ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "bkp-jelly-01:/ft8cjtom0hkbqv0727hvfo85cg" for canonical name "bkp-jelly-01:ft8cjtom0hkbqv0727hvfo85cg"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c" to be canonical "jelly-start:2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "jelly-start:/2jhqpn4oj9trt0c6t1bid5k83c" for canonical name "jelly-start:2jhqpn4oj9trt0c6t1bid5k83c"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "bkp-jelly-06:/9h5omicm9gjpc1pke9n4hu9n6k" to be canonical "bkp-jelly-06:9h5omicm9gjpc1pke9n4hu9n6k"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "bkp-jelly-06:/9h5omicm9gjpc1pke9n4hu9n6k" for canonical name "bkp-jelly-06:9h5omicm9gjpc1pke9n4hu9n6k"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o" to be canonical "bkp-jelly-03:7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "bkp-jelly-03:/7ca3b75fn4ob07gcfd1dtgmt6o" for canonical name "bkp-jelly-03:7ca3b75fn4ob07gcfd1dtgmt6o"
2022/10/30 18:33:30 DEBUG : fs cache: renaming cache item "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k" to be canonical "bkp-jelly-02:drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 18:33:30 DEBUG : fs cache: switching user supplied name "bkp-jelly-02:/drtn0pfcnr1fmjf3fh5j1hnc3k" for canonical name "bkp-jelly-02:drtn0pfcnr1fmjf3fh5j1hnc3k"
2022/10/30 18:33:30 DEBUG : union root 'aaa': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF
2022/10/30 18:33:30 DEBUG : union root 'aaa': Making directory
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:30 DEBUG : Google drive root '': read info from Shared Drive "Jelly Start"
2022/10/30 18:33:30 DEBUG : Google drive root '': read info from Shared Drive "Jelly Start"
2022/10/30 18:33:30 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 18:33:31 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 01"
2022/10/30 18:33:31 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 18:33:31 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 02"
2022/10/30 18:33:31 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 18:33:31 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 03"
2022/10/30 18:33:31 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 18:33:31 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 04"
2022/10/30 18:33:31 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 18:33:31 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 05"
2022/10/30 18:33:31 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 18:33:32 DEBUG : Google drive root '': read info from Shared Drive "Backup DATA 06"
2022/10/30 18:33:32 NOTICE: Free Space is not supported for upstream bkp-jelly-06-crypt, treating as infinite
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 DEBUG : test: Skipping undecryptable dir name: not a multiple of blocksize
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream jelly-start-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-01-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-02-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-03-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-04-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-05-crypt, treating as infinite
2022/10/30 18:33:34 NOTICE: Free Space is not supported for upstream bkp-jelly-06-crypt, treating as infinite
2022/10/30 18:33:34 DEBUG : 30 go routines active
jelly@jellyfin2:~$ rclone lsd jelly-uniao:
          -1 2022-10-30 18:33:32        -1 aaa

That's why I shared the default screenshots and the link to the docs as it isn't epall and ff.

That means you are mixing a remote with non encrypted contents along with a crypted content. You'd want to make a folder and clean that up.

You'd want to change

To all/epall.

And like I shared before, actually create a file so we can see what's going on in the log file.

That just lists the remote and not the mount.

Actually create a file and/or do what creates the problem/issue you are facing so we can see it in the log.

Policy to choose upstream on ACTION class.
Enter a string value. Press Enter for the default ("epall").
action_policy>
Policy to choose upstream on CREATE class.
Enter a string value. Press Enter for the default ("epmfs").
create_policy>
Policy to choose upstream on SEARCH class.
Enter a string value. Press Enter for the default ("ff").
search_policy>

Which configuration should I use? I didn't quite understand that part.

Got what I wanted, used epall, epall and ff

A question, I use this configuration in systemd to mount the drive, is there any better configuration/optimization?

[Install]
WantedBy=multi-user.target

[Unit]
Description=rClone montar drive criptografado
AssertPathIsDirectory=/home/tales/Drive
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount \
  --config=/home/tales/.config/rclone/rclone.conf \
  --fast-list \
        --drive-skip-gdocs \
        --vfs-read-chunk-size=128M \
        --vfs-read-chunk-size-limit=2048M \
        --buffer-size=128M \
        --max-read-ahead=256M \
        --poll-interval=1m \
        --dir-cache-time=12h \
        --timeout=10m \
        --transfers=16 \
        --checkers=8 \
        --drive-chunk-size=128M \
        --allow-non-empty \
		  --allow-other \
        -vP \
        talesam-crypt:/ /home/tales/Drive
ExecStop=/usr/bin/fusermount -u /home/tales/Drive
Restart=on-failure
RestartSec=10
User=tales

[Install]
WantedBy=multi-user.target

Does nothing on a mount.

You look to have encrypted remotes so this wouldn't do anything.

First is the default anyway and the second doesn't come into play much. I'd remove them and leave the default.

Does nothing on a mount.

I wouldn't ever use that unless there is a really good reason. This allows for over mounting and hiding things. 99.9% of the time, you want to ensure the mount is empty properly before mounting on top of it.

Not sure I'd want 16 at a time, but that is really a personal preference.

"--transfers=16 "

8, 10?

That's really up to you. I leave things at defaults unless I have a reason to change them.

1 Like

Fully agree, with a little more detail:

I would only consider an increase if files were often waiting for upload and I didn't use most of my bandwidth (80%). Then I would do a test to see if it helped to increase the value and only keep the new value if it made a significant difference.

1 Like