public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS: SB validate failed
@ 2008-05-29 17:05 Spam Magnet
  2008-05-29 17:19 ` Eric Sandeen
  0 siblings, 1 reply; 24+ messages in thread
From: Spam Magnet @ 2008-05-29 17:05 UTC (permalink / raw)
  To: xfs

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
http://osdir.com/ml/security.forensics/2006-04/msg00025.html)
# /usr/sysadm/privbin/getDiskParts -d dks1d3vol
7:10:3072:2087936;8:0:0:3072;10:6:0:2091008;

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.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2008-06-05 16:15 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 17:05 XFS: SB validate failed Spam Magnet
2008-05-29 17:19 ` Eric Sandeen
2008-05-29 19:55   ` Spam Magnet
2008-05-29 20:02     ` Eric Sandeen
2008-05-29 21:00       ` Spam Magnet
2008-05-29 21:06         ` Eric Sandeen
2008-05-29 21:46           ` Spam Magnet
2008-05-29 22:19             ` Eric Sandeen
2008-05-29 22:25             ` Stefan Smietanowski
2008-05-30  5:28             ` Timothy Shimmin
2008-05-30 17:19               ` Spam Magnet
2008-05-30 17:59                 ` Stefan Smietanowski
2008-05-30 23:26                   ` Hamid
2008-05-31  0:19                     ` Stefan Smietanowski
2008-05-31  0:22                       ` Stefan Smietanowski
2008-06-01  7:35                       ` Hamid
2008-06-01 10:46                         ` Stefan Smietanowski
2008-06-03 17:36                           ` Spam Magnet
2008-06-03 17:56                             ` Spam Magnet
2008-06-03 18:59                               ` Stefan Smietanowski
2008-06-03 19:39                                 ` Spam Magnet
2008-06-03 20:23                                   ` Stefan Smietanowski
2008-06-05 16:16                                     ` Spam Magnet
2008-06-02  2:08                 ` Timothy Shimmin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox