What is the problem you are having with rclone?
I get fatal error, mount not ready
Run the command 'rclone version' and share the full output of the command.
rclone v1.60.1-DEV
- os/version: debian 12.11 (64 bit)
- os/kernel: 5.15.133.1-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.8
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
R2 Cloudflare
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rm -rf /home/comfyuser/ComfyUI/models
mkdir -p /home/comfyuser/ComfyUI/models
rclone mount r2:colab-models/models /home/comfyuser/ComfyUI/models --daemon --cache-dir=/mnt/r2_cache --allow-other --vfs-cache-max-age=24h --dir-cache-time=12h --poll-interval=10s --vfs-cache-mode=full
2025/06/02 10:42:17 Fatal error: mount not ready
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[r2]
type = s3
provider = Cloudflare
access_key_id = REDACTED
secret_access_key = REDACTED
endpoint = https://c45a8b257df7bbf1fb0c4fb396042547.r2.cloudflarestorage.com
acl = private
A log from the command that you were trying to run with the -vv
flag
# rclone -vv mount r2:colab-models/models /home/comfyuser/ComfyUI/models --daemon --cache-dir=/mnt/r2_cache --allow-other --vfs-cache-max-age=24h --dir-cache-time=12h --poll-interval=10s --vfs-cache-mode=full
2025/06/02 10:47:33 DEBUG : rclone: Version "v1.60.1-DEV" starting with parameters ["rclone" "-vv" "mount" "r2:colab-models/models" "/home/comfyuser/ComfyUI/models" "--daemon" "--cache-dir=/mnt/r2_cache" "--allow-other" "--vfs-cache-max-age=24h" "--dir-cache-time=12h" "--poll-interval=10s" "--vfs-cache-mode=full"]
2025/06/02 10:47:33 DEBUG : Creating backend with remote "r2:colab-models/models"
2025/06/02 10:47:33 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2025/06/02 10:48:34 DEBUG : Daemon timed out. Terminating daemon pid 267
2025/06/02 10:48:34 Fatal error: mount not ready
Other info:
I run rclone inside entrypoint of a Docker Container, which is launched from WSL2 Debian distro installed in Windows 11.
part of my docker-compose.yml is:
comfyui:
image: comfyui:latest
container_name: comfyui
build:
context: docker/comfyui/
target: builder
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
restart: always
volumes:
- /dev:/dev
- ./r2_cache/:/mnt/r2_cache
- ./output/:/home/comfyuser/ComfyUI/output
- ./user/:/home/comfyuser/ComfyUI/user
devices:
- /dev/fuse:/dev/fuse # Mount FUSE device
cap_add:
- SYS_ADMIN # Required for mounting FUSE filesystems
environment:
USER_ID: ${USER_ID}
GROUP_ID: ${GROUP_ID}
R2_ID: ${R2_ID}
R2_KEY: ${R2_KEY}
NVIDIA_VISIBLE_DEVICES: all
COMMAND: 'python ComfyUI/main.py --listen 0.0.0.0 --max-upload-size 100 --dont-print-server --preview-method taesd --enable-cors-header "*" --use-pytorch-cross-attention --disable-xformers'
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- 8188:8188
- 8080:8080
expose:
- '8188'
- '8080'
networks:
- comfy-network