Skip to contentSkip to conversation

no space left, rebuild-tree not finished, partition not mountable

DISCUSSION [email protected] 4 participants 4 messages May 1, 2004 – May 4, 2004

lore
Share & tools
lore
#0 lore raw

Hi List!

I want to mount a partition to delete some files, because there isn't any space on the partition anymore. I cannot mount it, because --rebuild-tree didn't finish. It didn't finish, because there isn't enought space on the partition anymore. So what should I do?

It's a ~110G Partition. I did dd_rescue to another device and --rebuild-tree but still having the same problems.

Any hints?

Best regards

Hans Kuhlen

P.S.: ReiserFS 3.6? (SuSE9)

#1 lore raw
Quoted 11 lines · On Sat, May 01, 2004 at 03:38:38PM +0200, [email protected] wrote:

Hi List!

I want to mount a partition to delete some files, because there isn't any space on the partition anymore. I cannot mount it, because --rebuild-tree didn't finish. It didn't finish, because there isn't enought space on the partition anymore. So what should I do?

It's a ~110G Partition. I did dd_rescue to another device and --rebuild-tree but still having the same problems.

Any hints?

It would be against logic if dd_rescure would solve your problem.

You could try (but I really don't know if it works) the following:

"dd" your partition to a larger one and try to run "resize_reiserfs" on the copy to enlarge it. Run --rebuild-tree afterwards.

If resize_reiserfs fails (I don't know if it checks filesystem consistency before extending) patch the correspondending check simply out of resize_reiserfs.

This is very experimental but in worst case you loose some time because you working on a copy of your partition.

Good luck, but I guess that other people may offer you better solutions...

Signature · 2 lines
  ciao - 
    Stefan
#2 lore raw

Hello

Quoted 8 lines · Stefan Traby
Quoted 7 lines · On Sat, May 01, 2004 at 03:38:38PM +0200, [email protected] wrote:

Hi List!

I want to mount a partition to delete some files, because there isn't any space on the partition anymore. I cannot mount it, because --rebuild-tree didn't finish. It didn't finish, because there isn't enought space on the partition anymore. So what should I do?

Quoted 5 lines
Quoted 4 lines

It's a ~110G Partition. I did dd_rescue to another device and --rebuild-tree but still having the same problems.

Any hints?

You have hit reiserfsck bug. Please send reiserfsck --rebuild-tree output.

Quoted 16 lines

It would be against logic if dd_rescure would solve your problem.

You could try (but I really don't know if it works) the following:

"dd" your partition to a larger one and try to run "resize_reiserfs" on the copy to enlarge it. Run --rebuild-tree afterwards.

If resize_reiserfs fails (I don't know if it checks filesystem consistency before extending) patch the correspondending check simply out of resize_reiserfs.

This is very experimental but in worst case you loose some time because you working on a copy of your partition.

Good luck, but I guess that other people may offer you better solutions...

#3 lore raw
In reply to Stefan Traby
Quoted 11 lines · Stefan Traby
Quoted 10 lines · On Sat, May 01, 2004 at 03:38:38PM +0200, [email protected] wrote:

Hi List!

I want to mount a partition to delete some files, because there isn't any space on the partition anymore. I cannot mount it, because --rebuild-tree didn't finish. It didn't finish, because there isn't enought space on the partition anymore. So what should I do?

It's a ~110G Partition. I did dd_rescue to another device and --rebuild-tree but still having the same problems.

Quoted 8 lines
Quoted 1 line

Any hints?

It would be against logic if dd_rescure would solve your problem.

You could try (but I really don't know if it works) the following:

"dd" your partition to a larger one and try to run "resize_reiserfs" on the copy to enlarge it. Run --rebuild-tree afterwards.

resize_reiserfs will not work on this fs because rebuild-tree was not finished. you should run 'reiserfsck --rebuild-sb' after copying to set the fs size to the partition size and then as was mentioned 'reiserfsck --rebuild-tree'.
It would be better also to zero the end of the targer partition to not get the mix with metadata of a previous reiserfs, if you ever had a reiserfs there.

Quoted 9 lines

If resize_reiserfs fails (I don't know if it checks filesystem consistency before extending) patch the correspondending check simply out of resize_reiserfs.

This is very experimental but in worst case you loose some time because you working on a copy of your partition.

Good luck, but I guess that other people may offer you better solutions...

Signature · 2 lines
Thanks,
Vitaly Fertman