free space seems wrong...
Hi.
I get
is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150: search_by_key: invalid format found in block 4792161. Fsck?is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150: search_by_key: invalid format found in block 4792161. Fsck?
when accessing a certain directory using du and on the prompt Input/output error.
This does not happen when I iterate over the files by just using find /
...
The disk was full somewhen but now is only half full.
Should I be worried / is it necessary to fix the filesystem ? The problem is, this filesystem is like 2-3 years old and was converted to reiserfs 3.6 maybe a year ago...but as it is a production environment I would not want to put it down at all...
Thanks for any help,
Soeren.
Hello!
Quoted 6 lines · Soeren Sonnenburg
is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150:search_by_key: invalid format found in block 4792161. Fsck?is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150:search_by_key: invalid format found in block 4792161. Fsck? when accessing a certain directory using du and on the prompt Input/output error.
This is a sign of filesystem corruption,
Quoted 1 line
The disk was full somewhen but now is only half full.
This "free space" relates to in-tree nodes, not general filesystem situation.
Quoted 1 line
Should I be worried / is it necessary to fix the filesystem ?
Sure, you'd better run reiserfsck and follow it's advices. Be sure to use latest reiserfsprogs.
Quoted 3 lines
The problem is, this filesystem is like 2-3 years old and was converted to reiserfs 3.6 maybe a year ago...but as it is a production environment I would not want to put it down at all...
You can run reiserfs --check even on readonly mounted fs just to get idea on how broken it is and then to plan what to do next.
Bye,
Oleg
Quoted 10 lines · Oleg Drokin
Hello!
Quoted 6 lines · Soeren Sonnenburg
is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150:search_by_key: invalid format found in block 4792161. Fsck?is_leaf: free space seems wrong: level=1, nr_items=7, free_space=3468 rdkey
vs-5150:search_by_key: invalid format found in block 4792161. Fsck? when accessing a certain directory using du and on the prompt Input/output error.
[...]
Quoted 6 lines
Quoted 3 lines
The problem is, this filesystem is like 2-3 years old and was converted to reiserfs 3.6 maybe a year ago...but as it is a production environment I would not want to put it down at all...
You can run reiserfs --check even on readonly mounted fs just to get idea on how broken it is and then to plan what to do next.
Well... see below for the output of reiserfsck, which I just started on the rw mounted fs (just to check whether the tool itself is the latest version). The kernel now is 2.4.20 and it does correctly claim that the fs is mounted on a different reiserfs partition (Partition /dev/sda6 is mounted w/ write permissions, cannot check it)
I have no idea whether I should indeed do --rebuild-sb --rebuildtree ...
Regards,
Soeren.
<-------------reiserfsck, 2002------------->
reiserfsprogs 3.6.5-pre2
*************************************************************
** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsk ** ** 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/sdd1 Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yesreiserfs_open_journal: journal parameters from super block does not match to journal parameters from journal.
Either make journal partition available or use --no-journal-available If you have the standard journal or if your partition is available and you specified it correctly, you must run rebuild-sb.
Hi,
Quoted 6 lines
do):Yes
reiserfs_open_journal: journal parameters from super block does not match to journal parameters from journal.Either make journal partition available or use --no-journal-available If you have the standard journal or if your partition is available and you specified it correctly, you must run rebuild-sb.
There is a new check for journal parameters were added which helps to recover fs with relocated journal and in a few other cases. These parameters were not stored correctly in old kernels before relocated journal appeared. This is nothing to worry about, and you can fix if you run fsck --rebuild-sb and say there to fix parameters in the jouranl by ones from the super block.
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 9 lines · Vitaly Fertman
Hi,
Quoted 6 lines
do):Yes
reiserfs_open_journal: journal parameters from super block does not match to journal parameters from journal.Either make journal partition available or use --no-journal-available If you have the standard journal or if your partition is available and you specified it correctly, you must run rebuild-sb.
Quoted 5 lines
There is a new check for journal parameters were added which helps to recover fs with relocated journal and in a few other cases. These parameters were not stored correctly in old kernels before relocated journal appeared. This is nothing to worry about, and you can fix if you run fsck --rebuild-sb and say there to fix parameters in the jouranl by ones from the super block.
Ok. So I ran reiserfsck --rebuild-sb first and later with --check and than --rebuild-tree... It connected very few files to lost+found and finished within 1hr (its a ~3 year old 300G raid) - good job guys !
Thanks a lot,
Soeren.