Posted in Cloud, Linux, Openstack

Basic Cinder (volume) service functionality in Openstack – Part2

We saw volume creation with related issues and probable solutions.

Now we will see volume attach to VM. Create partition on it. Remove it and detach volume from VM.

Attach created volume to testvm. Following is command-line requirement for cinder volume-attach.

c20

Volume ID will get it from cinder-list use auto to autoassign the new device.

c21

You can check volume status is changed to in-use now and also changed attached with VM ID.

c22

Continue reading “Basic Cinder (volume) service functionality in Openstack – Part2”

Advertisements
Posted in Cloud, Linux, Openstack

Basic Cinder (volume) service functionality in Openstack – Part1

In this post I am going to show you basic functionality of openstack cinder (volume) service functionality by creating volume on internal storage. Attaching that volume to VM. Create partition on that volume in client machine and test partition remove and detaching volume from VM.

Lets take one running state vm for cinder testing as we can do this operation on the fly. I have one VM name testvm.

c1

Check the disk and partitions on the VM. I can access the testvm using private IP and public IP. Lets access it using private IP using unique network namespace.

First check private-net network ID and test the ping to private IP of VM using network namespace. For more details about basic networking in openstack check my last blog posts.

c2

c3

Continue reading “Basic Cinder (volume) service functionality in Openstack – Part1”