智能
助手
最大化  清空记录 停止  历史记录
翻译选中文本
选中一段文本后进行翻译
名词解释
选中一段文本后进行名词解释
知识图谱生成
通过图谱展示知识信息
登录用户在知识浏览页面可用
答案生成
AI自动回答一个问答功能中的问题
登录用户在问答浏览页面,且问题开放回答中可用
知识摘要
自动为当前知识生成摘要
知识浏览页面可用
知识问答
针对当前知识进行智能问答
知识浏览面可用
   1304  
查询码: 00000070
手动终止 Faulty的扇区
作者: 文艺范儿 于 2021年08月19日 发布在分类 / 挖矿 / wd ,于 2021年08月19日 编辑
lotus

你可能会遇到这种情况,有些错误扇区可能由于文件损坏了,一直恢复不了,结果在区块浏览器老是显示有几个错误扇区,这个时候你们老板说这样业务数据不好看,影响销售,让你把这几个错误扇区 抹掉。

##删除Faulty扇区

先估算一下终止扇区需要支付多少币,然后确保你 Owner 钱包余额要大于这个值。
 export LOTUS_PATH=<lotus-path>
 export LOTUS_MINER_PATH=<lotus-miner-path>
 # usage
 ./lotus-shed sectors termination-estimate <Sector-IDS> # 可传入多个扇区 ID
 # e.g
 ./lotus-shed sectors termination-estimate 1 2 3

然后再执行终止扇区操作:
 export LOTUS_PATH=<lotus-path>
 export LOTUS_MINER_PATH=<lotus-miner-path>
 # usage
 ./lotus-shed sectors terminate --really-do-it <Sector-IDS> # 可传入多个扇区 ID
 # e.g
 ./lotus-shed sectors terminate --really-do-it 1 2 3


##删除非Faulty的扇区

./lotus-miner sectors list --fast --events|grep CommitFailed |awk '{print $1}' >11111

root@dsf:~/lotus# cat remove.sh 
for line in $(cat 11111)
do
/root/lotus/lotus-miner sectors remove --really-do-it  $line
 done

笔记
0人参与


 历史版本

备注 修改日期 修改人
格式调整 2021-08-19 20:50:26[当前版本] 文艺范儿
创建版本 2021-08-19 19:28:45 文艺范儿

  目录
    文艺知识分享平台 -V 5.2.5 -wcp