Creating a Volume from a Snapshot

AI Tools

Volumes are block storage devices that you attach to instances to enable persistent storage. You can attach a volume to a running instance or detach a volume and attach it to another instance at any time. You can also create a snapshot from or delete a volume. Only administrative users can create volume types.

After you create one or more volumes, you can attach them to instances. You can attach a volume to one instance at a time.

The following screenshot illustrates how to create a volume from a snapshot in Lightbits.

Creating Volume vol2 from S1 and Attaching It

openstack volume create vol2 --snapshot s1
openstack server add volume vm6 vol2