[Bug 1236041] Re: xfs_growfs fails on EBS volumes created from snapshots with increased size

TGL 1236041 at bugs.launchpad.net
Mon Oct 7 15:11:10 UTC 2013


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:
https://lists.ubuntu.com/archives/kernel-team/2013-September/032287.html
  * 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:
https://bugzilla.redhat.com/show_bug.cgi?id=909602


** Bug watch added: Red Hat Bugzilla #909602
   https://bugzilla.redhat.com/show_bug.cgi?id=909602

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2013-1819

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1236041

Title:
  xfs_growfs fails on EBS volumes created from snapshots with increased
  size

Status in “xfsprogs” package in Ubuntu:
  Confirmed

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/xfsprogs/+bug/1236041/+subscriptions



More information about the foundations-bugs mailing list