From: Nigel Tamplin <ntamplin@codefaber.co.uk>
To: Carlos Maiolino <cmaiolino@redhat.com>
Cc: xfs@oss.sgi.com
Subject: Re: invalid inode numbers ? after drive moved from Linux 2.6.32 to Linux 3.16.0 then back again
Date: Wed, 8 Jun 2016 13:31:54 +0100 [thread overview]
Message-ID: <5758103A.9090103@codefaber.co.uk> (raw)
In-Reply-To: <20160608114907.GC8987@redhat.com>
On 08/06/16 12:49, Carlos Maiolino wrote:
> On Wed, Jun 08, 2016 at 12:16:10PM +0100, Nigel Tamplin wrote:
>> Hello,
>>
>> I have a drive with a partition containing an XFS file system.
>> This drive normally resides in a Linux 2.6.32 (Debian 6) server, which is
>> also where the file system was created many months ago.
>> Last week I removed this drive from it's usual 2.6.32 server and for a few
>> hours it was attached to an alternative Linux 3.16.0 (Debian 8) server,
>> where the XFS file system was mounted and during this time I created
>> /modified / deleted some files.
>> Later the drive was moved back to the normal Linux 2.6.32.
>>
>
> Linux 3.16 has inode64 mount option enabled by default, which will cause inodes
> to be spread along the whole disk, causing some inodes (those allocated on disk
> blocks beyond 1TB offset) to have 64bit numbers.
>
> 2.6.32 doesn't use inode64 option by default, and so, files with inodes > 2^32
> will not be accessible by the kernel 2.6.32, but, you can use `mount -o inode64`
> mount option in the old system and then be able to access these inodes again.
>
Excellent explanation Carlos.
This exactly explains what had happened, the partition being moved
between systems is 2TB in size.
As you suggested, remounting on the older systems with option inode64
resolved it.
Thank you.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2016-06-08 12:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 11:16 invalid inode numbers ? after drive moved from Linux 2.6.32 to Linux 3.16.0 then back again Nigel Tamplin
2016-06-08 11:49 ` Carlos Maiolino
2016-06-08 12:31 ` Nigel Tamplin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5758103A.9090103@codefaber.co.uk \
--to=ntamplin@codefaber.co.uk \
--cc=cmaiolino@redhat.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox