lp:~smoser/cloud-utils/trunk.1762748-gpt-big-disks

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/cloud-utils/trunk.1762748-gpt-big-disks
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
cloud-utils
Status:
Merged

Recent revisions

324. By Scott Moser

test/test-growpart: adjust to allow for reading sizes from environment.

this allows recreate and easier size/test with:
  sudo PATH=./bin:$PATH PT_TYPE=gpt \
     DISK_SIZE_NEW=5T DISK_SIZE_ORIG=1T ./test/test-growpart

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.

322. By Scott Moser

update changelog

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.

320. By Scott Moser

update changelog

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.

318. By Scott Moser

test/test-mic: better debug info

317. By Scott Moser

mount-image-callback: more helpful debug messages.

316. By Scott Moser

update changelog

315. By Scott Moser

mount-image-callback: fix nbd mounting with rw.

mount was getting called with -o '' due to bad variable name

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:cloud-utils
This branch contains Public information 
Everyone can see this information.

Subscribers