lp:~freddebacker/cloud-utils/cloud-utils
- Get this branch:
- bzr branch lp:~freddebacker/cloud-utils/cloud-utils
Branch merges
- Scott Moser (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbin/growpart (+1/-1)
Related bugs
Bug #1706751: GPT disk growroot fails in version .027 cloud-utills | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 325. By Fred De Backer
-
Don't use [start of next] sector but [start of next - 1] as the new end sector for resizing GPT partitions.
- 324. By Scott Moser
-
growpart: Fix check for MBR to use the correct name (dos).
The previous commit was only tested with gpt formatted disk,
and thus mbr formatted disks would not emit the warning or
have the max size applied. - 323. By Scott Moser
-
growpart: fix bug that stopped GPT disks from being grown past 2TB.
MBR max size was being applied to GPT partitioned disks.
The change here is to only apply the mbr max (and only WARN about the limit)
if the format is MBR.Also, adjust test/test-growpart to support reading disk orig size
and new size from environment to make testing more easy.sudo PATH=./bin:$PATH PT_TYPE=gpt \
DISK_SIZE_NEW= 5T DISK_SIZE_ORIG=1T ./test/ test-growpart - 321. By Scott Moser
-
mount-image-
callback: Drop support for mounting lxd containers. The 'lxd:' support in mount-image-
callback only worked in some cases,
and then stopped working in all cases with lxc 2.17.This drops the lxd support, but leaves in the 'mchroot' support which
came with it. - 319. By Scott Moser
-
mount-image-
callback: run blockdev and udevadm settle on nbd devices. When we connect nbd devices, ensure that the kernel re-reads the partition
table information. This ensures that the partition devices (nbd0p1, nbd0p2)
are correct when used later.Also required then is a udevadm settle.
On xenial, the blockdev is needed, on newer releases some udev magic or
systemd handles it.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:cloud-utils