You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Speed issue when Using "mnt" storage to keep all data #203
I have searched the existing issues and didn't find any that were similar
I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
Hello Guys....
Just set it up new anysyns installation in LXC
Docker.
Tried to separate all data to my /mnt location, but sync is getting very very very slow.
When while compose is setup to local is rapid.
STORAGE_DIR= ./storage
VS
STORAGE_DIR= /mnt/anysync/storage
Can you please advise me if I'm doing this incorrectly or ther is a bug behind it?
This doesn't look like a bug in any-sync-dockercompose. STORAGE_DIR is just a bind-mount path, and every service mounts it the same way. So the only difference between ./storage and /mnt/anysync/storage is the disk/filesystem underneath. The stack (MongoDB, any-sync-node storage, Garage metadata, etc.) does a lot of small synchronous writes (fsync). It runs very slowly on storage with high fsync latency: NFS/SMB shares, HDDs, ZFS with sync=always and no SLOG, or FUSE filesystems (mergerfs, rclone…).
Could you share what is actually mounted at /mnt? Inside the LXC:
Recommendation: keep STORAGE_DIR on a local SSD (e.g. the container rootfs or a Proxmox mount point backed by local SSD storage). Please avoid network shares in particular. Besides being slow, MongoDB and the node databases can get corrupted on NFS/SMB because of file-locking issues.
If you need to keep bulk file data on the slower /mnt disk, the only part that tolerates it is the Garage object data. You can move just that via a docker-compose.override.yml and keep everything else on SSD:
Activity
mighty-sponge commentedon Oct 7, 2026
Hi @AndrewAdventure, thanks for the report!
This doesn't look like a bug in any-sync-dockercompose.
STORAGE_DIRis just a bind-mount path, and every service mounts it the same way. So the only difference between./storageand/mnt/anysync/storageis the disk/filesystem underneath. The stack (MongoDB, any-sync-node storage, Garage metadata, etc.) does a lot of small synchronous writes (fsync). It runs very slowly on storage with high fsync latency: NFS/SMB shares, HDDs, ZFS withsync=alwaysand no SLOG, or FUSE filesystems (mergerfs, rclone…).Could you share what is actually mounted at
/mnt? Inside the LXC:And on the Proxmox host:
Recommendation: keep
STORAGE_DIRon a local SSD (e.g. the container rootfs or a Proxmox mount point backed by local SSD storage). Please avoid network shares in particular. Besides being slow, MongoDB and the node databases can get corrupted on NFS/SMB because of file-locking issues.If you need to keep bulk file data on the slower
/mntdisk, the only part that tolerates it is the Garage object data. You can move just that via adocker-compose.override.ymland keep everything else on SSD: