Author

Topic: Ubuntu storage with Bitcoin Core (Read 148 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 27, 2022, 02:11:10 PM
#6
You should not run Core inside a VM, unless you are testing it, because the disk is virtualized and that will cause performance issues. If you can, run it inside a container, since it avoids the overhead of a guest OS making read()/write() calls, as well as a hypervisor multiplexing all this. Most OS'es have a special filesystem for container disks that allows them to access their contents without having to make a gigantic file designated as a virtual hard disk.
legendary
Activity: 3346
Merit: 3130
December 27, 2022, 12:09:36 PM
#5
I have downloaded Core Version 23.
The Blockchain size is 500G as expected,
Still - the total amount of storage on the disk is more than 800G (which includes only this software).

I should note that I use VM on a specific 1TB SSD to run the Node.
I used Ubuntu since I have found a very good Tutorial on Youtube (although I do not have any experience with Linux...).

Looking forward to your insights,
Nir

Since the title is Ubuntu storage I will focus on that for the answer.

It's ok to run the bitcoin core under a virtual machine, since you are running ubuntu you will be able to run the core from the Bitcoin folder you downloaded before, let's say it is in the folder ~/Downloads/Bitcoin... and from there you can run the bitcoin-qt. But all the data will not get stored in that folder, the blockchain will be stored in the folder ~/.bitcoin (which is a hidden folder). In that folder you will find the .dat file where the blockchain is stored and the bitcoin.conf file to configure the RPC calls.

Please next time be more clear with the questions and we will be happy to help you.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
December 26, 2022, 04:43:29 AM
#4
Still - the total amount of storage on the disk is more than 800G (which includes only this software).

I should note that I use VM on a specific 1TB SSD to run the Node.
This sounds more like a problem with the VM, than a problem with Bitcoin Core. Did you set the VM-disk to "grow as needed"? My guess is you have 300 GB available inside the VM now, and in that case you could have been better off setting a maximum size to the VM disk.

Quote
I used Ubuntu since I have found a very good Tutorial on Youtube (although I do not have any experience with Linux...).
Does that mean you're running the VM on Windows? If so, why add a VM? If you don't trust your host OS, you can't trust your guest OS either, so it doesn't make Bitcoin Core more secure.
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
December 25, 2022, 06:14:29 PM
#3
What exactly is your problem? I don't get it but it looks like you talking about syncing issue that only downloads a few blockchains.

Have you tried to uncheck the prune on the settings?
Because if you didn't it would download only the partial blockchain disabling it will bitcoin core download the whole blockchain.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
December 25, 2022, 03:13:07 PM
#2
Is it using all of the 800GB or is that just the size that the virtual drive grew to?
Run df and check what the size and % used of the partitions are.
If everything is proper and you only have core installed you should be at a little over 500GB.

If you are running the full desktop environment and a bunch of other things it might be more, but not that much more.

-Dave
newbie
Activity: 1
Merit: 0
December 25, 2022, 03:00:31 PM
#1
I have downloaded Core Version 23.
The Blockchain size is 500G as expected,
Still - the total amount of storage on the disk is more than 800G (which includes only this software).

I should note that I use VM on a specific 1TB SSD to run the Node.
I used Ubuntu since I have found a very good Tutorial on Youtube (although I do not have any experience with Linux...).

Looking forward to your insights,
Nir
Jump to: