Yes, the storage folder resides inside the config folder by default. Though there is a setting in the config.yaml that I think you should be able to use to change that. I have not tried this though.
# path to store data in
# storage.path: config/storage
Remove the # on the second line if you want to use it of course.
I see, the default is fine with me, I just wasnât sure that is the data folder, that looks like itâs relative to the internal filesystem structure, I thought we donât need an abstracted structure now that weâre out of a container? But itâs good to know that this can be separated in theory too.
But how do I specify the rest of the stuff thatâs in the Docker run command, i.e. the 3 addresses?
Iâve been looking at the binaryâs help, yes, but looks like Iâve missed that it actually uses the config file, we usually overrode those with command parameters, thanks.
There are âidentity.cert-pathâ and âidentity.key-pathâ parameters in the config file, are these overridden by the singular parameter ââidentity-dirâ in the run command, like in Docker versions? I.e. can I enter the three adddresses in the config file and run the binary with the two paths (data + identity) instead of three?
What is supposed to go in âcontact.external-addressâ and âserver.addressâ and what is the difference between them? I entered port in the first one but the second one only contains port with a colon, while the first one was empty. Are you supposed to enter identical address:port in both of these?
This address will be used by customers to contact your node.
Here you should specify the local address and port for binding, for example
server.address: :28967
As you can see, I omitted the address, itâs mean 0.0.0.0:28967, i.e. your node will listen on all interfaces. You can specify the address with port of the one interface instead.
I havenât yet done this myself, but from what I can tell you can setup the node with a single setup command and then run it with a run command.
This should be fairly easy to describe in some short instructions, so it might be a good idea to provide those somewhere. Now the proper way to start it on boot is a bit more tricky, but it would be nice to have some instructions on at least the setup and run steps, especially since those should be universal across OSâs.
Eventually a package install would obviously be preferred. One that guides the user through the setup process and generates an identity automatically if you specify youâre setting up a new node.
I working at this moment on FreeBSD/FreeNAS setup process (and guide too). It should be a solid stable solution, so it will take some time because I not like provide unstable/untested solutions.
Also, I should take care about proper auto updateâŚ
Thanks, I think I got it; the server.address is the actual address of the node and the contact.external-address is the address the node sends to others to contact it via, due to NAT.
Is storage2.max-concurrent-requests same as retain.concurrency?
I do not see any storage2 parameters in the new config.
Also what is the server.private-address with port 7778? I donât find it in new configuration.
And finally, I must be blind, but I donât find the STORAGE parameter anywhere, neither in command parameters nor in the config file, how do I specify that?
Old config files used to have storage.allocated-disk-space parameter, am I supposed to add that to the config?
Okay I got it to run something, thereâs some things that didnât work but for starters - how do I stop the node? Thereâs only a run command from what Iâve seen and it seems to run inside of/take over my console session with logs or w/e itâs called.
Is it safe to stop with CTRL + C? What happens if I close the SSH session that Iâve started it through? If it stops it also, is that safe?
This thread is about the FreeBSD binary, so no docker.
CTRL+C should be fine I think. I recommend using screen or tmux to easily be able to run it in a session you can detach from and reattach whenever.
But ideally you would want to install it as a service and make it start on boot. You can Google around a bit for that, but it would require some scripts and config edits.
To open Storage Node Dashboard in FreeBSD, do I run the binary with the same parameters as run command, just with ârunâ swapped with âdashboardâ?
Running binary.nothing dashboard returns similar or same errors as running the run command with no additional parameters for the first time.