How can I create and attach a volume to an instance?

0 votes

Hi Guys,

I am new in OpenStack. I launched an instance. I tried to install some software but I don't have enough storage. How can I increase storage to my instance?

Thank You

Mar 19 in OpenStack by akhtar
• 14,930 points
30 views

1 answer to this question.

0 votes

Hi@akhtar,

To create an additional storage in OpenStack, follow the below given steps.

  1. Configure the OpenStack Compute and the OpenStack Block Storage services throug /etc/cinder/cinder.conf file.

  2. Use the openstack volume create command to create a volume. This command creates an LVM into the volume group (VG) cinder-volumes.

  3. Use the openstack server add volume command to attach the volume to an instance. This command creates a unique IQN that is exposed to the compute node.

  4. The compute node, which runs the instance, now has an active iSCSI session and new local storage (usually a /dev/sdX disk).

  5. Libvirt uses that local storage as storage for the instance. The instance gets a new disk (usually a /dev/vdX disk).

Hope this will help You.

Thank You

answered Mar 19 by MD
• 33,540 points

Related Questions In OpenStack

0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16 in OpenStack by MD
• 33,540 points
162 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 33,540 points
189 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 33,540 points
65 views
0 votes
1 answer

How to create a network in OpenStack automatically?

Hi@akhtar, To create the router automatically, provide the ...READ MORE

answered Mar 18 in OpenStack by MD
• 33,540 points
56 views
0 votes
1 answer

What are the pro/cons of adding NAS services/APIs to Cinders?

Hi@MD, Mirantis is in the business of deploying ...READ MORE

answered Mar 19 in OpenStack by akhtar
• 14,930 points
65 views
0 votes
1 answer

How do I configure Block Storage to use an NFS storage back end in OpenStack?

Hi@akhtar, You can use NFS technology for your ...READ MORE

answered Mar 19 in OpenStack by MD
• 33,540 points
107 views
0 votes
1 answer

How do I Configure GlusterFS for OpenStack Block Storage?

Hi@akhtar, To set GlusterFS as your partitioner tool in ...READ MORE

answered Mar 19 in OpenStack by MD
• 33,540 points
57 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16 in OpenStack by MD
• 33,540 points
46 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 33,540 points
82 views
0 votes
1 answer

How can I create an Alarm in OpenStack?

Hi@akhtar, An example of creating a Gnocchi threshold-oriented ...READ MORE

answered Mar 20 in OpenStack by MD
• 33,540 points
74 views