From 6b749d97d8f724145034190a7942a2a540c9fa83 Mon Sep 17 00:00:00 2001 From: wwwjim Date: Wed, 11 Dec 2019 04:29:48 -0800 Subject: [PATCH] documentation: mining updates from recent TestNet updates --- documentation/en/hardware-mining.md | 8 ++++++-- documentation/en/mining-troubleshooting.md | 21 ++++++++++++++++++++- documentation/en/mining.md | 2 ++ documentation/en/storing-data.md | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/documentation/en/hardware-mining.md b/documentation/en/hardware-mining.md index 045a00607..208449af5 100644 --- a/documentation/en/hardware-mining.md +++ b/documentation/en/hardware-mining.md @@ -11,8 +11,12 @@ BECAUSE OF THIS, OUR STANDARD TESTING CONFIGURATION FOR FILECOIN MAINNET CAN AND The setup below is a minimal example for sealing 32 GiB sectors on Lotus: * 3 TB of hard drive space. -* 8 to 12 core CPU -* 256 GB of RAM +* 8 core CPU +* 128 GB of RAM + +## TestNet discoveries + +* 256GB **NVMe** Swap on an SSD for anyone that has 128GB RAM to avoid out of memory issues while mining. ## Benchmarked GPUs diff --git a/documentation/en/mining-troubleshooting.md b/documentation/en/mining-troubleshooting.md index 3ca04ec56..e5fffc9b8 100644 --- a/documentation/en/mining-troubleshooting.md +++ b/documentation/en/mining-troubleshooting.md @@ -1,5 +1,13 @@ # Mining Troubleshooting +```sh +mining block failed: computing election proof: github.com/filecoin-project/lotus/miner.(*Miner).mineOne +``` + +This bug occurs when the storage miner can't acquire the `bellman.lock`. To fix it you need to stop the `lotus-storage-miner` and remove `/tmp/bellman.lock` + +## Your miner is not ready + ```sh lotus-storage-miner info # WARN main lotus-storage-miner/main.go:73 failed to get api endpoint: (/Users/myrmidon/.lotusstorage) %!w(*errors.errorString=&{API not running (no endpoint)}): @@ -7,8 +15,19 @@ lotus-storage-miner info If you see this, that means your **Lotus Storage Miner** isn't ready yet. +## Your computer is too slow + ```sh CAUTION: block production took longer than the block delay. Your computer may not be fast enough to keep up ``` -If you see this, that means your computer is too slow and your blocks are not included in the chain, and you will not receive any rewards. \ No newline at end of file +If you see this, that means your computer is too slow and your blocks are not included in the chain, and you will not receive any rewards. + +## Running out of storage + +``` +lotus-storage-miner pledge-sector +# No space left on device (os error 28) +``` + +If you see this, that means `pledge-sector` wrote too much data to `$TMPDIR` which by default is the root partition (This is common for Linux setups). Usually your root partition does not get the largest partition of storage so you will need to change the environment variable to something else. \ No newline at end of file diff --git a/documentation/en/mining.md b/documentation/en/mining.md index 38c81176f..4c7b1cdfc 100644 --- a/documentation/en/mining.md +++ b/documentation/en/mining.md @@ -65,6 +65,8 @@ lotus-storage-miner info lotus-storage-miner pledge-sector ``` +* Warning: On Linux configurations, this command will write data to `$TMPDIR` which is not usually the largest partition. You should point the value to a larger partition if possible. + Get **miner power** and **sector usage**: ```sh diff --git a/documentation/en/storing-data.md b/documentation/en/storing-data.md index ef178f94d..9bab322f8 100644 --- a/documentation/en/storing-data.md +++ b/documentation/en/storing-data.md @@ -48,7 +48,7 @@ lotus client deal ``` * Price is in attoFIL. -* The `duration`, which represents how long the miner will keep your file hosted, is represented in blocks. Each block represents 30 seconds. +* The `duration`, which represents how long the miner will keep your file hosted, is represented in blocks. Each block represents 45 seconds. Upon success, this command will return a **Deal CID**.