You should mount your disk first via /etc/fstab
, make sure that it’s available after reboot, then create a folder on the disk and then create another two folders inside it - one for identity and the second - for storage.
And with folder for identity
/mnt/storj
/storagenode
/storage
/blob
/blobs
/garbage
/temp
/trash
/bandwidth.db
/heldamount.db
/info.db
/notifications.db
/orders.db
/pieceinfo.db
/piece_expiration.db
/piece_spaced_used.db
/pricing.db
/reputation.db
/satellites.db
/storage_usage.db
/used_serial.db
/identity
/ca.1560971067.cert
/ca.cert
/ca.key
/identity.1560971067.cert
/identity.cert
/identity.key
You can read how to mount a disk here: How do I setup static mount via /etc/fstab for Linux? - Storj Docs
In your docker run
you will specify the --mount type=bind,source=/mnt/storj/storagenode,destination=/app/config
and --mount type=bind,source=/mnt/storj/storagenode/identity,destination=/app/identity