LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2007, 07:40 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Rep: Reputation: 34
Can we restore the super block on a partision


Hi

When I create a filesystem usin mkfs -j <device> on redhat linux I see this message

32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872


My question is can we restore the super block from a backup

regards
 
Old 10-18-2007, 08:06 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Yup. Sure can:
Code:
/sbin/fsck.ext3 -b 20480000 /dev/sda1
would repair the FS using the superblock at 20480000.

Dave
 
Old 10-18-2007, 08:10 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
http://www.brunolinux.com/04-The_Fil...uperblock.html
 
Old 10-19-2007, 12:09 AM   #4
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Original Poster
Rep: Reputation: 34
Hi guys thanks
 
Old 10-19-2007, 12:26 AM   #5
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Original Poster
Rep: Reputation: 34
Hi guys thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Super Block surficialgolem Linux - Hardware 1 12-08-2005 08:51 AM
ext3 bad super block Sridhar Kumar K Linux - General 3 05-23-2005 09:18 PM
regarding backup super block? zameer_india Linux - Networking 1 02-10-2005 03:31 PM
mdadm super block - RH9 wombatz Linux - Software 4 05-04-2004 05:20 PM
How to clean super block and MBR under Linux preswang Linux - General 5 10-30-2003 06:31 AM


All times are GMT -5. The time now is 09:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration