xfs
[Top] [All Lists]

Re: mounting XFS fails

To: Gerwin Brill <brill@xxxxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: mounting XFS fails
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Mon, 16 Jul 2001 12:01:55 +0200
In-reply-to: <3B521BF9.72879C44@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 00:40 16-7-2001 +0200, Gerwin Brill wrote:
Hi,

I've tried to mount  an old IRIX 5.x disk using both your current kernel
patch and the xfs enabled kernel souces (kernel 2.4.6). In all cases i
get "wrong fs type, bad option, bad superblock on /dev/sdb1, or too many
mounted file systems" when trying to mount with "mount -t xfs /dev/sdb1
/dir"

xfs_repair can not find secondary superblock,

fdisk gives the following informations on the disk


----- partitions -----
   Device  Info      Start       End   Sectors  Id  System
/dev/sdb1  boot         5      3424   1846576   a  SGI xfs
/dev/sdb2  swap      3425      3804    205408   3  SGI raw
/dev/sdb9               0         4      2620   0  SGI volhdr
/dev/sdb11              0      3804   2054604   6  SGI volume
----- bootinfo -----
Bootfile: /unix
----- directory entries -----
 0: sgilabel   sector    2 size     512
 1: sash       sector    4 size  140800
 2: ide        sector  558 size  977920

Is there anything obvious I am missing?

There is an answer to this in the FAQ.

If this partition is formatted with another cluster size then 4K you can't read it (yet).
Irix uses a default of 512Bytes.

So if you want make it interchangeable you will need to format it with a 4K cluster size. This is because on ia32 Pagesize==Clustersize. And XFS currently can not mount disks where Clustersize is larger or smaller then pagesize.

Cheers

--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


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