root partition is not being grown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Scott Moser | ||
util-linux (Ubuntu) |
Invalid
|
High
|
Canonical Foundations Team |
Bug Description
Upon booting an openstack instance of precise-
This occurred on both i386 and amd64.
Kernel output contains something like:
Begin: Running /scripts/
[ 1.862945] 8139cp 0000:00:03.0: eth0: RTL-8139C+ at 0xf840a000, 02:16:3e:21:8a:47, IRQ 11
[ 1.877189] 8139too: 8139too Fast Ethernet driver 0.9.28
***** WARNING: Resize failed, attempting to revert ******
BLKRRPART: Device or resource busy
The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
***** Appears to have gone OK ****
GROWROOT: FAILED: failed to resize
Re-reading the partition table ...
done.
done.
Begin: Running /scripts/
It should show something like:
Begin: Running /scripts/
[ 1.320377] FDC 0 is a S82078B
[ 1.335493] 8139too: 8139too Fast Ethernet driver 0.9.28
GROWROOT: CHANGED: partition=1 start=16065 old: size=4176900 end=4192965 new: size=20948760,
[ 1.372287] vda: vda1
[ 1.398773] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
done.
done.
Begin: Running /scripts/
This worked as recently as ubuntu-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cloud-initramfs
ProcVersionSign
Uname: Linux 3.2.0-5-virtual x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Tue Dec 20 05:25:48 2011
Ec2AMI: ami-0000011f
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-initramfs
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in util-linux (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
importance: | Undecided → High |
I just verified that 'sfdisk -d' of "good" matches identically to that reported by 'sudo growpart /dev/vda 1 --dry-run'
So it doesn't really look like its related to bad math or parsing.