LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2008, 03:35 PM   #1
tkmbe
Member
 
Registered: Jun 2005
Location: Obera, Argentina
Distribution: OpenSuse 10.3, Debian 4.0, Debian 3.1
Posts: 38

Rep: Reputation: 15
Angry HELP: mke2fs done instead of e2fsck :-(


Hello

Yes I now but ....
I have a raid ext3 fs (/dev/md0) and have done
an mke2fs /dev/md0 instead of e2fsck /dev/md0
The fs was not mounted and nothing more was done i.e.
there was no data overwritten.
How can I recover the cluster structure?

Thanks a lot

Beat
 
Old 05-02-2008, 03:56 PM   #2
GushpinBob
Member
 
Registered: Aug 2007
Distribution: File Server: Ubuntu 10.04
Posts: 56

Rep: Reputation: 15
What type of RAID level configuration did you have?
 
Old 05-02-2008, 04:53 PM   #3
tkmbe
Member
 
Registered: Jun 2005
Location: Obera, Argentina
Distribution: OpenSuse 10.3, Debian 4.0, Debian 3.1
Posts: 38

Original Poster
Rep: Reputation: 15
Only raid level 1 :-(
BTW: I have just verified from an old backup that the filesystem was created the same wayso the copies of the superblock should be intact or not?

Output of tune2fs of the orig filesystem was:
PHP Code:
Inode count:              768544
Reserved block count
:     76808
Block size
:               4096
Fragment size
:            4096
Blocks per group
:         32768
Fragments per group
:      32768
Inodes per group
:         16352 
Output of the new one created was:
PHP Code:
mke2fs /dev/md0
mke2fs 1.36 
(05-Feb-2005)
Filesystem label=
OS typeLinux
Block size
=4096 (log=2)
Fragment size=4096 (log=2)
768544 inodes1536176 blocks
76808 blocks 
(5.00%) reserved for the super user
First data block
=0
47 block groups
32768 blocks per group
32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks
:
        
3276898304163840229376294912819200884736

Writing inode tables
done
Writing superblocks 
and filesystem accounting informationdone

This filesystem will be automatically checked every 25 mounts 
or
180 dayswhichever comes first.  Use tune2fs -or -i to override
 
Old 05-04-2008, 09:48 AM   #4
tkmbe
Member
 
Registered: Jun 2005
Location: Obera, Argentina
Distribution: OpenSuse 10.3, Debian 4.0, Debian 3.1
Posts: 38

Original Poster
Rep: Reputation: 15
Mhhhhh

Where are the linux gurus??
No hints???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mke2fs problem cuco76 Fedora 9 11-22-2003 06:06 PM
accidental mke2fs sarahan Linux - General 1 11-15-2003 04:58 AM
fsck, e2fsck, mke2fs ?'s - RH9 blackx Linux - Newbie 6 05-23-2003 02:02 PM
mke2fs appler Linux - Newbie 2 03-04-2003 05:54 PM
mke2fs problem vaibhavk Linux - General 2 01-15-2002 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration