Anyone run the "chia plots check" command?

I didn’t check a ton of mine, but I ran -n 5, -n 10, etc. on a few disks and cherry picked some of the lower / higher ones for -n 100 checks. Even with only -n 100 most of them approached 1 as explained. The most extreme ones were at .9 with -n 100.

4 Likes

If you want to only find duplicate plots fast, I coded in chia plots check -n 0 -l will do the trick.

4 Likes

Why isn’t it possible to execute CLI commands with Linux? I can’t execute any. Am I in the wrong folder location?

Never mind. I found the folder.

Cool can you share the folder path for others who might look for this info later? That’d be helpful!

Wow thank you! This definitely worked; cleaned up a bunch of dupes! Appreciate that! Output looks like:

WARNING  67506dd6f81ea4ceb02eec05c1166d924d2094665a7c80bf8c7077a450b23aeb.plot found in multiple files:
        C:\mounts\hd31\plot-k32-2021-05-06-17-05-67506dd6f81ea4ceb02eec05c1166d924d2094665a7c80bf8c7077a450b23aeb.plot
        C:\mounts\hd32\plot-k32-2021-05-06-17-05-67506dd6f81ea4ceb02eec05c1166d924d2094665a7c80bf8c7077a450b23aeb.plot

It also warns you if it finds files with unusual extensions, I had a few *.plot.plot floating around. Weeding my garden… :seedling:

2 Likes

A post was split to a new topic: Plot check crashes with malloc(): invalid size (unsorted)

~/chia-blockchain/venv/bin

Hi,
I have found around 25 of 550 plots which were completely broken with this error output and deleted them:

    2021-05-29T13:23:03.230  chia.plotting.check_plots        : ERROR    <class 'RuntimeError'>: Src size is incorrect error in getting challenge qualities for plot L:\chia\plot-k32-2021-05-12-09-09-e9f1046be7d5d823561dc25e77833235128b86057e6e91aaa5ec49ae9f30a867.plot
    2021-05-29T13:23:03.231  chia.plotting.check_plots        : ERROR       Proofs 0 / 50, 0.0

But one of my plots is really strange:

    Starting to test each plot with 1000 challenges each

    2021-05-29T13:28:13.265  chia.plotting.check_plots        : INFO     Testing plot L:\chia\plot-k32-2021-05-04-02-19-5ad846f11b03fc0f7fbc31290662704d0878e47e59325b0f5e67516bce7f108d.plot k=32
    ...
    2021-05-29T13:28:13.836  chia.plotting.check_plots        : ERROR    <class 'AssertionError'>:  error in proving/verifying for plot L:\chia\plot-k32-2021-05-04-02-19-5ad846f11b03fc0f7fbc31290662704d0878e47e59325b0f5e67516bce7f108d.plot
    2021-05-29T13:28:14.239  chia.plotting.check_plots        : ERROR    <class 'AssertionError'>:  error in proving/verifying for plot L:\chia\plot-k32-2021-05-04-02-19-5ad846f11b03fc0f7fbc31290662704d0878e47e59325b0f5e67516bce7f108d.plot
    2021-05-29T13:28:14.581  chia.plotting.check_plots        : ERROR    <class 'AssertionError'>:  error in proving/verifying for plot L:\chia\plot-k32-2021-05-04-02-19-5ad846f11b03fc0f7fbc31290662704d0878e47e59325b0f5e67516bce7f108d.plot
    2021-05-29T13:28:14.581  chia.plotting.check_plots        : ERROR       Proofs 3 / 1000, 0.003
    2021-05-29T13:28:14.581  chia.plotting.check_plots        : INFO
    2021-05-29T13:28:14.582  chia.plotting.check_plots        : INFO
    2021-05-29T13:28:14.582  chia.plotting.check_plots        : INFO     Summary
    2021-05-29T13:28:14.582  chia.plotting.check_plots        : INFO     Found 0 valid plots, total size 0.00000 TiB
    2021-05-29T13:28:14.582  chia.plotting.check_plots        : WARNING  1 invalid plots found:

Do you mean sth. like this one? Or do you mean only plots which are flagged as OK but have < 0.4?

Those are probably fine, it’s only the ones where it says they are invalid that you need to worry about. In my experience if it says they are invalid, then they are!

You can run more -n 100 tests to verify if you are worried.

Thanks for posting this. 1 plot was in error, and 1 was incomplete! I am going to delete them and re-plot those.

Hey @eFishCent, thanks for asking to have us message you. I’ve gotten 7 our of 110 plots being invalid… Let me know what information you need to debug them…

I’m running this command:
.\chia.exe plots check -n 1000 --challenge-start 1350 -g "d16356ed162f40907bfa9624a91fb6984583ffd70f4cbd9fde341b7e012dbe8a"

These are the results:

2021-06-01T06:24:43.648  chia.plotting.plot_tools         : INFO     Loaded a total of 1 plots of size 0.09894170303050487 TiB, in 0.0624852180480957 seconds
2021-06-01T06:24:43.648  chia.plotting.check_plots        : INFO
2021-06-01T06:24:43.648  chia.plotting.check_plots        : INFO
2021-06-01T06:24:43.648  chia.plotting.check_plots        : INFO     Starting to test each plot with 1000 challenges each
2021-06-01T06:24:43.648  chia.plotting.check_plots        : INFO     Testing plot F:\Chia Plot Folder AB\plot-k32-2021-05-18-03-05-d16356ed162f40907bfa9624a91fb6984583ffd70f4cbd9fde341b7e012dbe8a.plot k=32
2021-06-01T06:24:43.648  chia.plotting.check_plots        : INFO        Pool public key: 96e7985913d77d2d106f62f2d9db985d8cba821ccd8ca170af4d34dbaf7ecc53eeeb0b8fc2cfe6a91a65df8596d2c076
2021-06-01T06:24:43.664  chia.plotting.check_plots        : INFO        Farmer public key: 8081105dc5a5a843eb670c5c272ce378d3f5228b978b464eb609638cadc71ba786fec7f8d9796549ce8bba0969576bcb
2021-06-01T06:24:43.664  chia.plotting.check_plots        : INFO        Local sk: <PrivateKey [redacted :zipper_mouth_face: ]>
2021-06-01T06:24:45.726  chia.plotting.check_plots        : ERROR    <class 'AssertionError'>:  error in proving/verifying for plot F:\Chia Plot Folder AB\plot-k32-2021-05-18-03-05-d16356ed162f40907bfa9624a91fb6984583ffd70f4cbd9fde341b7e012dbe8a.plot
2021-06-01T06:24:46.286  chia.plotting.check_plots        : ERROR       Proofs 4 / 1000, 0.004
2021-06-01T06:24:46.286  chia.plotting.check_plots        : INFO
2021-06-01T06:24:46.286  chia.plotting.check_plots        : INFO
2021-06-01T06:24:46.286  chia.plotting.check_plots        : INFO     Summary
2021-06-01T06:24:46.286  chia.plotting.check_plots        : INFO     Found 0 valid plots, total size 0.00000 TiB
2021-06-01T06:24:46.286  chia.plotting.check_plots        : WARNING  1 invalid plots found:
2021-06-01T06:24:46.286  chia.plotting.check_plots        : WARNING  F:\Chia Plot Folder AB\plot-k32-2021-05-18-03-05-d16356ed162f40907bfa9624a91fb6984583ffd70f4cbd9fde341b7e012dbe8a.plot

So that’s 1 of 7 bad plots. I’m running Chia 1.1.6 on Windows 10, i7-10700 CPU @ 2.90GHz, 32GB RAM, using 1TB WD NVMe SSD for Temp 1, 1TB SSD for Temp 2.

Before upgrading to Chia 1.1.6 I was just getting low results on the plots, but now that I’ve upgraded to 1.1.6 I get the “AssertionError” on all 7 plots…

Any guidance on what to do would be appreciated! I still have a few TB to fill, but in the next few days I’d love to either fix these plots or just delete and re-write them.

Thanks for everyone’s help!

I wouldn’t bother trying to fix them. Just delete and re-plot them.

1 Like

Guys what’s does this one mean?
<class ‘RuntimeError’>: Src size is incorrect error in getting challenge qualities for plot

Hey @zogstrip - I’ll probably end up doing that - but @eFishCent said “please message me. I want to debug the problem.”, so I’m just trying to contribute to the community seeing as I found these ‘bad’ plots and no immediate need to delete them.

2 Likes

Did you ever Debug? If so what steps did you take to fix? Or just replotted. Thanks ahead

I can t find the folder for checking … every time error

make sure the folder you want to check is listed as a directory in your config.yaml file.

are there differences to the following 2 commands?
I get different values from Proof’s

 .\chia plots check -n 5 -l -g J:\plot-k32-2021-07-21-00-13-bdb4fc3e7e712f6677f49117ade2583d5609bbcc09034435de0b6c4f1d30e0cb.plot

2022-02-23T13:49:30.714  chia.plotting.check_plots        : INFO        Proofs 2 / 5, 0.4
2022-02-23T13:49:30.715  chia.plotting.check_plots        : INFO
2022-02-23T13:49:30.716  chia.plotting.check_plots        : INFO
2022-02-23T13:49:30.717  chia.plotting.check_plots        : INFO     Summary
2022-02-23T13:49:30.719  chia.plotting.check_plots        : INFO     Found 1 valid plots, total size 0.09899 TiB
2022-02-23T13:49:30.719  chia.plotting.check_plots        : INFO     1 plots of size 32
.\chia plots check -g J:\plot-k32-2021-07-21-00-13-bdb4fc3e7e712f6677f49117ade2583d5609bbcc09034435de0b6c4f1d30e0cb.plot

2022-02-23T13:50:41.252  chia.plotting.check_plots        : INFO        Proofs 32 / 30, 1.0667
2022-02-23T13:50:41.253  chia.plotting.check_plots        : INFO
2022-02-23T13:50:41.254  chia.plotting.check_plots        : INFO
2022-02-23T13:50:41.254  chia.plotting.check_plots        : INFO     Summary
2022-02-23T13:50:41.255  chia.plotting.check_plots        : INFO     Found 1 valid plots, total size 0.09899 TiB
2022-02-23T13:50:41.256  chia.plotting.check_plots        : INFO     1 plots of size 32

Proofs 2 / 5, 0.4 => BAD
Proofs 32 / 30, 1.0667 => GOOD

If you don’t specify the -n, it defaults to the recommended value of 30.

In the other example you used -n 5, which is to low to be reliable.

compare it to coin toss. If you only toss 5 times you are quite likely to get more heads than tails. But it is to low sample to make any conclusions. If you toss it 30 times, you will end up having an even split between heads and tails. This is not a accurate comparison, just the same principle.

ahh… see.
Then, just for fun, I tested -n 100 and found considerably more proofs in the plot. I suspect that -n 1000 will then find even more. The question now is: How do you really find out how many proofs are in a plot?

2022-02-24T06:14:52.631 chia.plotting.check_plots : INFO Proofs 109 / 100, 1.09

Edit: --n 1000
Proofs 1018 / 1000, 1.018

30 seems to determine the profs well.
The higher you go, the more accurate it gets.
Then I got it now.