What is the problem you are having with rclone?
Not a real problem, I'm just looking for suggestions and a review of my Rclone mount service script
The usage is to stream the content with PLEX. and I would like to have the mount as much reliable and fast as possible when seeking. To do it I thought to use a big cache file so that the streamed content will be kind of local.
Plex and RCLONE mount is running on my local machine. Rclone is mounting from a remote storage via the SFTP protocol.
My internet connection is 1gbs/1gbs
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: debian 11.6 (64 bit)
- os/kernel: 5.10.0-21-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
I am mounting a cloudstorage from hetzner.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
[Unit]
Description=WikiBox-1 (rclone)
AssertPathIsDirectory=/mnt/library/
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount WikiBox-1:/ /mnt/library \
--config=/root/.config/rclone/rclone.conf \
--allow-other \
--vfs-cache-mode full \
--cache-chunk-path=/mnt/cache/rclone/chunks \
--cache-workers=8 \
--cache-dir=/mnt/cache/rclone/vfs \
--cache-db-path=/mnt/cache/rclone/db \
--no-modtime \
--stats=0 \
--checkers=16 \
--dir-cache-time=30m \
--cache-info-age=30m \
--vfs-cache-max-age 180h0m0s \
--vfs-cache-max-size 500G \
--vfs-read-ahead 4G \
--buffer-size 2G \
--log-file=/mnt/cache/rclone/rclone_MOUNT_Log.txt \
--log-level INFO
ExecStop=/bin/fusermount -u /mnt/library
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
The rclone config contents with secrets removed.
It is connected to the cloud storage via SFTP
[WikiBox-1]
type = sftp
host = xxxxx.your-storagebox.de
user = xxxx
pass = xxxx
md5sum_command = none
sha1sum_command = none
shell_type = unix
A log from the command with the -vv
flag
Paste log here