Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] I have a bad superblock -reiserfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
medaille
n00b
n00b


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Feb 05, 2006 9:02 pm    Post subject: [solved] I have a bad superblock -reiserfs Reply with quote

Here's my problem,

Occasionally my computer crashes because it gets too hot, my screen completely freezes and the like. It completely stops responding.

Well anyway this has screwed up one of my hard drives, which uses reiserfs on it. upon boot it told me that I needed to rebuild the super block on it.

I did that using reiserfsck --rebuild-sb /dev/hde1

now when it boots up it states that I have the wrong fs type (in fstab its fine) in the superblock.

I'm questioning whether I might have typed an option wrong when rebuilding the superblock.

So what I've tried to do is go back and rebuild the superblock again, thinking that I could change an option and get it to mount again, but when I try to do it, it states that I have a valid superblock and won't rebuild it.

Any ideas?


Last edited by medaille on Sun Feb 12, 2006 8:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Feb 05, 2006 9:32 pm    Post subject: Reply with quote

Run reiserfsck and reiserfstune, see if everything matches.
Is this 3.6 or 4 ?
If it's 4, remember the warranty stopped when you ran mkfs...
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
medaille
n00b
n00b


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Feb 05, 2006 10:00 pm    Post subject: Reply with quote

Here's the terminal output from reiserfsck /dev/hde1

Quote:
(none) ~ # reiserfsck /dev/hde1
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/hde1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes###########
reiserfsck --check started at Sun Feb 5 10:45:48 2006
###########
Replaying journal..
Reiserfs journal '/dev/hde1' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 16616
Internal nodes 119
Directories 180
Other files 4560
Data block pointers 16367870 (125521 of them are zero)
Safe links 0
###########
reiserfsck finished at Sun Feb 5 10:48:14 2006
###########


Here's the terminal output for reiserfstune /dev/hde1

Quote:
(none) ~ # reiserfstune /dev/hde1
reiserfstune: Journal device has not been specified. Assuming journal is on themain device (/dev/hde1).

Current parameters:

Filesystem state: consistent

Reiserfs super block in block 16 on 0x2101 of format 3.6 with standard journal
Count of blocks on the device: 19537040
Number of bitmaps: 597
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks):3269149
Root block: 214869
Filesystem is clean
Tree height: 4
Hash function used to sort names: not set
Objectid map size 182, max 972
Journal parameters:
Device [0x0]
Magic [0x0]
Size 8193 blocks (including 1 for journal header) (first block 18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0:
sb_version: 2
inode generation number: 1664713
UUID: f27c18c2-6899-4a6b-8c12-dfb5d91312e8
LABEL:
Set flags in SB:


Here's what happens when I try to mount it.

Quote:
(none) ~ # mount /dev/hde1 /mnt/Storage1
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Back to top
View user's profile Send private message
medaille
n00b
n00b


Joined: 21 Aug 2004
Posts: 13

PostPosted: Wed Feb 08, 2006 4:27 pm    Post subject: Reply with quote

anybody got any ideas?
Back to top
View user's profile Send private message
medaille
n00b
n00b


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Feb 12, 2006 9:00 pm    Post subject: Reply with quote

I fixed this myself by rebuilding the reiserfs tree
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum