after succesfully compiling the api and node on the raspberri pi4, I’m the happy owner of a raspberry pi safe node. ( offline now, waiting for v4 )
The pi4 here has limited disk space : 32 Go as a sd card. My /home is on the sdcard.
My understanding is that the node files are stored in ~/.safe , so the node ends up with what is left on the sd card. ( cargo eats a lot of space for compilation, btw )
So, my question is : how would I specify a directory on an exernal drive ? I have a 500 gb usb3 disk that can stay mounted, but I don’t find a config file to specify where the node files go.
Or maybe simply tricking with a symlink ?
We yet don’t have flags exposed in CLI so this can be achieved easily, moving all storage to a different place, using the components individually it’s possible I think but tedious at the moment I’d say.
I think your best option for now is to just mount your 500 gb usb3 disk on ~/.safe location ?
I had a similar issue with my ubuntu VM. A symlink worked fine if you’d rather do that than hard mount the filesystem onto ~/.safe. In my case, I wanted the additional space to be available to other users, so it worked better to create a directory on the external disk and link to it than hard mount.
hi @futuretrack ! thank you for the input.
I like it , indeed, as it would permit to leave other parts of the dd available for other stuff.
I suppose that will be the solution for me.
where .safe/node/node_connection_info.config is the file downloaded from https://sn-node.s3.eu-west-2.amazonaws.com/config/node_connection_info.config and normally used by clients.
EDIT: Corrected tr command:
can be launched from anywhere, not just the home directory