Attach Storage
Last updated
Last updated
Overview
Your storage volumes can be attached to bare metal GPU instances for use. Each bare metal rental can be attached to a single storage volume. A single storage volume can be attached to as many instances as you need.
There is currently no support for attaching on-demand storage to a virtualized rental.
Navigate to the My Instances page and open the Details drawer of the instance you want to attach storage to.
Tab over to the Shared Storage tab of the instance drawer.
In the options that appear either choose the storage volume you want to attach to the instance, or choose to deploy a New Shared Storage Volume to attach.
This same interface can be used to detach or switch the storage volume attached to the instance.
To mount an attached storage volume to your GPU instance, ssh into the instance (ssh command found in the instance's Details drawer under Connect).
Make sure the instance has the necessary Network File System dependency installed.
Create a directory on the system where you will mount your storage volume.
Add the configuration for your networked storage connection to the File System Table (/etc/fstab
). You need to point the configuration to the storage volume's virtual IP.
You can find this virtual ip in the Mounting your storage volume dropdown in the instance Details drawer, or in the storage entry on the My Shared Storage page.
Once you have updated the configuration in /etc/fstab
run the following command to mount the volume.
To confirm that the volume mounted correctly, run the following command and make sure you see your target drive (/data
) has been successfully connected to your storage volume's virtual IP.
You may want to unmount shared storage from a GPU instance if you are swapping out the attached storage volume (prior to attaching and mounting the new storage volume), or perhaps you are done using the storage volume and have terminated the rental.
Simply run the umount command on the mount drive to unmount the storage volume.
Make sure to remove any configuration for the storage volume previously added to the File System Table (/etc/fstab
).