Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

[syncthing] use mounted disks to store data #377

Open
AzonInc opened this issue Feb 12, 2023 · 2 comments
Open

[syncthing] use mounted disks to store data #377

AzonInc opened this issue Feb 12, 2023 · 2 comments
Labels
syncthing syncthing Addon

Comments

@AzonInc
Copy link

AzonInc commented Feb 12, 2023

Which addon?

Syncthing

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

It would be great to be able to use mounted disks like sda1 inside the syncthing container to store the files.

Describe alternatives you've considered
I used the Resilio Sync Addon which is mounting all attached disks in the container.
It would be a great addition to the Syncthing Addon.

Additional context

@Poeschl Poeschl added the syncthing syncthing Addon label Feb 12, 2023
@salim-b
Copy link
Contributor

salim-b commented Feb 14, 2023

@AzonInc Did you read the add-on documentation?

tl;dr: You have to mount your disks underneath a top-level directory that is mapped into the add-on container (like /mnt/data/supervisor/media/ in the HA host which maps to /media/ inside the add-on container).

@AzonInc
Copy link
Author

AzonInc commented Feb 14, 2023

Yes I did.
But I got two issues using it that way.

The storage occupancy seems to be unreliable when using a mount inside one of those folders and also it's included in full backups which isn't useful at all with a 1tb drive attached. For that reason full backups are failing all the time.

Syncthing stops syncing because it thinks /share is full due to the mount within the share folder.

With the resiliosync addon I didn't have such problems because I could mount the disk directly which solved the issues mentioned above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
syncthing syncthing Addon
Projects
None yet
Development

No branches or pull requests

3 participants