Any suggestions for my VFS mount?

What is the problem you are having with rclone?

No problem.... just reimaged from an old setup, and I'm sure things have changed. Hoping someone can give some good advice on what can be improved

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

rclone v1.59.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-122-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.3
  • go/linking: static
  • go/tags: none

Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads

Yes

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)


[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/plex/.config/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount havok:/media/ /home/plex/media/cloud/
        --allow-other \
        --allow-non-empty \
        --dir-cache-time 1000h \
        --log-level INFO \
        --log-file /home/plex/logs/rclone.log \
        --poll-interval 15s \
        --umask 002 \
        --cache-dir=/home/plex/media/cache \
        --vfs-cache-mode full \
        --vfs-cache-max-size 400G \
        --vfs-cache-max-age 336h \
ExecStop=/bin/fusermount -uz /home/plex/media/cloud/
Restart=on-failure
User=plex
Group=plex

[Install]
WantedBy=multi-user.target


#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

[gdrive]
type = drive
client_id =
client_secret =
scope = drive
token = {"access_token":"ya29.A0AVA9y1tA2uGr2j8xHD-M-cTRxxh1qWLNO-M_gL0FqrMfhyrf1GoCaw28lGKkDH3El5wAjbUiqXtvnmioGkoqETF-amICp_8w4XWSsgT6BhIOogGB2cFWN7yX6Er7aQ4wnhMOwqrILC7_TCvu9DAU9rhWOdi0YUNnWUtBVEFTQVRBU0ZRRTY1ZHI4NTF0MC1hZDRWVkVUSExibWdMTWRVUQ0163","token_type":"Bearer","refresh_token":"1//0gqFBuCocIXhfCgYIARAAGBASNwF-L9IrhYN7nuk-8R9cgMcuZhB3W5qWxkZs1VuGQArDTlXho_ep2ZfRHCxMTYGOXFShWKxi4qg","expiry":"2022-07-18T17:52:16.6547634+12:00"}
team_drive =

[dropbox]
type = dropbox
token = {"access_token":"sl.BLnrYebTitQz3DP64k2CmbQu90SB_e_h5l5nEIdDGV8iQfikC5IiXZfxH54ESa9SNSM8rzbqnSyUTsHu0OmmUdpY-l5FhHfCdD3OdQna9pQfqgGYnHcoqrpQR2FLs-T6QPxQVC3n","token_type":"bearer","refresh_token":"ipX1efqEyBYAAAAAAAAAAYI5BY4G4M7Tw97JuvLSSkTYHAgJy-yimr3CjMsj2cHJ","expiry":"2022-07-18T20:53:27.0921301+12:00"}

hi,
as for the systemd files, check this out
https://github.com/animosity22/homescripts/tree/master/systemd

and --allow-non-empty allows for over mounting, be sure you need that.

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