Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OpenStack Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
OpenStack Essentials

OpenStack Essentials

By : Dan Radez
4.2 (14)
close
close
OpenStack Essentials

OpenStack Essentials

4.2 (14)
By: Dan Radez

Overview of this book

If you need to get started with OpenStack or want to learn more, then this book is your perfect companion. If you're comfortable with the Linux command line, you'll gain confidence in using OpenStack.
Table of Contents (15 chapters)
close
close
14
Index

Creating and using block storage


Creating a block device is as simple as specifying the size and an optional name for the block device being created.

Create two volumes, one with a display name and another without:

control# cinder create 1
control# cinder create 1 --display_name data_vol

These two commands created two virtual block devices that are 1 GB of storage space each. To see the two devices, use Cinder's list command:

control# cinder list

The two volumes will be listed with information about them. As with the components already covered, the --all-tenants option can be passed as an administrative user to see a list of all volumes that are in Cinder:

control# cinder list --all-tenants

When volumes are created, they cycle through a progression of states that indicate the status of the new block device. When the status reaches Available, it is ready to be attached to an instance.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY