xfs
[Top] [All Lists]

invalid XFS SB magic number

To: linux-xfs@xxxxxxxxxxx
Subject: invalid XFS SB magic number
From: Ales Komarek <aleaz@xxxxxxxx>
Date: Wed, 02 Jan 2002 05:09:00 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605
To whom it may concern,

well I compiled and ran the XFS programs but I got the same error message:

attempting to find secondary superblock...
.................................................................................found candidate secondary superblock...
superblock read failed, offset 12884901888, size 2048, ag 4294967295, rval 3


fatal error -- Input/output error

I will leave the partition alone for a while; is there any way around it? Is there any other way to extract data from the XFS?

Really need any help :(

Ales Komarek

P.S. How do I find out version of xfs_repair I have currently installed?

P.P.S. cfdisk gives me this error message

      FATAL ERROR: Bad primary partition 1: logical partitions overlap
                                      Press any key to exit cfdisk


Eric Sandeen wrote:

The userspace programs are at:
ftp://oss.sgi.com/projects/xfs/download/cmd_tars

but xfsprogs (which contains xfs_repair) is at 2.0.6; I will put out a
newer version in an hour or so.

if you have trouble with newer xfsprogs, send it back to the list; I
will be out next week.

-Eric

On Mon, 2001-12-31 at 20:20, Ales Komarek wrote:


hello,
sorry that I did not explained the problem better, but I was in time
pressure; you were right, the boot manager has probably overwritten
superblock of that FS - possibly the whole program got installed there -
well, I'll never do stuff like this under pressure again :)))

So I tried XFS managing programs which I found in my system (I have
Slackware 8.1 kernel 2.4.19-pre10 and XFS patch for this version of kernel);
when I started with XFS I donwloaded some standalone apps too, but they are
stored on that XFS patrition :((


Here's the outcome of xfs_repair command:

bash-2.05a# xfs_repair /dev/hda3
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!

attempting to find secondary superblock...
............................................................................


.....found candidate secondary superblock...
superblock read failed, offset 12884901888, size 2048, ag 4294967295, rval 3


fatal error -- Input/output error

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

Well every other XFS related command said errors concernig that magic
number, for example xfs_db:

bash-2.05a# xfs_db /dev/hda3
xfs_db: unexpected XFS SB magic number 0xc4a11da3
xfs_db:

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

Please, if this can be fixed, can you give URL to that utils; because I'm
still quite new to Linux and I have not got familiar with directory
structures of it yet :))


Thanks a lot for any help;

sincirely your's Ales Komarek

----- Original Message -----
From: "Eric Sandeen" <sandeen@xxxxxxx>
To: "Ales Komarek" <aleaz@xxxxxxxx>
Cc: <linux-xfs@xxxxxxxxxxx>
Sent: Friday, August 02, 2002 3:40 PM
Subject: Re: problem with XFS SB magic number




The original problem is almost certainly that your boot manager put
something on block zero of your xfs partition; this is where the xfs
superblock lives, so it was corrupted.

What version of xfsprogs do you have?  I'll make sure the ftp site has
the latest version packaged up; you should get the latest if you don't
have it already.

If you send the output of your xfs_repair run, that might offer some
hints.

-Eric

On Mon, 2001-12-31 at 19:51, Ales Komarek wrote:


To whom it may concern,
well I have 2 disks on my machine - one for MS Windows - primary slave
and other for Linux - primary master (3 partitions; one ext2; 2nd swap
and third XFS for data) I have installed XOSL (boot manager) on Windows
HDD and after that during booting pure linux XFS SB magic number error
occured; I have already uninstalled XOSL, but it did not helped at all;
the should be no physical errors on disk, but when I tried xfs_repair;
it found secondary Super block but it was corrupted and the program
ended with an I/O error;


Please is there any way how to correct this?

Yours sincirely Ales Komarek

-- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs sandeen@xxxxxxx SGI, Inc. 651-683-3102



<Prev in Thread] Current Thread [Next in Thread>
  • invalid XFS SB magic number, Ales Komarek <=