Ask Your Question

Instance Disk Different with Flavor

asked 2013-10-07 03:57:59 -0600

gilank gravatar image

Hi all, i have deploy one instance and used flavor that have 20G Disk with ephermal 10G when instance up, i check with df -h command, and it show like this (LVM) image description The size is just 2.5G

when i check with #fdisk -l it show actual value of flavor image description

how can this happen? it happen to instance with no LVM on it too.

please help

edit retag flag offensive close merge delete


are you using cloud-init inside your vm?

fifieldt gravatar imagefifieldt ( 2013-10-08 23:29:42 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-10-08 23:26:42 -0600

fifieldt gravatar image

updated 2013-10-09 18:58:16 -0600

For Xenserver, automatic resize of the filesystem will occur if the following are all true:

  • auto_disk_config=True is set as a property on the image in the Image Registry.
  • The disk on the image has only one partition.
  • The file system on the one partition is ext3 or ext4.
edit flag offensive delete link more


I have activate on nova.conf both in compute and controller node, and this tips is work on xen hypervisor, i used KVM not xen

gilank gravatar imagegilank ( 2013-10-08 23:32:10 -0600 )edit

answered 2013-10-09 08:18:50 -0600

gmi gravatar image

The following kickstart will create an image that is able to auto-resize its root disk:

edit flag offensive delete link more


i would give a try, since i have try many kick start and not work

gilank gravatar imagegilank ( 2013-10-09 23:30:26 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-07 03:57:59 -0600

Seen: 457 times

Last updated: Oct 09 '13