What is the problem you are having with rclone?
I noticed that at some point I lost more disk space than expected.
I looked into rclone's --cache-dir
that I set for a mount, and found 3 directories for the same remote:
$ du -sh RCloneCache/vfs/*
1.4T RCloneCache/vfs/B2{AAAAA}
123G RCloneCache/vfs/B2{BBBBB}
45G RCloneCache/vfs/B2{CCCCC}
$ du -sh RCloneCache/vfsMeta/*
13M RCloneCache/vfsMeta/B2{AAAAA}
9.3M RCloneCache/vfsMeta/B2{BBBBB}
9.1M RCloneCache/vfsMeta/B2{CCCCC}
(I redacted unique strings, because wasn't sure if they're safe to share.)
The mount has --vfs-cache-max-size 1400G
, so cumulatively these 3 directories are over limit. Their content is mirroring the same remote, with different files stored locally.
How could I reunite them?
Run the command 'rclone version' and share the full output of the command.
Note: I'm pretty sure this started before I switched to the "deadlock fix" version, but it may have started after the new B2 concurrency code. I'm not sure on the latter.
rclone v1.65.0-beta.7391.55c3c221b.fix-b2-upload-url-lock
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-84-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
B2
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone mount B2:Bucket/path /path/to/mount \
--allow-other \
--b2-chunk-size 50M \
--b2-upload-concurrency 4 \
--multi-thread-streams 40 \
--b2-hard-delete \
--buffer-size 50M \
--bwlimit "07:00,1M:off 23:45,off" \
--cache-dir /home/user/RCloneCache \
--config /home/user/.config/rclone/rclone.conf \
--dir-cache-time 87600h \
--disable-http2 \
--fast-list \
--log-level DEBUG \
--poll-interval 0 \
--transfers 20 \
--use-mmap \
--vfs-cache-max-age 8760h \
--vfs-cache-max-size 1400G \
--vfs-cache-mode full \
--vfs-write-back 15m \
--vfs-read-ahead 200M \
--vfs-read-chunk-size-limit 500M \
--rc \
--rc-no-auth
The rclone config contents with secrets removed.
[B2]
type = b2
account = *removed*
key = *removed*
A log from the command with the -vv
flag
Didn't catch the issue when it occurred.