Bug 37724 - Enable automatic filesystem resize in EC2 images
Enable automatic filesystem resize in EC2 images
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: Janek Walkenhorst
Erik Damrose
:
Depends on:
Blocks: 45325
  Show dependency treegraph
 
Reported: 2015-02-07 13:38 CET by Stefan Gohmann
Modified: 2017-09-05 12:52 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-02-07 13:38:09 CET
We should install cloud-initramfs-growroot by default in EC2 images. This package automatically resize the root partition on first boot.
Comment 1 Janek Walkenhorst univentionstaff 2015-02-10 15:15:02 CET
ami-35800b42
Comment 2 Janek Walkenhorst univentionstaff 2015-02-10 15:34:24 CET
ami-0f860d78
Comment 3 Erik Damrose univentionstaff 2015-02-23 17:32:42 CET
cloud-initramfs-growroot only expands the / partition, the actual resize is done at cloud-init runtime with the module 'resizefs', so cloud-init actually has to run.

We should look for an alternative to start resize2fs when starting an UCS instance
Comment 4 Janek Walkenhorst univentionstaff 2015-08-11 16:06:24 CEST
ami-b87c2ecf
Comment 5 Erik Damrose univentionstaff 2015-08-11 16:51:15 CEST
Works! Verified