xfs
[Top] [All Lists]

Re: bad primary superblock - bad magic number

To: Philipp H <mrich@xxxxxxxxxxxxx>
Subject: Re: bad primary superblock - bad magic number
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sun, 22 Dec 2002 21:06:17 -0600 (CST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20021222164623.17494.qmail@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
I have no idea what gentoo uses for xfs code, so I'm not sure what
to tell you.  Very odd that it couldn't even find a backup superblock.

For starters, you're certain that /dev/hdc7 is an xfs filesystem?

Try xfs_db /dev/hdc7 and type:

xfs_db: sb 0
xfs_db: p

and see what it gives you, that way we can see what the primary
superblock looks like.

-Eric

On Mon, 23 Dec 2002, Philipp H wrote:

> Hello! 
>  
> Today I reinstalled my gentoo system... so I have a new kernel version 
> 2.4.19-xfs-r2 instead of 2.4.19-xfs-r1! 
> But now, I am unable to mount my home partition!!! :( 
>  
> plinux011 root # losetup -a 
> /dev/loop/0: [0008]:375 (/dev/hdc7) offset 0, AES128 encryption 
>  
> plinux011 root # mount /dev/loop/0 /home/phil -t xfs 
> mount: wrong fs type, bad option, bad superblock on /dev/loop0, 
>        or too many mounted file systems 
>  
> plinux011 root # xfs_repair /dev/loop/0 
> Phase 1 - find and verify superblock... 
> bad primary superblock - bad magic number !!! 
>  
> attempting to find secondary superblock... 
> .............................................................................................................................Sorry,
>  could not find valid secondary 
> superblock 
> Exiting now. 
>  
> Any iedeas? Please help me! 
>  
> MrIch 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with POP3/IMAP access for only US$19.95/yr
> 
> Powered by Outblaze
> 
> 


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