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 17:00:16 -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=FQOL3SGtDlUniD2IEz7yeIcFnKF/HdBprvRfxqC5yn0=; b=TJNKiY9hJTnPerfR5jYr28wvsLFDuyefKnqZ909YYMe+LHAp+5n4sM17K166ZxwQmwsHVb/K9xGEYxNbNV9KL4PkY9kpW/zPp/RHZ1e/ewQdTX1egu63scd40ikHcnUlhzUIUAhKqU4YslBfsdgwBL4aoCIY+UN+BNV4NGFvky0=
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=dV4SIFIXWa32VjDuWf2odSq83KVbKJo9PTbm1CFhckl9SlEYaG/HyOjvc8n2dre/k6U5Krr5W87pkbwUjsiRpfZ6nulXvcUiU9PdHOje0o8+4DcCZU/+prnOd7O8KKXm16/3yZRRGxPqz9Stzq7Gb0V+QdAUSEso3OgNbEXanjQ=
In-reply-to: <483F0BC3.2050901@xxxxxxxxxxx>
References: <3607657a0805291005k457791cej1c5f867da0f95965@xxxxxxxxxxxxxx> <483EE5BD.8020407@xxxxxxxxxxx> <3607657a0805291255i59fd006fi9d6836cf528d19a6@xxxxxxxxxxxxxx> <483F0BC3.2050901@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
> 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)

And this is output of xfs_db:

magicnum = 0x58465342
blocksize = 4096
dblocks = 488936
rblocks = 0
rextents = 0
uuid = bc45ebf5-b625-102c-8d9d-0800690be5b3
logstart = 262148
rootino = 128
rbmino = 129
rsumino = 130
rextsize = 16
agblocks = 61117
agcount = 8
rbmblocks = 0
logblocks = 1200
versionnum = 0x3084
sectsize = 512
inodesize = 256
inopblock = 16
fname = "\000\000\000\000\000\000\000\000\000\000\000\000"
blocklog = 12
sectlog = 9
inodelog = 8
inopblog = 4
agblklog = 16
rextslog = 0
inprogress = 0
imax_pct = 25
icount = 64
ifree = 53
fdblocks = 486371
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 2
unit = 0
width = 0
dirblklog = 0
logsectlog = 0
logsectsize = 0
logsunit = 0
features2 = 0

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

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

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 ?

thanks for your patience


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