Ask Your Question
0

Managing volume: Do I have to use a whole disk for Cinder? [closed]

asked 2015-03-31 15:16:33 -0500

Campos gravatar image

updated 2015-03-31 20:22:54 -0500

smaffulli gravatar image

So I'm following this installation guide:http://docs.openstack.org/juno/install-guide/install/yum/content/cinder-install-storage-node.html

I'm trying to install Cinder for the first time, and in there it says I should create a partition that uses a whole disk for the block storage device, but I only have one hard-drive. Can I just create one partition with, let's say, 100 gb and create the block storage service there?

Actually I'm using RDO, but I decided to install Cinder manually just to understand it better. I'm using the instructions in this guide above. I have a two-node setup in my lab, with swift and nova, and I wanna install Cinder to attach volumes to my instances, for future need.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Campos
close date 2016-09-20 12:46:47.964060

Comments

Edit your question to make it more clear. Comments are harder to read.

smaffulli gravatar imagesmaffulli ( 2015-03-31 20:23:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-21 01:47:14 -0500

teju gravatar image

You have a couple of options as below:

  1. Use gparted

  2. Partition the disk using fdisk

  3. Use loop back devices - http://www.rushiagr.com/blog/2014/01/...

NOTE: I often use loop back devices for creating cinder volumes because it does not require partitioning.

edit flag offensive delete link more
0

answered 2015-03-31 15:56:50 -0500

What instructions are you using, have you tried devstack? You should be fine using a partition, but im curious as to what your lab/test goal is.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-31 15:16:33 -0500

Seen: 920 times

Last updated: Apr 21 '15