Additional Volumes can be added to new container workloads and virtual machines (VMs) to expand the overall storage space allotted to each instance of the workload upon creation. This space can be used for storing logs or any other miscellaneous content stored by your workload.
When attached to a Container, Additional Volumes will be treated as ephemeral storage, along with the rest of the container's content. Additional Volumes can only be added to new Workloads.
Setting Up Additional Volumes
Setting up Additional Volumes is easy, and is included in part of the workload creation process. During this process, there will be the option to set up an Additional Volume by specifying the Mount Path, and the storage size.
- Enter your desired mount path
- Enter the amount of storage you would like to add.
This option can be configured with up to 1000GB of storage. If you require more storage space, it is recommended to use StackPath's Object Storage.
Finding the Volume
When using SSH to connect to your workload, you can navigate to the additional volume in the directory specified upon creation. For this example, the volume was mounted in
/mnt/example. You can verify the existence of the mount using the
df-h command on any VM workload, or Linux based container.
The line highlighted in green below shows our Additional Volume.
~$ df -h