Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
crypto_curious
on 05/09/2022, 19:43:25 UTC
Drive Almost Full - 456.74GB out of 457.45GB used ... what happens next.

Anyone have any idea what happens the drive finally is full on the miner? I've been watching the drive space dwindle now for the last couple of weeks and I'm pretty sure that sometime between Sunday and Wednesday of this week it's finally going to happen. So that said what will happen, will the units, die, will there be an automatic FIFO delete?

Is there a good idea of what can be deleted via SSH'ing into the box, I don't use the node but it has run and I'm sure there is data in there that could free up some space if someone can tell me what to delete that won't cripple the miner.

Looking for suggestions.

Thanks

futurebit@futurebit-btc:/$ df
Filesystem     1K-blocks      Used Available Use% Mounted on
udev             1902880         0   1902880   0% /dev
tmpfs             395612     15996    379616   5% /run
/dev/mmcblk1p1  14899824   5905236   8815336  41% /
tmpfs            1978056         0   1978056   0% /dev/shm
tmpfs               5120         4      5116   1% /run/lock
tmpfs            1978056         0   1978056   0% /sys/fs/cgroup
tmpfs            1978056         8   1978048   1% /tmp
/dev/zram1         49584     10632     35368  24% /var/log
/dev/nvme0n1p1 479669928 478929108    236052 100% /media/nvme
tmpfs             395608         8    395600   1% /run/user/111
tmpfs             395608         8    395600   1% /run/user/1000
futurebit@futurebit-btc:/$



Best bet is to do like lots of us have done and upgrade to a 1TB SSD. But to answer your question, I have no idea what will happen once you reach max capacity. I'd imagine you'll just stop downloading new blocks

Yes all Batch 1-2 Apollos will need to upgrade their SSD drive soon. If you dont your node will stop working.

As we mentioned from the beginning we did this on purpose since 1TB drives were nearly 200 USD then. You can get good 1TB drives for around 75 USD now, and a 1TB drive will last at least 4 years even if every block is full going forward.


Easy fix for this is blockchain pruning, its bitcoin core configuration setting.

Code:
How do I use the prune option in Bitcoin core?

The command that you need to reduce storage size is prune=N where N is the target size in MiB that you’d like to allow.

prune=0 – Disables pruning mode

prune=1 – Allows manual pruning via RPC

prune=550 –  Automatically deletes previous block files to stay below this target size.

I think you could add this bitcoind configuration option to GUI, as soon as possible. Otherwise, hundreds of nodes will go offline, I suspect that bitcoind will refuse to work if no storage space is detected.

Alternatively, please make simple instruction how users can enable this option in their config files inside Apollo so their bitcoin node continue to work.