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

k32 plots have different sizes #41

Closed
maxbelz opened this issue May 19, 2021 · 3 comments
Closed

k32 plots have different sizes #41

maxbelz opened this issue May 19, 2021 · 3 comments

Comments

@maxbelz
Copy link

maxbelz commented May 19, 2021

Are we testing?

testing = False
if testing:
plot_dir = '/home/chia/plot_manager/test_plots/'
plot_size = 10000000
status_file = '/home/chia/plot_manager/transfer_job_running_testing'
else:
plot_dir = "/mnt/ssdraid/array0/"
plot_size = 108644374730 # Based on K32 plot size
status_file = '/home/chia/plot_manager/transfer_job_running'

remote_checkfile = '/root/plot_manager/remote_transfer_is_active'

Just saw that in installation instruction, after checking my files i saw that they have different sizes. looks like according to this code file size have to be exatly 108644374730 or it wont be validated as successful plot. but all plots are valid even they have different sizes...

@maxbelz
Copy link
Author

maxbelz commented May 19, 2021

ok, sorry looks like you fixed it in Fixed get_list_of_plots() #11 right?

@rjsears
Copy link
Owner

rjsears commented May 19, 2021

Not really, the plot_size is the minimum size of the plot, not the exact size of the plot.

plot_to_process = [plot for plot in pathlib.Path(plot_dir).glob("*.plot") if plot.stat().st_size > plot_size]

@rjsears
Copy link
Owner

rjsears commented May 26, 2021

Please feel free to reopen if you need moren information.

@rjsears rjsears closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants