What are the possible reason for this error?

Issue Report

The subspace farmer failed to start, what is the reason for this error?

Environment

  • Operating System: Ubuntu 1804 aarch54
  • Pulsar/Advanced CLI/Docker: CLI

Problem

The subspace farmer failed to start, what is the reason for this error?
subspace-farmer farm
–node-rpc-url ws://localhost:9944
–reward-address stXXX
path=/data/farm/,size=20GiB

[Paste any errors or relevant logs here]
2022-10-23T00:20:48.753160Z INFO subspace_networking::constructor: DSN instance configured. allow_non_global_addresses_in_dht=false peer_id=12D3KooWM2rszt4M6ervw7ottxU6fbD9X8MsNuKuVYFbfUKF1fyG protocol_version=/subspace/2/0c121c75f4ef450f40619e1fca9d1e8e7fbabc42c895bc4790801e85d5a91c34
Error: Transport creation error: failed to build transport: io error: No such file or directory (os error 2)

I’m not quite familiar with Linux but I think you specified wrong path. It shoud be path=/data/farm,size=20GiB ???

Removed the last '' from path, still failed to run farmer.
./subspace-farmer farm --node-rpc-url ws://192.168.0.11:9944 --reward-address st9K5vay1b8Jct6M6Jh9dzNUcLFz8NitmWEXyEBncYttVUTgh path=/data/farm,size=20GiB
2022-10-23T11:47:35.881966Z INFO subspace_farmer::commands::farm: Connecting to node RPC url=ws://203.228.4.24:9944
2022-10-23T11:47:35.890511Z INFO subspace_networking::constructor: DSN instance configured. allow_non_global_addresses_in_dht=false peer_id=12D3KooWM2rszt4M6ervw7ottxU6fbD9X8MsNuKuVYFbfUKF1fyG protocol_version=/subspace/2/0c121c75f4ef450f40619e1fca9d1e8e7fbabc42c895bc4790801e85d5a91c34
Error: Transport creation error: failed to build transport: io error: No such file or directory (os error 2)

Do you have a /data path setup? Can you ls /data?

Most likely you didn’t set correct permissions for /data/farm or disk is not mounted or something like that.

Can you provide output of mount and/or df -h?