ericaltendorf / plotman

Chia plotting manager
Apache License 2.0
909 stars 280 forks source link

Same drive tmp and dst #466

Open syadnom opened 3 years ago

syadnom commented 3 years ago

When using drives as both tmp and dst, plotman will somewhat randomly assign tmp and dst.

and example might be running a 1TB drive and wanting to plot on this and also use the spare space as dst.

Let's say you have 10 drives in this config. You have 10^10 pairs of tmp/dst that might randomly pop.

Would be awesome if plotman could recognize either automatically or by a key in the config that /mnt/sda is tmp and dst and that those should be the preferred pair at least until that drive is too full to receive more plots.

altendky commented 3 years ago

https://github.com/ericaltendorf/plotman/pull/234 isn't exactly what you requested, but perhaps it fills the need?

djdjukic commented 3 years ago

I have proposed a simple check (#643) for this condition because I was in the same situation as @syadnom. It seems to work fine for my use case.