xfs
[Top] [All Lists]

Re: XFS: SB validate failed

To: Spam Magnet <spam.wax@xxxxxxxxx>
Subject: Re: XFS: SB validate failed
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 29 May 2008 16:06:53 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <3607657a0805291400h3c50165lea6fbea919deed0f@xxxxxxxxxxxxxx>
References: <3607657a0805291005k457791cej1c5f867da0f95965@xxxxxxxxxxxxxx> <483EE5BD.8020407@xxxxxxxxxxx> <3607657a0805291255i59fd006fi9d6836cf528d19a6@xxxxxxxxxxxxxx> <483F0BC3.2050901@xxxxxxxxxxx> <3607657a0805291400h3c50165lea6fbea919deed0f@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Spam Magnet wrote:
>> Byte ordering is only an issue for the log replay; you'd get a message
>> about that if it were the issue.
>>
>> Does file -s /dev/sdb? say that any of those things even look like an
>> xfs filesystem?
>>
>> If so point xfs_db at it like:
>>
>> xfs_db -r -c "sb 0" -c "p" /dev/sdb<whatever>
>>
> it's indeed an xfs filesystem:
> $ sudo file -s /dev/sdb8
> /dev/sdb8: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
> 

...

> 
> I can mount and see the content of this disk: using:
> mount -t xfs /dev/sdb8 /mnt

oh, I thought you couldn't mount it :)

> But xfs_check still crashes on me :(
> /usr/sbin/xfs_check: line 28: 26782 Segmentation fault (core dumped)
> xfs_db$DBOPTS -i -p xfs_check -c "check$OPTS" $1

try xfs_repair -n then maybe.  Or update xfsprogs.  check shouldn't
segfault, regardless of the fs state.

> Will it be ok if I made a 1:1 image of my disks under Irix (using dd):
> 
> $ dd if=/dev/dsk/dks1d3vol of=disk.img bs=512 conv=ignerror,sync
> 
> And tried to use xfs module in Linux to mount them ? or this programs
> are only meant to work with actual device rather than an image file ?

nah that's fine, images or disks, whichever.

-Eric

> thanks for your patience
> 


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