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).
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: i=0;i<50; i++)); do sudo ./go-sfdisk-crazy /dev/vdb; done
for((
I've tested/developed this on openstack instance pointing it at ephemeral disk (/dev/vdb).