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

discover remote rsyncd targets that are mounted more than once #773

Closed
mharsch opened this issue Jun 11, 2021 · 4 comments
Closed

discover remote rsyncd targets that are mounted more than once #773

mharsch opened this issue Jun 11, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@mharsch
Copy link

mharsch commented Jun 11, 2021

Describe the bug

With the change to 0.4, the plotman client no longer discovers eligible targets if they are mounted at multiple mountpoints (e.g. to work around the limitation where the site_root must only contain plot targets).

To Reproduce
For example, the same drive could be mounted under /mnt/disk0 and also under /plots/disk0 and site_root set to /plots but the df command run over ssh to discover rsync destinations doesn't find any paths starting with /plots because the output only includes the first mountpoint (/mnt/disk0).

This can be fixed by adding the '-a' option to the 'df' command in the rsyncd target description.

@mharsch mharsch added the bug Something isn't working label Jun 11, 2021
@altendky
Copy link
Collaborator

Makes sense, thanks for the explanation. I'll change that. If you haven't already addressed this for yourself, you could duplicate the default target definition into your own plotman config, tweak it there, and use that.

@altendky
Copy link
Collaborator

@altendky
Copy link
Collaborator

@mharsch, was this resolved for you in v0.4.1?

@mharsch
Copy link
Author

mharsch commented Jun 20, 2021

Yes, fixed in 0.4.1
Thanks.

@mharsch mharsch closed this as completed Jun 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants