LinuxQuestions.org
Review your favorite Linux distribution.
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 10-21-2008, 06:28 AM   #1
kurianthayil
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
ReiserFS check - Rebuild Tree


Hi All,

We have a logical drive (raid 1+0) enabled with 210 GB and is formatted with ReiserFS. Recently, we got an error which is given below:
ReiserFS: cciss/c0d1p1: warning: vs-13060: reiserfs_update_sd: stat data of object [8210 8809 0x0 SD] (nlink == 1) not found (pos 1)
and we lost almost 75 GB of freespace.

So we did reiserfsck --check [device] and it suggested to use --rebuild-tree.

Doing reiserfsck --rebuild-tree [device] corrected the error and we regained the lost space. Now, since --rebuild-tree covers only data blocks (blocks only with data), we thought of checking the complete partition. Hence we used,

reiserfsck --rebuild-tree --scan-all-partition [device].

This started scanning and after PASS 2, it has given a message:
Quote:
vpf-10260: The file we are inserting the new item (2 8280 0x17a1b8001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17a5ac001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17a9a0001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17ad94001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17b188001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17b57c001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17b970001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17bd64001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17c158001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17c54c001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17c940001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17cd34001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x17d128001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2 8280 0x170001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has no StatData, insertion was skipped
left 82, 73 /sec
Its now 2.5 hours and there is no progress (no message in console). I am not in a position to kill this process, as killing reiserfsck during --rebuild-tree will make the device unmountable to prevent further data corruption.

I checked the ps aux|grep reiserfsck using a different console, then I came to know, that it is using a significant amount of CPU. I just wanted to make sure, that this is quite normal and its running in the background and is not in a state where it isn't working. Please do suggest some tips. Thanks in advance. Thank you.

Regards,

Kurian Mathew Thayil.
 
Old 10-26-2008, 05:25 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
It's probably running with DMA turned off.

My advice is when it's finished to stop using Reiserfs. You're lucky if it doesn't cause problems. I remember reading something once about how under certain circumstances ext2 would work fine, and reiserfs would corrupt data, and the reiser people claimed that it was a hardware issue, not a problem with the filesystem. Anyway I've had a couple of nasty situations dealing with reiserfs (and so have plenty of others) that I don't think it's worth the risk.
 
Old 11-02-2008, 09:47 AM   #3
kurianthayil
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,

I am extremely sorry for the very late reply. The problem got fixed. I didn't have to do anything. But it took very long time (more than 1.5 days) to completely scan the whole hard drive. The system responded and rebuilt the tree structure. We regained the lost partition space. Thank you.

Regards,

Kurian Mathew Thayil.
 
  


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
My server wont start (ReiserFS problem --rebuild-tree) Snouser Linux - Newbie 2 10-02-2008 12:49 PM
fsck --rebuild-tree does not work prophetnite Linux - Software 3 05-22-2008 12:16 AM
reiserfsck rebuild-tree error!!! please help jms830 Linux - Hardware 0 02-05-2007 09:27 AM
ReiserFs corruption under 6.06/10 rebuild-tree necessary rasp1 Ubuntu 2 11-04-2006 02:32 PM
reiserfsck --rebuild-tree won't finish Riallin Linux - General 1 12-14-2005 10:15 AM

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

All times are GMT -5. The time now is 12:17 PM.

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