Ask Your Question

Resize root volume in ramdisk

asked 2013-05-31 16:19:41 -0600

lorin gravatar image

I have heard that, for older versions of Linux kernel, it is not possible to resize the root partition after the kernel mounts the disk. So, if your image is smaller than the root volume of the flavor (e.g., your image is 10GB but your m1.custom flavor has a 20GB root volume), you need to configure the ramdisk to do the resize early enough in the boot cycle.

How do you do this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-01 21:07:18 -0600

lorin gravatar image

updated 2013-06-01 21:07:56 -0600

Robert Plestenjak has a project on github called centos-image-resize that contains a script for modifying an initrd image and grub menu to do the rseize. It uses the growpart tool from cloud-utils

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-05-31 16:19:41 -0600

Seen: 444 times

Last updated: Jun 01 '13