Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 01:32:33 -0200
From:      =?Windows-1252?Q?Andr=E9_Videira?= <andre@institutotreinar.com.br>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Mounting an ext2fs on FreeBSD 4.3-STABLE 
Message-ID:  <004401c19599$9e3cbc80$09c8a8c0@treinar.com.br>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Searching the Free BSB list I found the opportunity to send to the group my question.
Unfortunately I am having the  problem with my 40Gb Maxtor, and mine was mounted as slave.

Hi there, 


I'd like to mount an ext2fs on my FreeBSD system. I recompiled my kernel 
with option EXT2FS and everything seems fine. When i try to mount with 
`mount -t ext2fs /ad1s2 /opt` i get the following message in 
/var/log/messages: 


...: wrong magic number 0 
(expected 0xef53) 


This seems strange to me, so i tried to run e2fsck to fix this problem. The 
following was prompted: 
---------------------------------------------------------------------------- 
---------------------- 
Couldn't find ext2 superblock, trying backup blocks... 
e2fsck: Bad magic number in super-block while trying to open 


The superblock could not be read or does not describe a correct ext2 
filesystem. If the device is valid and it really contains an ext2 
filesystem (and not swap or ufs or something else), then the superblock 
is corrupt, and you might try running e2fsck with an alternate superblock: 
    e2fsck -b 8193 <device> 
---------------------------------------------------------------------------- 
------------------------ 


So i ran `e2fsck -b 8193 /<device>`, but i was getting the same message. 
I've read every man/doc that has something to do with ext2fs etc. _and_ I 
searched the whole internet for people having this very same problem, but 
there where pratically none. Can please some help me out . 

Mail me at andre@institutotreinar.com.br. 

Thanks in advance. 


I have very much important data inside it, and some are not backuped.( unfortunately I did not make bkup last month.



Tks


André Videira from Brazil


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Searching the Free BSB list I found the opportunity to send to 
the group my question.<BR>Unfortunately I am having the&nbsp; problem with my 
40Gb Maxtor, and mine was mounted as slave.<BR></FONT></DIV>
<DIV><FONT size=2>
<P>Hi there, <BR>
<P>I'd like to mount an ext2fs on my FreeBSD system. I recompiled my kernel 
<BR>with option EXT2FS and everything seems fine. When i try to mount with 
<BR>`mount -t ext2fs /ad1s2 /opt` i get the following message in 
<BR>/var/log/messages: <BR>
<P>...: wrong magic number 0 <BR>(expected 0xef53) <BR>
<P>This seems strange to me, so i tried to run e2fsck to fix this problem. The 
<BR>following was prompted: 
<BR>---------------------------------------------------------------------------- 
<BR>---------------------- <BR>Couldn't find ext2 superblock, trying backup 
blocks... <BR>e2fsck: Bad magic number in super-block while trying to open <BR>
<P>The superblock could not be read or does not describe a correct ext2 
<BR>filesystem. If the device is valid and it really contains an ext2 
<BR>filesystem (and not swap or ufs or something else), then the superblock 
<BR>is corrupt, and you might try running e2fsck with an alternate superblock: 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;e2fsck -b 8193 &lt;device&gt; 
<BR>---------------------------------------------------------------------------- 
<BR>------------------------ <BR>
<P>So i ran `e2fsck -b 8193 /&lt;device&gt;`, but i was getting the same 
message. <BR>I've read every man/doc that has something to do with ext2fs etc. 
_and_ I <BR>searched the whole internet for people having this very same 
problem, but <BR>there where pratically none. Can please some help me out . </P>
<P>Mail me at <A 
href="mailto:andre@institutotreinar.com.br">andre@institutotreinar.com.br</A>. 
</P>
<P>Thanks in advance. </P></DIV></FONT>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I have very much important data inside it, and some are not 
backuped.( unfortunately I did not make bkup last month.<BR></FONT></DIV>
<DIV>&nbsp;</DIV><FONT size=2>
<DIV><BR>Tks</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>André Videira from Brazil<BR></FONT></DIV></FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004401c19599$9e3cbc80$09c8a8c0>