xfs
[Top] [All Lists]

Re: XFS: SB validate failed

To: "Eric Sandeen" <sandeen@xxxxxxxxxxx>
Subject: Re: XFS: SB validate failed
From: "Spam Magnet" <spam.wax@xxxxxxxxx>
Date: Thu, 29 May 2008 15:55:59 -0400
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fVa2XVQXY0XkopBEBjaIDKnDyQHVetqjwoSd2D4ka2s=; b=ci0QuXlJcLV3H7LukwnPZt5IrvMp6f9yzqYk8G+xUtJI56uFKe+b7FzGrdNsNwDEBjPzWP00xNEoxLY8//z7DcAypTQpWhTnLjDDXcaE9rIM6WmD0gzkvRwwJZOtDl0f16mXtBNweC4HYLbgfYIv9FqIcdNuavD/Wppco0LfF6A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hSP2mb07EgqfyY41J3A9YcwBm8xBnHVM1Y8fcrXOadFxUnl7IUKpIFCUcQkAEVzw0BCMsDOHmrzOMRmlp4qR6etyyz1Uiug05/Agd/LHKI7GSuPnxGZBHeL8GNaTgJ61JjFfrayWIuwOOFABhJc3q051ZZb5Op7tu5JNGeRZDH8=
In-reply-to: <483EE5BD.8020407@sandeen.net>
References: <3607657a0805291005k457791cej1c5f867da0f95965@mail.gmail.com> <483EE5BD.8020407@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
On Thu, May 29, 2008 at 1:19 PM, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
> Spam Magnet wrote:
>> Hello there :)
>>
>> I have a Iomega Jaz cartrdige which seems to be formatted in xfs under
>> Irix 6.5.
>> When I insert the cartridge in a drive attached to an Octane machine
>> (running IRIX 6.5) I get an error message saying that the drive could not
>> be mounted:
>> The file system on device: /dev/dsk/dks1d3s7 cannot be mounted
>>
>> I connected the Jaz drive to a Linux box using a SCSI-to-USB
>> adapter. When I do a fdisk I get:
>>
>> $ sudo fdisk -l /dev/sdb
>>
>> Disk /dev/sdb (SGI disk label): 33 heads, 62 sectors, 1022 cylinders
>> Units = cylinders of 2046 * 512 bytes
>>
>> ----- partitions -----
>> Pt#    Device  Info     Start       End   Sectors  Id  System
>>  8: /dev/sdb1               2      1021   2087936   a  SGI xfs
>>  9: /dev/sdb2               0         1      3072   0  SGI volhdr
>> 11: /dev/sdb3               0      1021   2091008   6  SGI volume
>
> I can't remember how sgi disklabels work under linux; does this show up
> as /dev/sdb8 /dev/sdb9 /dev/sdb11 or  as /dev/sdb1 /dev/sdb2 /dev/sdb3
> in linux?
>
> Look at /proc/partitions...
>
> point file -s at /dev/sdb$WHATEVER
>
> see if any of them say "xfs"
>
> and try to mount that :)

Thanks for your response.
Linux shows them as /dev/sdb8 /dev/sdb9 and /dev/sdb11
and none of them are mountable :(

To narrow down the problem, I formatted a clean, error free disk
under SGI(Irix 6.5). Its partition table looks like:

#  prtvtoc /dev/dsk/dks1d3vol
* /dev/dsk/dks1d3vol (bootfile "/unix")
*     512 bytes/sector
Partition  Type  Fs   Start: sec    Size: sec   Mount Directory
 7          xfs  yes        4096      3911504
 8       volhdr                0         4096
10       volume                0      3915600

Now if I connect the same disk to Linux and run fdisk I get the
similar info:
Disk /dev/sdb (SGI disk label): 255 heads, 63 sectors, 0 cylinders
Units = sectors of 1 * 512 bytes

----- partitions -----
Pt#   Device  Info     Start       End   Sectors  Id  System
 8: /dev/sdb1            4096   3915599   3911504   a  SGI xfs
 9: /dev/sdb2               0      4095      4096   0  SGI volhdr
11: /dev/sdb3               0   3915599   3915600   6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
 0: sgilabel   sector    2 size     512

Again mounting /dev/sdb1 or /dev/sdb8 gives error:
mount: wrong fs type, bad option, bad superblock on /dev/sdb8

and system logs:
XFS: bad magic number
XFS: SB validate failed

So can this be related to the byte ordering or any of the other
issues mentioned in the FAQ regarding xfs under Linux ?
How can I figure out if my disk is using XLV or is a v2 directory ?

Thanks again


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