Comment 3 for bug 937352

Revision history for this message
Scott Moser (smoser) wrote : Re: root partition in may not be grown

This attachment does the following to a given block device input
  * create a partition table for the block device with first partition using roughly half disk space
  * mkfs first partition
  * mount partition
  * run growpart --dry-run
  * umount partition
  * run growpart

If you run it in a loop, it will most likely fail over 50 runs:
  for((i=0;i<50;i++)); do sudo ./go-sfdisk-crazy /dev/vdb; done

I've tested/developed this on openstack instance pointing it at ephemeral disk (/dev/vdb).