Jump to content

reiserfsck --rebuild-tree via GUI not finishing?


fireplex

Recommended Posts

Got a read only filesystem so ran eiserfsck with --check and it advised to use rebuild-tree.

 

I have done this and got after several hours:

 

Will rebuild the filesystem (/dev/md4) tree

Will put log info to 'stdout'

Replaying journal:

Replaying journal: Done.

Reiserfs journal '/dev/md4' in blocks [18..8211]: 0 transactions replayed

###########

reiserfsck --rebuild-tree started at Fri Sep  2 10:16:19 2016

###########

 

Pass 0:

Loading on-disk bitmap .. ok, 417174605 blocks marked used

Skipping 23115 blocks (super block, journal, bitmaps) 417184219 blocks will be read

0%....20%....40%....60%....80%....100%

"r5" hash is selected

Flushing..finished

Read blocks (but not data blocks) 417184219

Leaves among those 413195

- leaves all contents of which could not be saved and deleted 54

Objectids found 4300

 

Pass 1 (will try to insert 413141 leaves):

Looking for allocable blocks .. finished

0%....20%....40%....60%....80%....100%

Flushing..finished

413141 leaves read

413118 inserted

23 not inserted

 

Pass 2:

0%....20%....40%....60%....80%....100%

Flushing..finished

Leaves inserted item by item 23

Pass 3 (semantic):

Flushing..finished

Files found: 3837

Directories found: 463

Broken (of files/symlinks/others): 1

Pass 3a (looking for lost dir/files):

Looking for lost directories:

Flushing..finished

Pass 4 - finished

Deleted unreachable items 1318

Flushing..finished

Syncing..finished

 

but the GUI still says "running" below this and I can refresh or cancel. I've been refreshing to watch its progress and its stuck on "Sycing..finished" now for over 1hr, I was expecting to see something like "resierfsck finished at xxxxx".

 

root@Tower:~# ps -ef|grep fsck

root      5021 22337  0 16:46 pts/0    00:00:00 grep fsck

root    25247    1  6 10:14 ?        00:26:24 /sbin/reiserfsck /dev/md4 --yes --quiet --rebuild-tree

 

top also shows 25% wa time which seems as though IO is occurring somewhere.....

 

no iostat or iotop so can't see anything further but under /proc the counters are not changing:

 

root@Tower:/proc/25247# cat io

rchar: 1715920226173

wchar: 3751405366

syscr: 418925848

syscw: 915997

read_bytes: 1711656914944

write_bytes: 3446292480

cancelled_write_bytes: 0

 

 

Any ideas?

 

Link to comment

Well, eventually it finished:

 

Flushing..finished

Syncing..finished

###########

reiserfsck finished at Fri Sep  2 17:31:20 2016

###########

####### Pass 0 #######

init_source_bitmap: Bitmap 9725 (of 32768 bits) is wrong - mark all blocks [318668800 - 318701568] as used

block 278645675: The number of items (5622) is incorrect, should be (1) - corrected

block 278645675: The free space (18627) is incorrect, should be (4048) - corrected

pass0: vpf-10200: block 278645675, item 0: The item [2 1628637329 0xf9fd0005 IND (1)] with wrong offset is deleted

block 290222723: The number of items (2) is incorrect, should be (0) - corrected

block 290222723: The free space (3) is incorrect, should be (4072) - corrected

block 292266724: The number of items (17801) is incorrect, should be (1) - corrected

block 292266724: The free space (18663) is incorrect, should be (4048) - corrected

pass0: vpf-10110: block 292266724, item (0): Unknown item type found [3 2336805887 0xc08548d8 ??? (15)] - deleted

block 294646818: The number of items (35584) is incorrect, should be (1) - corrected

block 294646818: The free space (26694) is incorrect, should be (4048) - corrected

pass0: vpf-10110: block 294646818, item (0): Unknown item type found [1183514624 478710120 0x8b000001 ??? (8)] - deleted

block 444543456: The number of items (6) is incorrect, should be (0) - corrected

block 444543456: The free space (2) is incorrect, should be (4072) - corrected

4298 directory entries were hashed with "r5" hash.

####### Pass 1 #######

####### Pass 2 #######

####### Pass 3 #########

vpf-10680: The file [157 158] has the wrong block count in the StatData (16826624) - corrected to (5874904)

####### Pass 3a (lost+found pass) #########

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...