<blockquote>
<p>It looks like db/immutable is the culprit taking almost 100g of spac</p>
</blockquote>
<p>Yes, that is part of the <code>cardano-node</code>'s on disk storage. I have just checked mine (on Linux) and the disk space used is only 72G. Looks like you may have some extra files in there taking up space.</p>
<blockquote>
<p>Is this possibly cardano-db-sync which I'm running by mistake?</p>
</blockquote>
<p>Very unlikely. Look at the logs. If its <code>db-sync</code> it will very clearly say so. Likewise with the node.</p>

CC BY-SA 4.0
2022-07-24T06:59:25.687Z
2022-07-24T07:12:29.663Z
2022-07-24T07:12:29.663Z
Erik de Castro Lopo
<p>db/immutable looks like the db for the Cardano node (please make sure, check full path). If so, it is safe to, stop the node, and then delete the contents of the db directory, but you will need to wait for a full sync after starting it again (which will take some time and around 72G of space once complete), or you could copy the directory from another node (i.e. one relay), and then start the node to finish sync, which will save you some time.</p>
<p>About checking for other services running, please check i.e. :</p>
<pre><code>systemctl | grep running
systemctl list-unit-files | grep enabled 
ps aux
</code></pre>
<p>If you think another process is writing to the directory, you could gather extra information using iotop or fatrace, i.e.:</p>
<pre><code>sudo apt-get install fatrace
sudo fatrace | grep immutable
</code></pre>
<p>Cheers,
Josep</p>

CC BY-SA 4.0
2022-07-27T12:07:27.607Z
2022-07-28T14:49:41.303Z
2022-07-28T14:49:41.303Z
Josep M Homs
<p>I'm getting errors when starting up my producer suggesting I'm out of storage. It looks like db/immutable is the culprit taking almost 100g of space. I'm not super familiar with what this db is or what writes to it.</p>
<p>Is this possibly cardano-db-sync which I'm running by mistake? Is this unneeded for my producer and is it possible to safely delete these files and remove whatever process is writing them?</p>

<cardano-cli><cardano-node><cardano-db-sync>
No space left on device, cardano-db-sync to blame?
# No space left on device, cardano-db-sync to blame?

(Asked by: username_0 on 2022-07-24)

I'm getting errors when starting up my producer suggesting I'm out of storage. It looks like db/immutable is the culprit taking almost 100g of space. I'm not super familiar with what this db is or what writes to it.

Is this possibly cardano-db-sync which I'm running by mistake? Is this unneeded for my producer and is it possible to safely delete these files and remove whatever process is writing them?

**Tags:** cardano-cli, cardano-node, cardano-db-sync

---

## 2 answers

### Answer by username_1 on 2022-07-24. Score: 2

> It looks like db/immutable is the culprit taking almost 100g of spac

Yes, that is part of the `cardano-node`'s on disk storage. I have just checked mine (on Linux) and the disk space used is only 72G. Looks like you may have some extra files in there taking up space.

> Is this possibly cardano-db-sync which I'm running by mistake?

Very unlikely. Look at the logs. If its `db-sync` it will very clearly say so. Likewise with the node.


---

### Answer by username_2 on 2022-07-27. Score: -1

db/immutable looks like the db for the Cardano node (please make sure, check full path). If so, it is safe to, stop the node, and then delete the contents of the db directory, but you will need to wait for a full sync after starting it again (which will take some time and around 72G of space once complete), or you could copy the directory from another node (i.e. one relay), and then start the node to finish sync, which will save you some time.
About checking for other services running, please check i.e. :
systemctl | grep running
systemctl list-unit-files | grep enabled 
ps aux

If you think another process is writing to the directory, you could gather extra information using iotop or fatrace, i.e.:
sudo apt-get install fatrace
sudo fatrace | grep immutable

Cheers,
Josep


---

