If your storage volume has run out of space due to growing blockchains, you may use the following directions to resize the volume attached to your droplet.
CAUTION: Please follow this guide carefully as there are wallet files involved. In particular, don't run the commands DigitalOcean prompts you to run. Only run those in the article (accounting for differences particular to your server.)
As always, it is good policy to backup your wallet files before making changes to your droplet.
Checking current usage
You may verify the current usage of your volume with:
The volume is the partition which is mounted at /mnt/blockchains.
Resizing the volume
Within DigitalOcean, navigate to your Volumes tab, click on the More link, then choose Resize volume.
Choose an appropriate size given the current consumption of the blockchains you host. Most coin wallets run in pruned mode, meaning they will consume a constant amount of space, however Ethereum should run with a full blockchain, which may grow more rapidly than expected.
Obtaining the volume ID
Click on More, then Config Instructions. However, do not follow the instructions presented by DigitalOcean, as running these commands would wipe your volume's data.
Instead, we are only looking for the the volume ID, which in the example below is scsi-0DO_Volume_volume-nyc3-05. Record yours for use shortly.
Halting volume usage
Before resizing the volume's partition, we want to stop the services using it.
Show the current running services with:
You'll see a list of the coin wallets you've installed, along with lamassu-server and lamassu-admin-server. (However, we won't need to stop lamassu-admin-server.)
For lamassu-server and each wallet instance, run a stop command like those below:
supervisorctl stop lamassu-server
supervisorctl stop zcash
supervisorctl stop ethereum
supervisorctl stop bitcoincash
Increasing the partion size
In your droplet run the command below, replacing scsi-0DO_Volume_volume-nyc3-05 with the volume ID you obtained above:
Afterward, you may check if the operation was succesul by checking the available space on /mnt/blockchains:
Start server and wallets
Now, run start commands for each of your wallets followed by lamassu-server:
supervisorctl start zcash
supervisorctl start ethereum
supervisorctl start bitcoincash
supervisorctl start lamassu-server
After five minutes, you may verify that they have maintained five minutes of uptime and remain 'STARTED':
Now your volume is resized and your server and machine are running.