xfs
[Top] [All Lists]

Re: Probems with xfs_repair on large filesystem and 32bit OS.

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: Probems with xfs_repair on large filesystem and 32bit OS.
From: Andi Kleen <andi@xxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 19:07:26 +0200
Cc: Lance Reed <lreed@xxxxxxxxxxxxxx>, Tru Huynh <tru@xxxxxxxxxx>, "'xfs@xxxxxxxxxxx'" <xfs@xxxxxxxxxxx>
In-reply-to: <20080610122811.GB15871@infradead.org> (Christoph Hellwig's message of "Tue, 10 Jun 2008 08:28:11 -0400")
References: <6A32BC807C106440B7E23208F280DDAF01D3F6C8A8@bcmail1.VIDMARK.LOCAL> <20080610115038.GD3005@sillage.bis.pasteur.fr> <6A32BC807C106440B7E23208F280DDAF01D3F6C8B4@bcmail1.VIDMARK.LOCAL> <20080610122811.GB15871@infradead.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux)
Christoph Hellwig <hch@xxxxxxxxxxxxx> writes:

> On Tue, Jun 10, 2008 at 08:07:18AM -0400, Lance Reed wrote:
>> SO, I take it from what you say that that I can running any newer version of 
>> xfs progs and a 64bit host (fiber attached, easy to do this), and run 
>> xfs_repair on the 32bit XFS volumes without fear of data corruption?
>> Is this because XFS is not version specific, and xfs_repair will honor the 
>> 32bit file data structures?
>
> Yes, this is fine.  All the actual filesystem structures are endian and
> 32/64bit clean.  The log needs to be in the same endianess and had 32bit
> vs 64bit problems on x86 for a while, but it needs to be recovered
> before you run xfs_repair anyway.

Actually there used to be some bugs in old versions where 32bit couldn't 
replay 64bit logs or vice versa.  Probably all fixed in uptodate kernels.

-Andi


<Prev in Thread] Current Thread [Next in Thread>