xfs
[Top] [All Lists]

Re: Mounting IRIX filesystem with version 1 directories?

To: Toralf Lund <toralf@xxxxxxxxxxxxx>
Subject: Re: Mounting IRIX filesystem with version 1 directories?
From: Steve Lord <lord@xxxxxxx>
Date: 05 Feb 2002 13:14:46 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020205201028.A24388@indonesia.kscanners.no>
References: <20020201094725.A17098@indonesia.kscanners.no> <3C5A8B22.4070200@sgi.com> <20020205201028.A24388@indonesia.kscanners.no>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2002-02-05 at 13:10, Toralf Lund wrote:
> On 01/02 2002 13:33 Stephen Lord wrote:

> I know, but as far as I can tell, all those requirements are met. I wasn't 
> able to mount the file system on a Red Hat 7.2 box with 
> kernel-2.4.9-13SGI_XFS_1.0.2, though. I didn't have the opportunity to 
> experiment a lot, though, as someone needed the data pretty fast (the file 
> system in question had to be moved from an Origin server due to SCSI 
> problems. Ideally, I wanted to put it on a Linux hosts, but it ended up on 
> an O2 workstation, at least temporarily.) Are the precompiled kernels 
> supposed to support everything needed?

Can you report the error? The other requirement is you need a clean log,
the linux and irix log formats are not the same - they are host byte
ordered. So you cannot mount a dirty filesystem from one os on the other.
xfs_repair is the only way to force that, it zeros the log.


> > The directory code should work for the most part, but large directories 
> > may suffer
> > problems with readdir on linux - the V1 format passes up 64 bit hash 
> > values as
> > directory offsets, and this confuses glibc from time to time. Entries 
> > can go
> > missing or you can occassionally get into a loop.
> Is there any way to convert the existing directories, or at least mix 
> version 1 and 2?

Errm, dump/restore I am afraid, it is a major on disk change not something
we can do to a live filesystem.

Steve

> 
> - Toralf
-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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