On your farmer, get your IP address:
$ ip a
On your internet router, setup port forwarding for 8444 ->
On your farmer, open the port in your firewall:
$ sudo ufw allow 8444/tcp
Use an online port checking website to verify that your 8444
port is open.
You can list available local hard drives to mount with:
$ lsblk
You need to make sure you have mount directories for the drives:
$ mkdir /mnt/hdd
$ mkdir /mnt/hdd2
$ mkdir /mnt/ssd
$ mkdir /mnt/ssd2
$ mkdir /mnt/chchchia-volume1
$ mkdir /mnt/chchchia-volume2
$ mkdir /mnt/chchchia-volume3
$ mkdir /mnt/chchchia-volume4
$ mkdir /mnt/chchchia-volume5
Then you can mount the drives:
# Internal drives
$ sudo mount /dev/sdb /mnt/hdd
$ sudo mount /dev/sdd /mnt/hdd2
# SSDs for plotting
$ sudo mount -t xfs -o discard /dev/sda /mnt/ssd
$ sudo mount -t xfs -o discard /dev/sdc /mnt/ssd2
# External drives
$ sudo mount -t nfs 169.254.250.65:/volume1/volume1shared /mnt/chchchchia-volume1
$ sudo mount -t nfs 169.254.250.65:/volume2/volume2shared /mnt/chchchchia-volume2
$ sudo mount -t nfs 169.254.250.65:/volume3/volume3shared /mnt/chchchchia-volume3
$ sudo mount -t nfs 169.254.250.65:/volume4/volume4shared /mnt/chchchchia-volume4
$ sudo mount -t nfs 169.254.250.65:/volume5/volume5shared /mnt/chchchchia-volume5
chia start farmer
– Starts the farmer, harvester, bode, and walletchia start farmer -r
– Restarts everythingchia init
– Migrates files from an old version to the latest version after an updatechia start node
– Starts node onlychia start node -r
– Restarts the nodechia plots check
– Checks all plot fileschia show -s
– Show status of nodechia show -c
– Show connectionschia farm summary
– Show summary of the farmerchia wallet show
– Show wallet datachia keys generate
– Generate keyschia keys add
– Add keys / seedchia stop -d all
– Turn off all Chia serviceschia netspace
– Show the current size of the networkchia version
– Shows the current chia versionchia configure --set-log-level INFO
- Setting the log level to info
$ tail -f -n 5000 ~/.chia/mainnet/log/debug.log
You can figure out how many cores your machine has with:
$ lscpu
Getting info about the madmax plotter:
$ chia plotters madmax -h
Get the farmer key with:
$ chia keys show
# Farmer: b4037a7138d5757e62c4494bce69199faf7a9cd79aa71c+++++++++++++++++++++++++++
Get the pool contract address:
$ chia plotnft show
# Pool contract: xch1sff6x4292lh6l4mxx7s4egz7vt8++++++++++++++++++++
You can get information about the hard drives on your machine:
$ sudo lshw -class disk -class storage
# tmpdir = /mnt/ssd
# final dir = /mnt/hdd
Plotting with madmax:
- -k = size
- -r = threads (1 per core)
- -n = number of plots
- -t = tmp directory
- -d = final directory
- -f = farmer key
- -c = contract address
$ chia plotters madmax -k 32 -r 24 -n 1 -t /mnt/ssd -d /mnt/hdd -f <farmer-key> -c <contract-address>