question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plotman plots into all destination drives regardless of free space available in a drive

See original GitHub issue

Describe the bug I have a script to fill 2 external HDs at a time. When both were around 90% full I stopped the process, connected another 5 HDs (all empty), and switched to plotman (v 0.3.1). I listed all 7 HDs as dst in the config file. After a while both of the first two HDs had 0% free space left while the other 5 had had free space down in similar amounts which is expected. In each of the 2 HDs that are 100% I found a partially constructed plot which had to be deleted I suppose. Then I used plotman to kill the remaining plotting processes still with those two HDs as destination drives (there were a total of 4 that were killed like this).

To Reproduce

Steps to reproduce the behavior, e.g.:

  1. Set up config with all 7 HDs as dst drives. 2 were 90% full, 5 were 1% full.
  2. Run other programs ‘…’
  3. Run Plotman with plot
  4. See error

Expected behavior Plotman is expected to load balance between the dst drives, but why would it continue writing to a dst drive if it doesn’t have enough free space to hold a completed plot?

System setup:

  • OS: Ubuntu Server 20.04 LTS
  • Method of archiving: None. Section commented out in config file.

Config

full configuration
# paste your complete configuration file contents here.

Additional context & screenshots

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:28

github_iconTop GitHub Comments

1reaction
altendkycommented, Jun 4, 2021

dst is meant as a buffer. Archive is meant to distribute plots to their final resting place. Presently, it is annoying to setup archiving for local drives since you have to use rsyncd regardless. There’s a fix for that but we need a bit more testing and documentation work. It will be in the next release.

why would it continue writing to a dst drive if it doesn’t have enough free space to hold a completed plot?

Because dst is a buffer. It is meant to be continuously cleared by archiving, or your own alternative to archiving. As such, the free space available when a plot starts is expected to have no relevance to the amount of free space when the plot ends hours later.

0reactions
altendkycommented, Jul 24, 2021

I second that.

Yesterday, one destination drive run out of the free space. Plotman happily plots to full destination drive again despite there is 5 more drives with enough free space 😉

What is point of checking free disk space if Plotman still use drive for plotting?

Available space is being checked for archiving disks not dst. See an explanation of archiving, including why, in the archiving wiki page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plotman is stuck tring to write to full drive even though a free ...
Plotman doesn't check if drives are full. It assumes you're archiving the plots off the destination drives to their final resting place. I...
Read more >
How do you set up plotman if you don't have any buffer drives ...
I've read the instructions on Github like 10 times now, but those only explain the setup for archiving/rsyncing to a remote as a...
Read more >
Plotman - Automate and Manage Chia Plotting - Chia Decentral
Plotman is a tool for managing Chia plotting operations. It allows you to configure parameters for scheduling plot jobs, typically in a ...
Read more >
Legal and Operational Guide for Free Medical Clinics
The Free or Charitable Medical Clinic continues to serve as an important safety net for millions of under- and uninsured individuals throughout the...
Read more >
Hillsdale College - Catalog
Wellness Center for information) and are provided free of charge for students. ... Hillsdale's founders opened the doors to all, regardless of race...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found