Comment 3 for bug 1087526

Revision history for this message
Scott Moser (smoser) wrote :

Juerg just added support to growpart to use 'sgdisk'.
The remaining step here is to make cloud-initramfs-growpart to include 'sgdisk'.
That would allow GPT resizing from the initramfs.

There are 2 reasons not to "just do that":
a.) it changes initramfs size dramatically:
$ ls -l /boot/initrd.img*
-rw-r--r-- 1 root root 14936523 Feb 4 17:19 /boot/initrd.img-3.8.0-2-generic
-rw-r--r-- 1 root root 6047018 Feb 4 17:10 /boot/initrd.img-3.8.0-2-generic.dist
b.) As I've described on a thread at http://www.gossamer-threads.com/lists/openstack/dev/23573 , this is actually no longer required to be in the initramfs at all.

bug 1096999 is there to request the function into util-linux for partx and resizepart command.