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

Re: bad primary superblock - bad magic number



Yesterday evening, I booted from a Knoppix Live CD... Knoppix supports loop AES encryption too!   
   
So I set up the loop device and mounted the partition successfully! Then I copyed everything to a backup partition   
and recreate ( on gentoo) the XFS filesystem (mkfs.xfs) and everything is fine...   
   
I have absolutely no idea why the old xfs partition was not "mountable"!   
   
Very suspect for me... but now I am happy to have my data back!   
   
----- Original Message -----   
From: Eric Sandeen <sandeen@sgi.com>   
Date: Sun, 22 Dec 2002 21:06:17 -0600 (CST)   
To: Philipp H <mrich@linuxmail.org>   
Subject: 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   
> >    
> >    
>    
>    
-- 
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze