I want to run a full bitcoin node on ubuntu focal.
I was out of disk space so I bought a brand new 4TB USB hard drive for this.
I’ve formatted it as ext4 using the “disks” GUI.
It mounts correctly and my user can read/write files onto it.
But the bitcoin client as installed by apt-get fails to start, failing to write its config file.
It gives the following error:
Error initializing settings: Failed saving settings file:
- Error: Unable to open settings file /mnt/bigdata/crypto/bitcoin/settings.json.tmp for writing
Here’s the relevant part of /etc/fstab:
/dev/disk/by-id/usb-TOSHIBA_External_USB_3.0_20200917019302F-0:0-part1 /mnt/bigdata auto x-gvfs-show 0 0
I’ve tried creating the file manually:
No issue and same error.
I’ve tried with other filesystems, same result.
I cannot try to run bitcoin in another directory as I literally have no space left on my other devices and I don’t wanna move things to the USB drive to make room if I end up formatting it again for some reason.
I’m at loss here. Haven’t touched linux in a while so excuse me if it’s obvious.
I’ve attached a screenshot that sums up most of the information I have graphically.
Thanks for your help!