Having trouble with REISERFSCK

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Having trouble with REISERFSCK
# 1  
Old 10-16-2005
Having trouble with REISERFSCK

I am having some problems with a Reiserfs partitioned drive on my Suse 9.2 server.

I run reiserfsck:-

# reiserfsck --fix-fixable /dev/hdi1

and I get:-

Partition /dev/hdi1 is mounted with write permissions, cannot check it

so I remount as Read-Only using:-

# mount -o remount,ro /dev/hdi1

and run reiserfsck again:-

# reiserfsck --fix-fixable /dev/hdi1

reiserfsck --fix-fixable started at Sun Oct 16 18:18:41 2005
###########
Filesystem seems mounted read-only. Skipping journal replay.
--fix-fixable ignored

Checking internal tree../ 2 (of 3)/ 88 (of 148)/ 76 (of 170)bad_indirect_item: block 58960179: The item [564 572 0x3404e001 IND (1)] has the bad pointer (239) to the block (4096)
bad_indirect_item: block 58960179: The item [564 572 0x3404e001 IND (1)] has the bad pointer (240) to the block (227422208)
bad_indirect_item: block 58960179: The item (564 572 0x3404e001 IND (1), len 3188, location 908 entry count 0, fsck need 0, format new) has the bad pointer (241) to the block (23529627), which is in tree already
bad_indirect_item: block 58960179: The item (564 572 0x3404e001 IND (1), len 3188, location 908 entry count 0, fsck need 0, format new) has the bad pointer (242) to the block (23529628), which is in tree already
bad_indirect_item: block 58960179: The item (564 572 0x3404e001 IND (1), len 3188, location 908 entry count 0, fsck need 0, format new) has the bad pointer (243) to the block (59173507), which is in tree already
bad_indirect_item: block 58960179: The item (564 572 0x3404e001 IND (1), len 3188, location 908 entry count 0, fsck need 0, format new) has the bad pointer (244) to the block (59173508), which is in tree already
bad_indirect_item: block 58960179: The item (564 572 0x3404e001 IND (1), len 3188, location 908 entry count 0, fsck need 0, format new) has the bad pointer (261) to the block (59173534), which is in tree already
finished
Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.
Checking Semantic tree:
finished
9 found corruptions can be fixed when running with --fix-fixable
###########
reiserfsck finished at Sun Oct 16 18:21:57 2005
###########


So there are clearly errors I need to fix.

Remounting as Read-Write again

# mount -o remount,rw /dev/hdi1

means that reiserfsck can't check the volume.

Does anyone have an idea what I'm doing wrong? Or how I can fix these errors?

Many thanks,

Mark.
# 2  
Old 10-16-2005
I would try this: unmount it, fsck it, then mount it.
# 3  
Old 10-18-2005
Still didn't work Smilie

It appear to run reiserfsck anyway, even though I type "fsck".

I got impatient in the end and ran the apparantly more risky
"reiserfsck --rebuilt-tree" which took a long time but fixed the problem nicely.

Any idea why it refused to run the --fix-fixable?

Thanks anyway,

Mark.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Trouble with C

Hey, i am having a problem First, i know java well and i have used C++ on occasion so i thought i would be able to deal with a class where they program in C. unfortunately i have hit some speed bumps that i am having problems. Here is my problem: I have a structure cache_t in the sample... (0 Replies)
Discussion started by: zephoid
0 Replies

2. UNIX for Dummies Questions & Answers

trouble with awk

I am trying to figure awk. I have a file in my home directory called testawk.sh, have made it executable, and have run it... But don't see any output. This is the contents of the file: #!/usr/bin/awk -f { print " - HI -" }I enter ./testawk.sh in the prompt, press enter, and watch as the... (2 Replies)
Discussion started by: matthewden
2 Replies

3. Red Hat

cannot mount after failed reiserfsck --rebuild-tree

Anyone know of a way to get a FS to mount after a reiserfsck --rebuild-tree has failed on it? I am running Linux 5.2. I have read a bit about ddrescue, not sure if it can be run with a raid 10. (4 Replies)
Discussion started by: king_hippo
4 Replies

4. UNIX for Dummies Questions & Answers

Trouble with cron

Here is what my crontab shows when I do crontab -e # fields minute(0-59) hour(0-23) day(1-31) month(1-12) day of week (0-6, 0=sun) # 30 04 * * 06 /home/rkruck/scripts/shell/backup 15 9 * * * /home/rkruck/scripts/shell/get_passwd_files The first script runs no problem as... (5 Replies)
Discussion started by: rkruck
5 Replies

5. UNIX for Dummies Questions & Answers

Having trouble with .bashrc

hey guys, Im trying to find all my .bashrc files in the home directory. ~/etc/bash.bashrc is the only thing i can find but its outside of my /home Could the files be hidden? I want to see all my .bashrc files in my /home structure... <cries> (5 Replies)
Discussion started by: oxoxo
5 Replies

6. UNIX for Dummies Questions & Answers

X trouble

Hi there, I'm new to unix-environments. I'm richard, and i'm mostly a web-developer, under php. I've done work in unix env before, but never had my own. Today, I've got debian 3.1 r4 from the official site, and i've attempted to install it twice. I installed it initially as "Desktop... (0 Replies)
Discussion started by: izua
0 Replies

7. Solaris

Trouble with tr

I'm not sure where to post this but it's happening on a SunOS 5.8 server so I'll try here. I've discovered some unexpected behavior when using tr. For example: echo a | tr Z echo b | tr a echo a | tr B echo a | tr B echo a | tr A (8 Replies)
Discussion started by: Mike@Work
8 Replies

8. UNIX for Dummies Questions & Answers

The trouble about SU ...

Hi all, having read lots of posts about SU I don't quiet understand this : I'm doing regular backups of my database (u betta do) and therefore use su - username -c "sqlscript special data_base" in a unixscript which is even using cron. (yep!) Now I need some other script, still with this... (4 Replies)
Discussion started by: nulnul7
4 Replies

9. What is on Your Mind?

The trouble with...

Welcome to "The trouble with...." with your host, ZazzyBob. Todays offering - "The trouble with letting other people host your website" I use a certain web hosting service, who shall of course remain nameless here. They are running PHP 4.3.10 I decide to write a script to test their PHP... (6 Replies)
Discussion started by: zazzybob
6 Replies

10. UNIX Desktop Questions & Answers

trouble

Hello, The system reboots in single user mode what command to use to bring the system up regularly?? I get INIT: cannot create /var/adm/utmpx Type control -d to proceede with a normal startup or give root passwd for system maintaince. either way i don't have a change and ... (1 Reply)
Discussion started by: awk
1 Replies
Login or Register to Ask a Question