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

archive multiple NAS destinations #196

Open
JonesiKC opened this issue Apr 30, 2021 · 4 comments
Open

archive multiple NAS destinations #196

JonesiKC opened this issue Apr 30, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@JonesiKC
Copy link

Hi,

I'm currently mv my plots from tmp to a local disk. Then I want to use the Archival function to move it.
But I have multiple NAS server running. How can I configure multiple Archives?
I don't get it :)

Thanks so much for any help!

@altendky
Copy link
Collaborator

How do you access them? rsync? Network mounted drives?

@JonesiKC
Copy link
Author

two possibilities
mounted via cifs
or
rsyncd running on each NAS
For my point of view the mounted option seems easier for me

Thanks!

@altendky
Copy link
Collaborator

Yeah, though my personal perception of mounts (based on long ago experience) is that they are generally more likely to flake out or otherwise have issues. Anyways... rsyncd is what plotman can connect to presently. We're working on a local rsync-based PR over in #88. Neither supports multiple destinations, only multiple drives on the destination. Both are based on being able to ssh to the target and run df -aBK to check space availability.

I don't know where the line is between what plotman should grow to support and what chia plot manager already does, but FYI, https://github.com/rjsears/chia_plot_manager is a thing as well. I haven't looked into it in any detail but it is targeted at high throughput plotting setups.

@JonesiKC
Copy link
Author

JonesiKC commented May 2, 2021

My workaround :) ... I like your way better
It is super fast

pdir=/media/plots
plist=/tmp/plist.tmp
cd $pdir
find  -name "*.plot" -not -name "*tmp*" -printf '%P\n'  > $plist

cat $plist | while read line
do
        tar cv  $line |pv| ncat  192.168.178.212 7000 && rm $line
done


@BasilHorowt BasilHorowt added the enhancement New feature or request label May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants