← Back to team overview

kernel-packages team mailing list archive

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

 

You have been subscribed to a public bug:

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)

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Luis Henriques (henrix)
         Status: Confirmed


** Tags: amd64 apport-bug ec2-images precise
-- 
xfs_growfs fails on EBS volumes created from snapshots with increased size
https://bugs.launchpad.net/bugs/1236041
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.