I've uploaded a few test kernels here: http://people.canonical.com/~henrix/lp1236041/
There are test kernels both for Precise and Quantal (amd64 and i386). I've revert the original offending commit and applied the alternative patch referred by TGL in comment #5. I was able to reproduce this bug both in Precise and Quantal and verified that with these test kernels I can't reproduce it anymore. Is it possible for someone else to also give them a try? Thanks! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1236041 Title: xfs_growfs fails on EBS volumes created from snapshots with increased size Status in “linux” package in Ubuntu: Confirmed Status in “linux” source package in Precise: New Status in “linux” source package in Quantal: New 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_FSGROWFSDATA xfsctl failed: Cannot allocate memory /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 ProcVersionSignature: Ubuntu 3.2.0-54.82-virtual 3.2.50 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-us-east-1/images/ubuntu-precise-12.04-amd64-server-20130222.manifest.xml Ec2AvailabilityZone: us-east-1b 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1236041/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp