public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell Cattelan <cattelan@thebarn.com>
To: gbakos@cfa.harvard.edu
Cc: linux-xfs@oss.sgi.com
Subject: Re: unexpected XFS SB magic number
Date: Fri, 22 Dec 2006 14:12:04 -0600	[thread overview]
Message-ID: <1166818324.20632.35.camel@xenon.msp.redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.58.0612221219570.2514@titan.cfa.harvard.edu>

[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]

On Fri, 2006-12-22 at 12:42 -0500, Gaspar Bakos wrote:
> 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

What does 
xfs_db /dev/sdc1
sb 0
p 

look like?
That will print out the contents of the superblock

> 
> 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
> 
-- 
Russell Cattelan <cattelan@thebarn.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-12-22 20:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-22 17:42 unexpected XFS SB magic number Gaspar Bakos
2006-12-22 20:12 ` Russell Cattelan [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166818324.20632.35.camel@xenon.msp.redhat.com \
    --to=cattelan@thebarn.com \
    --cc=gbakos@cfa.harvard.edu \
    --cc=linux-xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox