lotus-miner 设置多个存储路径

超、凢脫俗 2022-12-06 04:14 53阅读 0赞

lotus-miner 设置多个存储路径

  • 1,初始化矿工

1,初始化矿工

  1. # lotus-miner --version
  2. lotus-miner version 0.6.2+git.8b2862a1.dirty
  • 初始化矿工设置--no-local-storage

    lotus-miner init —no-local-storage —owner=t3钱包地址 —sector-size=32GiB

    cat miner/storage.json

    {
    “StoragePaths”: null
    }

    nohup lotus-miner run >> /var/log/miner/miner.log 2>&1 &

  • 设置缓存/seal为SSD

    lotus-miner storage attach —init —seal /seal

  • 设置存储目录/storage/store为HDD

    lotus-miner storage attach —init —store /storage/store

    cat miner/storage.json

    {
    “StoragePaths”: [

    1. {
    2. "Path": "/seal"
    3. },
    4. {
    5. "Path": "/storage/store"
    6. }

    ]
    }

发表评论

表情:
评论列表 (有 0 条评论,53人围观)

还没有评论,来说两句吧...

相关阅读