My Umbrel is running in Ubuntu installed on SDD.
I would like to store blk*****.dat and rev*****.dat in another HDD, but index in SSD.
I tried symbolic link (soft link) as explained below, but it didn’t work.
https://en.bitcoin.it/wiki/Splitting_the_data_directory
debug said
bitcoind_1 | 2023-05-25T03:55:17Z Checking all blk files are present…
bitcoind_1 | 2023-05-25T03:55:17Z Unable to open file /data/.bitcoin/blocks/blk00000.dat
bitcoind_1 | 2023-05-25T03:55:17Z : Error loading block database.
bitcoind_1 | Please restart with -reindex or -reindex-chainstate to recover.
So I tried another method by editing ~/umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf to tweak blocksdir.
#Load additional configuration file, relative to the data directory.
includeconf=umbrel-bitcoin.conf
blocksdir=mnt
but debug said
bitcoind_1 | Error: Specified blocks directory “mnt” does not exist.
or
bitcoind_1 | filesystem error: cannot create directories: Permission denied [/mnt/blocks]
bitcoind_1 | bitcoin in AppInit()
bitcoind_1 |
bitcoind_1 |
bitcoind_1 |
bitcoind_1 | ************************
bitcoind_1 | EXCEPTION: NSt10filesystem7__cxx1116filesystem_errorE
bitcoind_1 | filesystem error: cannot create directories: Permission denied [/mnt/blocks]
bitcoind_1 | bitcoin in AppInit()
I found out Umbrel on Rasberry only supports one drive, but Ubuntu version should support multiple drives, right? but I’m too dumb to find out how.
Is there anyone who succeeded in storing blk*****.dat and rev*****.dat in different drive?
Please help me out.
I mounted HDD to “blocks” folder but index folder is also trapped in HDD. I want to leave index folder in SSD for performance. If I make soft link for index, Umbrel debug said
.
bitcoind_1 | 2023-05-25T19:45:59Z filesystem error: status: Symbolic link loop [/data/.bitcoin/blocks/index]
bitcoind_1 | 2023-05-25T19:45:59Z : Error opening block database.
.
I want to hodl my bitcoins rather than selling it for another SSD.