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, 2020 in OpenStack by akhtar
• 38,260 points
1,236 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, 2020 by MD
• 95,460 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, 2020 in OpenStack by MD
• 95,460 points
2,889 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, 2020 in OpenStack by MD
• 95,460 points
9,626 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, 2020 in OpenStack by MD
• 95,460 points
2,382 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, 2020 in OpenStack by MD
• 95,460 points
919 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, 2020 in OpenStack by akhtar
• 38,260 points
713 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, 2020 in OpenStack by MD
• 95,460 points
1,397 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, 2020 in OpenStack by MD
• 95,460 points
1,066 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, 2020 in OpenStack by MD
• 95,460 points
1,387 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, 2020 in OpenStack by anonymous
• 95,460 points
2,643 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, 2020 in OpenStack by MD
• 95,460 points
969 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP