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

TGL 1236041 at bugs.launchpad.net
Mon Oct 7 16:29:03 UTC 2013


A bit more googling shows that this change was actually not suitable for inclusion in kernels versions prior to 3.8.0:
http://oss.sgi.com/archives/xfs/2013-02/msg00201.html

...which is why it had been reverted in 3.7.9, after it was added by mistake in a previous 3.7.x version:
https://lkml.org/lkml/2013/2/15/638

Hope this helps.

-- 
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