error resizing root filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
e2fsprogs (Debian) |
Fix Released
|
Unknown
|
|||
e2fsprogs (Ubuntu) |
Fix Released
|
High
|
Scott Moser |
Bug Description
I launched a cloud-image of precise on openstack and saw in cloud-init log:
011-10-24 17:12:45,578 - cc_resizefs.
2011-10-24 17:12:45,582 - cc_resizefs.
2011-10-24 17:12:45,583 - cc_resizefs.
old_desc_blocks = 1, new_desc_blocks = 1
error=resize2fs 1.42-WIP (9-Oct-2011)
resize2fs: Inappropriate ioctl for device While checking for on-line resizing support
2011-10-24 17:12:45,590 - __init_
File "/usr/lib/
cc.handle(name, run_args, freq=freq)
File "/usr/lib/
[ name, self.cfg, self.cloud, cloudinit.log, args ])
File "/usr/lib/
func(*args)
File "/usr/lib/
(out,err) = util.subp(
File "/usr/lib/
raise subprocess.
CalledProcessError: Command '['resize2fs', '/tmp/tmpiTX_2n']' returned non-zero exit status 1
2011-10-24 17:12:45,590 - __init__.py[ERROR]: config handling of resizefs, None, [] failed
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cloud-init 0.6.1-0ubuntu22
ProcVersionSign
Uname: Linux 3.1.0-1-virtual x86_64
ApportVersion: 1.24-0ubuntu1
Architecture: amd64
Date: Mon Oct 24 17:23:36 2011
Ec2AMI: ami-000000da
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-init
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in e2fsprogs (Ubuntu): | |
assignee: | nobody → Scott Moser (smoser) |
Changed in e2fsprogs (Debian): | |
status: | Unknown → Fix Released |
This is reproducible well after boot, with:
$ sudo resize2fs /dev/vda1
resize2fs 1.42-WIP (9-Oct-2011)
Filesystem at /dev/vda1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
resize2fs: Inappropriate ioctl for device While checking for on-line resizing support