# Error: SubstrateService(Other("Failed to build a full subspace node: IO Error"))

**URL:** <https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175>\
**Category:** Support\
**Tags:** gemini\
**Created:** [June 1, 2022, 11:22pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175 "2022-06-01T23:22:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeryogaLeshii](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/seryogaleshii/32/551_2.png) [@SeryogaLeshii](https://forum.autonomys.xyz/u/SeryogaLeshii)\
**Post date:** [June 1, 2022, 11:22pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/1 "2022-06-01T23:22:51Z")

</div>

```auto
Error: SubstrateService(Other("Failed to build a full subspace node: IO Error"))
2022-05-31 20:14:06 Subspace
2022-05-31 20:14:06 ✌️ version 0.1.0-unknown
2022-05-31 20:14:06 ❤️ by Subspace Labs <https://subspace.network>, 2021-2022
2022-05-31 20:14:06 📋 Chain specification: Subspace Gemini 1
2022-05-31 20:14:06 🏷 Node name: DEMonk
2022-05-31 20:14:06 👤 Role: AUTHORITY
2022-05-31 20:14:06 💾 Database: ParityDb at /home/subspace/.local/share/subspace/node/chains/subspace_gemini_1a/paritydb/full
2022-05-31 20:14:06 ⛓ Native runtime: subspace-0 (subspace-0.tx0.au0)

```

I have a lot of free space on disk. I have read/write permission. I have built it from source, but error also occurs when using the pre-built binary.  
I use this command to start node:

```bash
subspace-node --chain gemini-1 --execution wasm --base-path /home/subspace/.local/share/subspace/node --pruning 1024 --keep-blocks 1024 --validator --in-peers=512 --out-peers=512 --name DEMonk

```

I’m using Arch Linux x86\_64.  
Logs from the pre-built binary:

```auto
Error: SubstrateService(Other("Failed to build a full subspace node: IO Error"))
2022-06-01 23:27:38 Subspace
2022-06-01 23:27:38 ✌️ version 0.1.0-38eb757fe63
2022-06-01 23:27:38 ❤️ by Subspace Labs <https://subspace.network>, 2021-2022
2022-06-01 23:27:38 📋 Chain specification: Subspace Gemini 1
2022-06-01 23:27:38 🏷 Node name: DEMonk
2022-06-01 23:27:38 👤 Role: AUTHORITY
2022-06-01 23:27:38 💾 Database: ParityDb at /home/subspace/.local/share/subspace/node/chains/subspace_gemini_1a/paritydb/full
2022-06-01 23:27:38 ⛓ Native runtime: subspace-0 (subspace-0.tx0.au0)

```

Error occurs after this system call:

```auto
futex(0x7fc6506272d0, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 276623, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Resource temporarily unavailable)

```

I noticed that the error only appears with the `--chain gemini-1` flag

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [June 2, 2022, 6:30pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/2 "2022-06-02T18:30:38Z")

</div>

Does `/home/subspace/.local/share/subspace` already exist? Node will only create a directory on one level.

The default is `/home/subspace/.local/share/subspace-node`, which should be acceptable I think.

Also why do you want customize it if it is not a secret?

---

<div class="post-metadata">

**Author:** ![SeryogaLeshii](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/seryogaleshii/32/551_2.png) [@SeryogaLeshii](https://forum.autonomys.xyz/u/SeryogaLeshii)\
**Post date:** [June 2, 2022, 6:34pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/3 "2022-06-02T18:34:00Z")

</div>

Yes. Directory is exists. I am using a separate drive for the Subspace node which I have mounted to this directory.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nazar-pc/32/6_2.png) [@nazar-pc](https://forum.autonomys.xyz/u/nazar-pc)\
**Post date:** [June 2, 2022, 6:41pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/4 "2022-06-02T18:41:20Z")

</div>

Then check permissions, it might not be able to write there

---

<div class="post-metadata">

**Author:** ![SeryogaLeshii](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/seryogaleshii/32/551_2.png) [@SeryogaLeshii](https://forum.autonomys.xyz/u/SeryogaLeshii)\
**Post date:** [June 2, 2022, 8:15pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/5 "2022-06-02T20:15:22Z")

</div>

So. I was able to get more detailed error output thanks to the 2eadfd4228918fe39fa472ed98a67bab925f888c commit. Error:

```nohighlight
Error: SubstrateService(Other("Failed to build a full subspace node: Sub(Telemetry(IoError(Custom { kind: Other, error: \"Error parsing resolv.conf: InvalidOption(3)\" })))"))

```

If you have an unknown error, then try switching to the desired commit:

```bash
git checkout 2eadfd4228918fe39fa472ed98a67bab925f888c

```

The cause of the error itself was the presence of the `trust-ad` option in `resolv.conf`  
Example:

```nohighlight
options edns0 trust-ad

```

Thanks everyone for the help!

---

<div class="post-metadata">

**Author:** ![SubspaceChaD](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/subspacechad/32/201_2.png) [@SubspaceChaD](https://forum.autonomys.xyz/u/SubspaceChaD)\
**Post date:** [June 14, 2022, 9:17pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/7 "2022-06-14T21:17:58Z")

</div>

Hello SubspaceChad here,  
Running on MacOS, trying to connect to an external hard drive. Having trouble with the terminal. I have to run on CLI because the desktop app doesn’t update with the available storage. I’ve attached the screenshots of the errors that keep coming up for the farmer and the node in terminal. Any help? Please and thank you.

 ![Screen Shot 2022-06-14 at 3.57.25 PM](https://canada1.discourse-cdn.com/flex011/uploads/subspace/original/1X/1606a9f4e1f470890a35ec76e6f970e0ea060e95.png)

---

<div class="post-metadata">

**Author:** ![SubspaceChaD](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/subspacechad/32/201_2.png) [@SubspaceChaD](https://forum.autonomys.xyz/u/SubspaceChaD)\
**Post date:** [June 14, 2022, 9:18pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/8 "2022-06-14T21:18:44Z")

</div>

![Screen Shot 2022-06-14 at 3.57.34 PM](https://canada1.discourse-cdn.com/flex011/uploads/subspace/original/1X/9e8982c69f1f54a6bc42d872f1b182ef7a2dae65.jpeg)

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [June 14, 2022, 9:58pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/9 "2022-06-14T21:58:16Z")

</div>

You will want to ensure the volume has proper permissions to be written to by Subspace node and farmer. Its generally best to just allow the drive to be written to by anyone

---

<div class="post-metadata">

**Author:** ![ryan.yy.yeung](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/ryan.yy.yeung/32/326_2.png) [@ryan.yy.yeung](https://forum.autonomys.xyz/u/ryan.yy.yeung)\
**Post date:** [June 15, 2022, 11:36pm UTC](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/10 "2022-06-15T23:36:48Z")

</div>

[https://docs.subspace.network/protocol/farm/farming/](https://docs.subspace.network/protocol/farm/farming/)

Step 3 of the farming instructions may help. I am going to create a new post about your issue, please discuss further errors there.

> [@Permission Denied Error](https://forum.autonomys.xyz/t/permission-denied-error/370):
>
> Separate post for @SubspaceChaD error. “Running on MacOS, trying to connect to an external hard drive. Having trouble with the terminal. I have to run on CLI because the desktop app doesn’t update with the available storage. I’ve attached the screenshots of the errors that keep coming up for the farmer and the node in terminal. Any help? Please and thank you.”
