← Back to team overview

kernel-packages team mailing list archive

[Bug 1434914] Re: xfs_growfs fails to allocate new inodes in Ubuntu Trusty

 

I built a Trusty test kernel with a cherry pick of commit: 9de67c3.  The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1434914/

Can you test this kernel and see if it resolves this bug?  If it does,
we can request this commit in the upstream stable kernels and SRU to
Utopic and Trusty.

Note, you will need to install both the linux-image and linux-image-
extra .deb packages.

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

Title:
  xfs_growfs fails to allocate new inodes in Ubuntu Trusty

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Trusty:
  Confirmed
Status in linux source package in Utopic:
  Confirmed

Bug description:
  Release:
  Description:    Ubuntu 14.04.2 LTS
  Release:        14.04

  Packages:
  linux-image-3.13.0-46-generic    3.13.0-46.79
  xfsprogs                         3.1.9ubuntu2

  When using xfs_growfs to grow an xfs filesystem, inodes on the grown
  portion of the filesystem are not available for writing, leading to
  ENOSPC errors even when free disk space and unused inodes are reported
  by df -i and df.

  Actual results:
  A worker creating many files, will run out of inode space as if the fs was not grown.

  Expected results:
  A worker creating many files, will continue to create new files for the grown fs.

  mount -o remount,inode64 /mnt/point fixes this issue and allows
  further writes to the grown fs.

  More information and reproduction steps can be found in this bug
  report: https://bugzilla.redhat.com/show_bug.cgi?id=1115201

  Also, the LXC FAQ has a description that indicates this bug has been
  present since kernel 3.7. It also offers the work around I wrote
  above:
  http://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_receive_No_space_left_on_device_after_xfs_growfs.3F

  This bug has been fixed upstream in 3.17:
  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de67c3ba9ea961ba420573d56479d09d33a7587

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1434914/+subscriptions


References