This snippet seems to reproduce the issue for me sporadically, and much simpler 
than the attached script.  It assumes there is a filesystem already on 
/dev/vdb1 and /dev/vdb is partitioned already.
 
sudo sh -c 'd=$1; p=${d}1; mp=/mnt; cleanup() { umount $mp >/dev/null 2>&1; } ; 
trap cleanup EXIT; umount $p >/dev/null 2>&1; while : ; do mount $p $mp && 
umount $mp && sfdisk --re-read $d|| exit 1; echo -n .; done' -- /dev/vdb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/937352

Title:
  root partition in may not be grown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/937352/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to