growpart and cloud-utils should support growing mounted filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-utils |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Under bug 1096999, we added support to util linux 'partx' to update the partition table information of a disk with a mounted partition. This takes advantage of kernel feature in 3.8.0.
This actually removes the necessity of cloud-initramfs
We can now put that function into growpart and cloud-init instead. By doing so, we can actually make it able to be disabled from user-data, and not require ramdisk code.
Links:
* util-linux upstream: http://
* kernel upstream: http://
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: cloud-utils 0.26-0ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Thu Feb 28 22:27:54 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (498 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-utils
UpgradeStatus: Upgraded to raring on 2013-01-07 (52 days ago)
Related branches
- Joshua Harlow: Pending requested
-
Diff: 769 lines (+634/-84)6 files modifiedcloudinit/config/cc_growpart.py (+272/-0)
cloudinit/config/cc_resizefs.py (+1/-84)
cloudinit/util.py (+83/-0)
config/cloud.cfg (+1/-0)
doc/examples/cloud-config-growpart.txt (+24/-0)
tests/unittests/test_handler/test_handler_growpart.py (+253/-0)
summary: |
- growpart and cloud-utils should support growning mounted filesystem + growpart and cloud-utils should support growing mounted filesystem |
Changed in cloud-utils: | |
status: | New → Fix Committed |
Changed in cloud-init: | |
status: | New → In Progress |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
Changed in cloud-utils: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package cloud-utils - 0.26-0ubuntu3
---------------
cloud-utils (0.26-0ubuntu3) raring; urgency=low
* sync to trunk at revno 219
* growpart: support updating mounted partition with partx --update
(LP: #1136936)
-- Scott Moser <email address hidden> Thu, 07 Mar 2013 15:45:10 -0500