Union Rclone mount last modified timestamp + Plex

What is the problem you are having with rclone?

Union mount not retaining modification date of files so Plex thinks they are new files and wants to analyze/process meta again. I was previously using Mergefs and this wasn't an option however wanted to move to Union with Rclone because of system crashes with mergefs, since mounting the unionized mount Plex is now wanting to analyse all files.

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

rclone v1.65.1

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 6.8.12-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.5
  • go/linking: static
  • go/tags: none

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

Google Drive

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

rclone mount --config=/mnt/nvme/plexified/mounts/rclone/rclone.conf --allow-other --no-traverse --vfs-cache-mode full --cache-dir /mnt/nvmedl/plexified/mounts/googlecache/ --vfs-cache-max-size 250G --dir-cache-time 96h --vfs-fast-fingerprint --vfs-refresh --drive-impersonate admin@jumbo.stream googledecrypted: /mnt/nvmedl/plexified/mounts/google/

rclone --config=/mnt/nvme/plexified/mounts/rclone/rclone.conf mount --allow-other moviesunion: /mnt/nvmedl/plexified/mounts/moviesrc/Movies/

rclone --config=/mnt/nvme/plexified/mounts/rclone/rclone.conf mount --allow-other unionized: /mnt/nvme/plexified/secret/

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

[google]
type = drive
scope = drive
service_account_file = /mnt/nvme/plexified/mounts/rclonekeys/humbleproject-825a726988cb.json
team_drive = XXX
root_folder_id = XXX

[googledecrypted]
type = crypt
remote = google:
filename_encryption = standard
password = XXX
password2 = XXX

[moviesunion]
type = union
upstreams = /mnt/nvmedl/plexified/mounts/google/Data/MoviesSrc/0000/ /mnt/nvmedl/plexified/mounts/google/Data/MoviesSrc/0001/ /mnt/nvmedl/plexified/mounts/google/Data/MoviesSrc/0002/
action_policy = ff
create_policy = ff
search_policy = all

[unionized]
type = union
upstreams = /mnt/user/plexdata/ /mnt/nvmedl/plexified/mounts/moviesrc:nc /mnt/nvmedl/plexified/mounts/google/Data:nc
action_policy = ff
create_policy = ff
search_policy = all

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

2024/09/05 18:19:05 DEBUG : Creating backend with remote "unionized:"
2024/09/05 18:19:05 DEBUG : Using config file from "/mnt/nvme/plexified/mounts/rclone/rclone.conf"
2024/09/05 18:19:05 DEBUG : Creating backend with remote "/mnt/nvmedl/plexified/mounts/google/Data"
2024/09/05 18:19:05 DEBUG : Creating backend with remote "/mnt/user/plexdata/"
2024/09/05 18:19:05 DEBUG : Creating backend with remote "/mnt/nvmedl/plexified/mounts/moviesrc"
2024/09/05 18:19:05 DEBUG : fs cache: renaming cache item "/mnt/user/plexdata/" to be canonical "/mnt/user/plexdata"
2024/09/05 18:19:05 DEBUG : fs cache: switching user supplied name "/mnt/user/plexdata/" for canonical name "/mnt/user/plexdata"
2024/09/05 18:19:05 DEBUG : union root '': actionPolicy = *policy.FF, createPolicy = *policy.FF, searchPolicy = *policy.All
2024/09/05 18:19:05 INFO  : union root '': poll-interval is not supported by this remote
2024/09/05 18:19:05 DEBUG : union root '': Mounting on "/mnt/nvme/plexified/secret/"
2024/09/05 18:19:05 DEBUG : : Root: 
2024/09/05 18:19:05 DEBUG : : >Root: node=/, err=<nil>