What is the problem you are having with rclone?
When I attempt to mount my existing rclone mount in Docker I get:
docker: Error response from daemon: The volume does not contain a recognized file system.
Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
See 'docker run --help'.
Otherwise my rclone mount works fine in Windows and I am able to mount my regular drives and folders just fine without error in Docker.
I assume this is more a Docker issue than an rclone issue but figured it wouldn't hurt to ask about it here. I did do a search and found some slightly relevant info but much of it I didn't fully understand.
What is your rclone version (output from rclone version
)
rclone v1.53.4
- os/arch: windows/amd64
- go version: go1.15.6
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 Pro 64 bit.
Version 20H2 Build 19042.746.
Which cloud storage system are you using? (eg Google Drive)
None. Local remotes in a union.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone:
rclone mount Data_Pool: z: --cache-dir a:\rclone_Cache\ --vfs-cache-mode full --vfs-cache-max-age 120s --vfs-cache-max-size 5G --dir-cache-time 120s
Docker:
docker run -d -p 8081:80 -v z:/NextCloud:/NextCloud nextcloud
The rclone config contents with secrets removed.
[Data_Pool]
type = union
upstreams = d:\SnapRAID_Pool\rclone_Pool\ e:\SnapRAID_Pool\rclone_Pool\ f:\SnapRAID_Pool\rclone_Pool\ g:\SnapRAID_Pool\rclone_Pool\ h:\SnapRAID_Pool\rclone_Pool\ i:\SnapRAID_Pool\rclone_Pool\ j:\SnapRAID_Pool\rclone_Pool\ k:\SnapRAID_Pool\rclone_Pool\ l:\SnapRAID_Pool\rclone_Pool\ m:\SnapRAID_Pool\rclone_Pool\
create_policy = lus
search_policy = newest
cache_time = 1
A log from the command with the -vv
flag
2021/02/28 15:44:31 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "mount" "Data_Pool:" "z:" "--cache-dir" "a:\\rclone_Cache\\" "--vfs-cache-mode" "full" "--vfs-cache-max-age" "120s" "--vfs-cache-max-size" "5G" "--dir-cache-time" "120s" "-vv" "--log-file=log.txt"]
2021/02/28 15:44:31 DEBUG : Creating backend with remote "Data_Pool:"
2021/02/28 15:44:31 DEBUG : Using config file from "C:\\Users\\Jon\\.config\\rclone\\rclone.conf"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "m:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "g:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "e:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "m:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/m:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "m:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "f:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "j:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "m:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/m:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "g:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/g:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "g:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "j:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/j:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "j:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "f:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/f:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "f:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "g:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/g:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "k:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "i:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "h:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "j:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/j:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "l:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "f:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/f:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "d:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "l:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/l:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "l:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "l:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/l:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "e:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/e:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "e:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "d:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/d:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "d:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "e:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/e:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "d:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/d:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "k:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/k:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "k:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "h:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/h:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "h:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "k:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/k:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "i:/SnapRAID_Pool/rclone_Pool/" to be canonical "//?/i:/SnapRAID_Pool/rclone_Pool/"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "i:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "h:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/h:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "i:/SnapRAID_Pool/rclone_Pool" to be canonical "//?/i:/SnapRAID_Pool/rclone_Pool"
2021/02/28 15:44:31 DEBUG : union root '': actionPolicy = *policy.EpAll, createPolicy = *policy.Lus, searchPolicy = *policy.Newest
2021/02/28 15:44:31 INFO : union root '': poll-interval is not supported by this remote
2021/02/28 15:44:31 DEBUG : vfs cache: root is "\\\\?\\a:\\rclone_Cache\\vfs\\Data_Pool"
2021/02/28 15:44:31 DEBUG : vfs cache: metadata root is "\\\\?\\a:\\rclone_Cache\\vfs\\Data_Pool"
2021/02/28 15:44:31 DEBUG : Creating backend with remote "\\\\?\\a:\\rclone_Cache\\vfs\\Data_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: renaming cache item "\\\\?\\a:\\rclone_Cache\\vfs\\Data_Pool" to be canonical "//?/a:/rclone_Cache/vfs/Data_Pool"
2021/02/28 15:44:31 DEBUG : fs cache: switching user supplied name "\\\\?\\a:\\rclone_Cache\\vfs\\Data_Pool" for canonical name "//?/a:/rclone_Cache/vfs/Data_Pool"
2021/02/28 15:44:31 DEBUG : union root '': Mounting on "z:"
2021/02/28 15:44:31 DEBUG : union root '': Mounting with options: ["-o" "fsname=Data_Pool:" "-o" "subtype=rclone" "-o" "max_readahead=131072" "-o" "attr_timeout=1" "-o" "atomic_o_trunc" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Data_Pool"]
2021/02/28 15:44:31 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/02/28 15:44:31 DEBUG : union root '': Init:
2021/02/28 15:44:31 DEBUG : union root '': >Init:
2021/02/28 15:44:31 DEBUG : /: Statfs:
2021/02/28 15:44:31 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:2685860086 Bfree:1772477508 Bavail:1772477508 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Readlink:
2021/02/28 15:44:31 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2021/02/28 15:44:31 DEBUG : /: Statfs:
2021/02/28 15:44:31 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:2685860086 Bfree:1772477508 Bavail:1772477508 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Opendir:
2021/02/28 15:44:31 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:31 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/28 15:44:31 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:31 DEBUG : /: Releasedir: fh=0x0
2021/02/28 15:44:31 DEBUG : /: >Releasedir: errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Opendir:
2021/02/28 15:44:31 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:31 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/28 15:44:31 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:31 DEBUG : /: Releasedir: fh=0x0
2021/02/28 15:44:31 DEBUG : /: >Releasedir: errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:31 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:31 DEBUG : /: Opendir:
2021/02/28 15:44:31 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:31 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/28 15:44:31 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:31 DEBUG : /: Releasedir: fh=0x0
2021/02/28 15:44:31 DEBUG : /: >Releasedir: errc=0
2021/02/28 15:44:34 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/28 15:44:34 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/28 15:44:34 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/02/28 15:44:34 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:34 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /: >Getattr: errc=0
2021/02/28 15:44:34 DEBUG : /: Opendir:
2021/02/28 15:44:34 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:34 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/02/28 15:44:34 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:34 DEBUG : /: Releasedir: fh=0x0
2021/02/28 15:44:34 DEBUG : /: >Releasedir: errc=0
2021/02/28 15:44:34 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:34 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2021/02/28 15:44:39 DEBUG : /NextCloud: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:39 DEBUG : /NextCloud: >Getattr: errc=0
2021/02/28 15:44:39 DEBUG : /NextCloud: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:39 DEBUG : /NextCloud: >Getattr: errc=0
2021/02/28 15:44:39 DEBUG : /NextCloud: Opendir:
2021/02/28 15:44:39 DEBUG : /NextCloud: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:39 DEBUG : /NextCloud: >OpenFile: fd=NextCloud/ (r), err=<nil>
2021/02/28 15:44:39 DEBUG : /NextCloud: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:39 DEBUG : /NextCloud: Releasedir: fh=0x0
2021/02/28 15:44:39 DEBUG : /NextCloud: >Releasedir: errc=0
2021/02/28 15:44:39 DEBUG : /NextCloud: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:39 DEBUG : /NextCloud: >Getattr: errc=0
2021/02/28 15:44:39 DEBUG : /NextCloud: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/02/28 15:44:39 DEBUG : /NextCloud: >Getattr: errc=0
2021/02/28 15:44:39 DEBUG : /NextCloud: Opendir:
2021/02/28 15:44:39 DEBUG : /NextCloud: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/02/28 15:44:39 DEBUG : /NextCloud: >OpenFile: fd=NextCloud/ (r), err=<nil>
2021/02/28 15:44:39 DEBUG : /NextCloud: >Opendir: errc=0, fh=0x0
2021/02/28 15:44:39 DEBUG : /NextCloud: Releasedir: fh=0x0
2021/02/28 15:44:39 DEBUG : /NextCloud: >Releasedir: errc=0
The service rclone has been stopped.
2021/02/28 15:44:44 DEBUG : union root '': Destroy:
2021/02/28 15:44:44 DEBUG : union root '': >Destroy:
2021/02/28 15:44:44 DEBUG : Calling host.Unmount
2021/02/28 15:44:44 DEBUG : vfs cache: cleaner exiting
2021/02/28 15:44:44 DEBUG : host.Unmount failed
2021/02/28 15:44:44 DEBUG : rclone: Version "v1.53.4" finishing with parameters ["rclone" "mount" "Data_Pool:" "z:" "--cache-dir" "a:\\rclone_Cache\\" "--vfs-cache-mode" "full" "--vfs-cache-max-age" "120s" "--vfs-cache-max-size" "5G" "--dir-cache-time" "120s" "-vv" "--log-file=log.txt"]