Ask Your Question
0

instance doesn't take its hard disk space

asked 2014-09-02 15:39:57 -0500

Amr gravatar image

Hello !

when i create new instance lets say with 50 GB hard drive i should expect /dev/vda1 will be 50 Gb but i find it around 8 Gb the reset of the space is not partitioned i tried many images

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-09-02 16:08:07 -0500

mpetason gravatar image

Alright, I misread your question the first time. If you are talking about within the instance then you will need to look into cloud-init:

http://cloudinit.readthedocs.org/en/l...

If you are creating your own images then you'll need to install cloud-init and configure a few properties that will cause the instance to grow the root partition.

I would recommend downloading already created qcow2 images and looking at /etc/cloud.cfg to see what settings they use. Then work on installing the correct packages:

http://docs.openstack.org/image-guide...

Best list I've seen for image resources:

https://openstack.redhat.com/Image_re...

edit flag offensive delete link more
0

answered 2014-09-02 16:11:11 -0500

Victor Denisov gravatar image

updated 2014-09-02 16:11:47 -0500

Where did you take those images? All images for openstack should have cloud init scripts that take care of hard disk space? Also I would make sure your metadata service is available from your instance. Try this command on your instance:

$ curl http://169.254.169.254

1.0

2007-01-19

2007-03-01

2007-08-29

2007-10-10

2007-12-15

2008-02-01

2008-09-01

2009-04-04

latest

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-02 15:39:57 -0500

Seen: 564 times

Last updated: Sep 02 '14