xfs_growfs fails on EBS volumes created from snapshots with increased size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Luis Henriques | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
1. Create a new EBS volume with 1 GB size, attach it, format it with xfs.
2. Create a snapshot of the volume.
3. Create a new volume from the snapshot, with 2GB size.
4. Attach the new volume and mount it.
5. sudo xfs_growfs /newvol
meta-data=/dev/xvdy isize=256 agcount=4, agsize=65536 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=262144, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
xfs_growfs: XFS_IOC_
/var/log/syslog has this:
Oct 6 17:57:42 playground1 kernel: [3498992.808304] XFS (xvdy): _xfs_buf_find: Block out of range: block 0x380001, EOFS 0x200000
Oct 6 17:57:42 playground1 kernel: [3498992.808322] XFS (xvdy): _xfs_buf_find: Block out of range: block 0x380001, EOFS 0x200000
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xfsprogs 3.1.7
ProcVersionSign
Uname: Linux 3.2.0-54-virtual x86_64
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
Date: Sun Oct 6 18:03:57 2013
Ec2AMI: ami-b6089bdf
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-88aa75e1
Ec2Ramdisk: unavailable
MarkForUpload: True
ProcEnviron:
TERM=xterm-color
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xfsprogs
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: regression-update |
tags: | removed: regression-update |
affects: | xfsprogs (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Same symptom/problem here with 3.2.0-54. Switching back to previous installed kernel (3.2.0-51 in my case) solves the issue.
I suspect the regression comes from this commit: /lists. ubuntu. com/archives/ kernel- team/2013- September/ 032287. html
https:/
* xfs: fix _xfs_buf_find oops on blocks beyond the filesystem end
- LP: #1151527
- CVE-2013-1819
For what it's worth, the same change produced the same effects in redhat six months ago: /bugzilla. redhat. com/show_ bug.cgi? id=909602
https:/