[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bad primary superblock - bad magic number



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
> 
>