[Top] [All Lists]

XFS: SB validate failed

To: xfs@xxxxxxxxxxx
Subject: XFS: SB validate failed
From: "Spam Magnet" <spam.wax@xxxxxxxxx>
Date: Thu, 29 May 2008 13:05:48 -0400
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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=nMOFZZDSxsbmdEBFUQh2kHGyC2Km0nDRI3JUoDBOM+I=; b=B0cu1AssYICymEIFMflBIhwsvcTipu5u+L9Xl8MAG11jfM8QaSs3Zq1N7qbR76SKuXIhnBsWfp0Foz1yvdsuMg49KxHWh5lXVx8ojjLnc3Y4sCkRd92EhFGerIuiTGTg2CEVnGUCcKDz8nz4Aqd2UdPznFaPZLBab130RuEL29k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HjDmBRkuL00Y6EA9G1zJ+9IUkQks83/caMF83WOvMxWm+MFLJ9ImU8M5/Xdz2neRDsn4Bw1AvCThpOgx/NNfp+4fxA7RlfVqQmo8Y3kuIxmCY9W+PpAIG0+rlvS9xhC6euBx5vCzqsR8M1f/iZrTFTU7K4UTr5FWPQFaHFlDex4=
Sender: xfs-bounce@xxxxxxxxxxx
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
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
 0: sgilabel   sector    3 size     512

But trying to mount the device fails:

$ sudo mount -t xfs /dev/sdb /mnt
$ sudo mount -t xfs /dev/sdb8 /mnt
$ sudo mount -t xfs /dev/sdb11 /mnt

Checking the log messages, I get:
[6815277.617579] XFS: bad magic number
[6815277.617587] XFS: SB validate failed

(I found similar problems reported here
# /usr/sysadm/privbin/getDiskParts -d dks1d3vol

I also tried to use xfs_check and xfs_repair.
xfs_check crashes:
/usr/sbin/xfs_check: line 28: 25216 Segmentation fault
(core dumped) xfs_db$DBOPTS -i -p xfs_check -c "check$OPTS" $1

and xfs_repair reports that:
bad primary superblock - bad magic number !!!
attempting to find secondary superblock
Sorry, could not find valid secondary superblock
Exiting now.

My questions:
1-Is this related to the information stated in FAQ regarding
XLV support or v2 directories under Irix ?
2-Do I need to be concerned about byte ordering when it comes
to how the partition table info are stored on my Jaz cartridge ?
3-If this is a corrupt partition problem, would you suggest that
I attempt to fix it under Irix or the Linux xfs tools will be sufficient ?

I'd really appreciate any input that can help me resolve this issue.

thanks in advance.

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