public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* unexpected XFS SB magic number
@ 2006-12-22 17:42 Gaspar Bakos
  2006-12-22 20:12 ` Russell Cattelan
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Gaspar Bakos @ 2006-12-22 17:42 UTC (permalink / raw)
  To: linux-xfs

Dear all,

I have a 12 x 500Gb RAID-5 hardware RAID array on an ARECA 1130-ML
controller. There is one single partition on it, exported as /dev/sdc1.
This configuration used to work fine for 4 months.
Then the computer crashed a couple of times, and led to a situation where

xfs_check /dev/sdc1 output is:

xfs_check: unexpected XFS SB magic number 0x45464920
xfs_check: size check failed
xfs_check: read failed: Invalid argument
xfs_check: data size check failed
xfs_check: failed to alloc 58876353264 bytes: Cannot allocate memory

I also checked the RAID, and seemingly the controller is fine; I can
communicate with it, all 12 disks are visible, their SMART status is
OK, the RAID-5 is reported to be in 'normal' condition, etc.

[root@localhost ~]# xfs_db -r /dev/sdc1
xfs_db: unexpected XFS SB magic number 0x45464920
xfs_db: size check failed
xfs_db: read failed: Invalid argument
xfs_db: data size check failed
xfs_db: failed to alloc 58876353264 bytes: Cannot allocate memory

--------------------

[root@localhost ~]# xfs_repair -nv /dev/sdc1

Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!
attempting to find secondary superblock...
................................................................................
...
....................found candidate secondary superblock...
unable to verify superblock, continuing...
...
....................found candidate secondary superblock...
verified secondary superblock...
would write modified primary superblock
Primary superblock would have been modified.
Cannot proceed further in no_modify mode.
Exiting now.

----------------


I would very much appreciate advice on how to proceed in such situation.
I worry that xfs_repair will repair, but may leave a mess that is hard
to recover. I am hoping there may be a safer way.


Best regards
Gaspar

^ permalink raw reply	[flat|nested] 13+ messages in thread
* unexpected XFS SB magic number
@ 2006-12-22 17:45 Gaspar Bakos
  0 siblings, 0 replies; 13+ messages in thread
From: Gaspar Bakos @ 2006-12-22 17:45 UTC (permalink / raw)
  To: linux-xfs

Dear all,

I forgot to mention some crucial information
( RE: unexpected XFS SB magic number. )

This is an AMD64 bit SMP system with 2.6.17-6 kernel under FC5.

Cheers,
Gaspar

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

end of thread, other threads:[~2007-10-07  9:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22 17:42 unexpected XFS SB magic number Gaspar Bakos
2006-12-22 20:12 ` Russell Cattelan
2006-12-22 20:51   ` Gaspar Bakos
2006-12-22 23:15 ` Eric Sandeen
2006-12-22 23:28   ` Gaspar Bakos
2006-12-22 23:33     ` Eric Sandeen
2006-12-22 23:38     ` Eric Sandeen
2006-12-23 23:08       ` Gaspar Bakos
2006-12-24  3:50         ` Eric Sandeen
2006-12-24  6:08           ` Gaspar Bakos
2006-12-24 12:16         ` Iustin Pop
2007-10-07  9:47 ` qon
  -- strict thread matches above, loose matches on Subject: below --
2006-12-22 17:45 Gaspar Bakos

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