← Back to team overview

kernel-packages team mailing list archive

[Bug 1361637] [NEW] XFS uses 64-bit inodes being mounted without inode64 option

 

You have been subscribed to a public bug:

After upgrade from 12.04 XFS became to use 64bit inodes, despite the
fact that it is mounted without inode64 option:

root@nfs:~# mount | grep /raid
/dev/sdb1 on /raid type xfs (rw,noatime,nodiratime,largeio,logbufs=8,allocsize=64m,logbsize=256k,osyncisdsync,nobarrier)

Volume size is 11TB that is much less than 16TB limit for 32bit inodes:

root@nfs:~# df -h /raid
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1        11T  3,3T  7,7T  31% /raid

But there are files wih 64bit inodes on this volume, e.g.:

root@nfs:~# stat /raid/home/nz/.ssh
  File: ‘/raid/home/nz/.ssh’
  Size: 122       	Blocks: 0          IO Block: 5242880 directory
Device: 811h/2065d	Inode: 25788470353  Links: 2
Access: (0700/drwx------)  Uid: (30051/nz)   Gid: (  513/Domain Users)
Access: 2014-08-22 17:13:25.804584309 +0400
Modify: 2014-08-25 10:29:02.582411181 +0400
Change: 2014-08-25 10:29:02.582411181 +0400
 Birth: -

All such files are created after 12.04 -> 14.04 upgrade.

There is a plenty of 32-bit old software that could not access files
with 64-bit inodes, and it seems that the only option is to recreate the
whole volume with ext4 filesystem instead of xfs.

root@nfs:~# lsb_release -rd
Description:	Ubuntu 14.04.1 LTS
Release:	14.04

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
XFS uses 64-bit inodes being mounted without inode64 option
https://bugs.launchpad.net/bugs/1361637
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.