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.

GUI: Farming status is green "Farming" but plots are unmounted

See original GitHub issue

v1.0.0

I was checking status of farming via GUI (x11vnc headless) once a day on my storage “server” and everything was OK image

I went to add new plotted plots to my farm and find out that exernal drive has been unmounted 3 days ago due to error, dmesg:

[Wed Mar 24 16:16:05 2021] print_req_error: I/O error, dev sdb, sector 0
[Wed Mar 24 16:16:05 2021] sd 8:0:0:0: [sdb] Synchronizing SCSI cache
[Wed Mar 24 16:16:05 2021] sd 8:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[Wed Mar 24 16:16:06 2021] Buffer I/O error on dev sdb1, logical block 243826688, lost sync page write
[Wed Mar 24 16:16:06 2021] JBD2: Error -5 detected when updating journal superblock for sdb1-8.
[Wed Mar 24 16:16:06 2021] Aborting journal on device sdb1-8.
[Wed Mar 24 16:16:06 2021] Buffer I/O error on dev sdb1, logical block 243826688, lost sync page write
[Wed Mar 24 16:16:06 2021] JBD2: Error -5 detected when updating journal superblock for sdb1-8.
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] 488378645 4096-byte logical blocks: (2.00 TB/1.82 TiB)
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] Write Protect is off
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] Mode Sense: 4f 00 00 00
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] Optimal transfer size 268431360 bytes
[Wed Mar 24 16:17:14 2021]  sdb: sdb1
[Wed Mar 24 16:17:14 2021] sd 7:0:0:0: [sdb] Attached SCSI disk

I think it was caused physically by me (pushed with hand into USB connector when I was removing another USB drive). But after that I checked via GUI whether everything is OK, but was not 😃

so I checked CLI and found out

$ chia plots check
17:57:20.154  src.plotting.check_plots         : INFO     Loading plots in config.yaml using plot_tools loading code

17:57:30.672  src.plotting.plot_tools          : INFO     Searching directories ['/mnt/2tb_sg_backup/chia-network/created_plots']
17:57:30.672  src.plotting.plot_tools          : WARNING  Directory: /mnt/2tb_sg_backup/chia-network/created_plots does not exist.
17:57:30.673  src.plotting.plot_tools          : INFO     Loaded a total of 0 plots of size 0.0 TiB, in 0.07572340965270996 seconds
17:57:30.673  src.plotting.check_plots         : INFO
17:57:30.673  src.plotting.check_plots         : INFO
17:57:30.673  src.plotting.check_plots         : INFO     Summary
17:57:30.673  src.plotting.check_plots         : INFO     Found 0 valid plots, total size 0.00000 TiB

But in GUI: image

After I mounted drive again it’s working:

17:59:34.965  src.plotting.check_plots         : INFO     Summary
17:59:34.965  src.plotting.check_plots         : INFO     Found 3 valid plots, total size 0.50695 TiB
17:59:34.965  src.plotting.check_plots         : INFO     1 plots of size 32
17:59:34.966  src.plotting.check_plots         : INFO     2 plots of size 33

But how can I check that I’m really farming? I’m really not sure. Thank you in advance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
Dravenexcommented, Mar 27, 2021

Yeah, I have the same problem. GUI says “farming” but “Last Attempted Proof” is hours ago. Normally it should update every few seconds. I discovered that restarting the process “start_farmer.exe” starts farming again. But a few minutes/hours later the same problem happens. It’s pretty annoying. Because of this issue I “farmed” 3 days without getting rewards. I’m on Windows 10.

0reactions
Dravenexcommented, Apr 11, 2021

My farmer paused again at 17:51. Debug Log says the following:

14:46:14.431 full_node full_node_server : WARNING Cannot write to closing transport 72.49.99.37 17:51:52.382 harvester src.harvester.harvester : ERROR Error using prover object Destination buffer is too small 17:51:52.383 harvester src.harvester.harvester : ERROR File: J:\plot-k32-2021-02-18-12-33-4c5973a824dcd2c92b1638295cb72489a237326e1faca558331937705a74b4a1.plot Plot ID: b’LYs\xa8$\xdc\xd2\xc9+\x168)\\xb7$\x89\xa272n\x1f\xac\xa5X3\x197pZt\xb4\xa1’, challenge: b2121b33341a9810487e558b28058d19ff9c9b36ada75e14f8eb402103571732, plot_info: PlotInfo(prover=<chiapos.DiskProver object at 0x0000016A0E7C4EB0>, pool_public_key=<G1Element 9089f325b108afe4915ee653d0ce3df14d6e3bda3608c1e816a467c68182b7dd34e54223062b4219abc792838baad341>, pool_contract_puzzle_hash=None, plot_public_key=<G1Element 805487d7ae9cc8f31ce6f896afb54f0c3c1fc81dbf5bab3d7b83465d919b4b98cf95ef567a232c0a42b1b8b0f6a78893>, file_size=108812303821, time_modified=1613768061.0)

Every time this happens, restarting the service “start_farmer” helps. But unfortunately there is no notification when “Latest proof attempts” get stucked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] Farmer with no local plots shows no activity for remote ...
In a remote GUI connected to farmer node without local plots, the 'Farm' tab should show statistics and summary for all connected harvesters....
Read more >
What are buffer zones and why does my farm need them?
According to the USDA organic regulations, a buffer zone is “an area located between a certified production operation or portion of a production...
Read more >
Check Chia Debug log, GUI doesn't warn you. NAS ... - YouTube
There is a very important error message that's added to the Debug logs, it's important that you watch the video if you are...
Read more >
Small and Minority Farm Program - Frequently Asked Questions
A farm is a tract of land cultivated for the purpose of agricultural production. ... But you may not realize that your woodland...
Read more >
How to Start a Farm: Beginning Farmers and Ranchers
Learn how USDA can help new farmers with a variety of programs and services ... Access to capital enables you to buy or...
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