Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syncthing syncthing Addon
3 participants