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
• 4,500 points
17 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
• 8,870 points

Related Questions In OpenStack

0 votes
1 answer

How can I create a public network in OpenStack?

Hi@akhtar,  In OpenStack you are the admin of ...READ MORE

answered Mar 18 in OpenStack by MD
• 8,870 points
18 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
• 8,870 points
49 views
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
• 8,870 points
24 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
• 8,870 points
32 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
• 4,500 points
45 views
0 votes
1 answer
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
• 8,870 points
23 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
• 8,870 points
21 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
• 8,870 points
31 views
0 votes
1 answer

How can I create a network in OpenStack automatically?

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

answered Mar 18 in OpenStack by MD
• 8,870 points
20 views