What is the problem you are having with rclone?
I'm on macOS, and using rclone nfsmount
as a substitute for gocryptfs and mergerfs. I mount a combine
layer with two upstreams. One is a subfolder of a union
of two external drives. The other is a crypt
over a different subfolder of that union
.
macOS is normally case-insensitive, but all of the layers are marked as case_sensitive = true
, and the external drives actually storing everything are formatted as case-sensitive as well. Despite all this, in the unencrypted branch of the combine
, if two underlying folders' names differ only in case, all but one of the folders are hidden. This does not happen on the encrypted branch (likely because the encryption alters the filenames so they no longer differ only in case).
(Yes, I know that nfsmount
is still experimental. I would really rather avoid macFUSE or FUSE-T – putting a proprietary program by who knows who between me and my data seems like a bad idea – and in any case the problem definitely isn't there, because it appears when running other commands like rclone lsf
.)
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.0
- os/version: darwin 15.2 (64 bit)
- os/kernel: 24.2.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.4
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
None. See above for an outline of my setup.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone --config rclone.conf nfsmount --vfs-cache-mode writes --cache-dir .rclone-vfs-cache Mount: マウント
The rclone config contents with secrets removed.
[Data]
type = union
upstreams = /Users/nasado/収集/物置き/Hot/001 /Users/nasado/収集/物置き/Hot/002
create_policy = mfs
case_sensitive = true
[Private-Data]
type = crypt
remote = Data:Private
password = ...
case_sensitive = true
[Mount]
type = combine
upstreams = 一般=Data:General 私的=Private-Data:
case_sensitive = true
(Please excuse the Japanese writing. I'm studying it and labeled my folders accordingly because I felt like it.)
A log from the command with the -vv
flag
Apparently, when macOS connects to an NFS server, it hits it with a metric ton of API calls for who knows what. So at this verbosity, rclone emits megabytes of logs in only a few seconds. Instead, here's the output of rclone --config rclone.conf lsf -vv Mount:一般/objects
, showing a directory which should have many folders whose names contain lowercase letters. (Yes, this is a git-annex objects folder. No, I can't use git-annex's rclone special remote, because I want the files to be accessible directly without invoking git-annex and copying them needlessly to the internal drive.)
2025/01/22 23:14:54 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "--config" "rclone.conf" "-vv" "lsf" "Mount:一般/objects"]
2025/01/22 23:14:54 DEBUG : Creating backend with remote "Mount:一般/objects"
2025/01/22 23:14:54 DEBUG : Using config file from "/Users/nasado/収集/物置き/rclone.conf"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "Private-Data:"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "Data:General"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/002"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/001"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/001/General"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/002/General"
2025/01/22 23:14:54 DEBUG : union root 'General': actionPolicy = *policy.EpAll, createPolicy = *policy.Mfs, searchPolicy = *policy.FF
2025/01/22 23:14:54 DEBUG : Creating backend with remote "Data:Private"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/002/Private"
2025/01/22 23:14:54 DEBUG : Creating backend with remote "/Users/nasado/収集/物置き/Hot/001/Private"
2025/01/22 23:14:54 DEBUG : union root 'Private': actionPolicy = *policy.EpAll, createPolicy = *policy.Mfs, searchPolicy = *policy.FF
.DS_Store
00/
01/
02/
03/
04/
05/
06/
07/
08/
09/
0F/
0G/
0J/
0K/
0M/
0P/
0Q/
0V/
0W/
0X/
0Z/
10/
11/
12/
13/
14/
15/
16/
17/
18/
19/
1F/
1G/
1J/
1K/
1M/
1P/
1Q/
1V/
1W/
1X/
1Z/
20/
21/
22/
23/
24/
25/
26/
27/
28/
29/
2F/
2G/
2J/
2K/
2M/
2P/
2Q/
2V/
2W/
2X/
2Z/
30/
31/
32/
33/
34/
35/
36/
37/
38/
39/
3F/
3G/
3J/
3K/
3M/
3P/
3Q/
3V/
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