XFS uses 64-bit inodes being mounted without inode64 option

Bug #1361637 reported by Vladimir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

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
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 авг. 22 09:45 seq
 crw-rw---- 1 root audio 116, 33 авг. 22 09:45 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=55caf333-476b-47f0-9a19-6ec079b6615d
InstallationDate: Installed on 2014-04-18 (130 days ago)
InstallationMedia: Ubuntu-Server 10.04.4 LTS "Lucid Lynx" - Release amd64 (20120214.2)
Lsusb:
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 0557:2221 ATEN International Co., Ltd Winbond Hermon
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Supermicro X8SIE
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-34-generic root=UUID=82faa1fe-91ee-4730-98c9-03853ecc6f22 ro hostname.enable_ino64=0 quiet
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-34-generic N/A
 linux-backports-modules-3.13.0-34-generic N/A
 linux-firmware 1.127.5
RfKill: Error: [Errno 2] No such file or directory
Tags: trusty
Uname: Linux 3.13.0-34-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-08-16 (10 days ago)
UserGroups: Account Operators Administrators Domain Admins
WifiSyslog:

_MarkForUpload: True
dmi.bios.date: 05/27/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.0c
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: X8SIE
dmi.board.vendor: Supermicro
dmi.board.version: 0123456789
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 24
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.0c:bd05/27/2010:svnSupermicro:pnX8SIE:pvr0123456789:rvnSupermicro:rnX8SIE:rvr0123456789:cvnSupermicro:ct24:cvr0123456789:
dmi.product.name: X8SIE
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1361637/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1361637

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Vladimir (vladimir-kozlov) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Vladimir (vladimir-kozlov) wrote : CRDA.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : IwConfig.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : Lspci.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : ProcModules.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : UdevDb.txt

apport information

Revision history for this message
Vladimir (vladimir-kozlov) wrote : UdevLog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.17 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc2-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.