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: Stephen Lord <lord@xxxxxxx>
Date: Fri, 01 Feb 2002 06:33:38 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <20020201094725.A17098@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
Toralf Lund wrote:

From the XFS FAQ,

Will I be able to use my old IRIX XFS disks on linux?

[ ... ] Linux can only read v2 directories on the moment. Using v1 will probably fail in spectacular ways.

I have a large IRIX filesystem that I would like to mount on Linux, but I think it has version 1 directories. Is there any way at all I can get this to work?

First of all, your Irix filesystem is going to have to meet a few other requirements :

 o It cannot be xlv or xvm based - there is no linux support for these
o the filesystem blocksize needs to be the same as the page size on your linux block,
    the irix default is 4K, so this is usually not a problem
 o it should not have the unwritten extent support turned on.

You can check the latter 2 with xfs_growfs -n /mnt on irix

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.

Steve




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