What to do if you terminate a VM by mistake

As part of the current efforts at house cleaning to rid CLIMB of inactive VMs, I terminated a VM in my group that I thought was inactive, but was in fact being used by a collaborator. Luckily, the way things work, it was relatively easy to restore access to the volume attached to the VM.

To do this, you need to go to the Advanced Interface option on Bryn, then log into Horizon using the credentials specified by Bryn. There you will see a list of all the volumes associated with your user account.

Select the volume of interest and then follow instructions in this tutorial under the heading “Attach to Instance”:

If you don’t want to use one of your other group instances, you should make a new one first using Bryn.

Some background on relevant Linux stuff:
https://help.ubuntu.com/lts/installation-guide/armhf/apcs04.html explains how devices are named in Linux
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s1-sysinfo-filesystems explains the command “lsblk”