Skip to contentSkip to conversation

reiser4 problem deleting files / directories

DISCUSSION Daniel Kasak 3 participants 4 messages Apr 28, 2006

lore
Share & tools
lore
#0 lore raw

Hi all.

I just ran out of space while compiling, and went to delete everything in /var/tmp/portage. I get the error:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code': Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

This is with:
rm -rf /var/tmp/portage/*

Also, I've got the following in my kernel messages:

reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903045: 0 of 2: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903045) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903078: 0 of 4: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903078) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903089: 0 of 3: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903089) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903079: 0 of 3: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903079) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903062: 0 of 4: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903062) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903093: 0 of 3: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903093) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903095: 0 of 4: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903095) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6909813: 0 of 3: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6909813) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6909812: 0 of 4: -28
reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6909812)

These warning seem to be produced at the point where I ran out of space ( I see the 'emerge' process mentioned ).

After rebooting, I no longer get these kernel messages, however I am still unable to delete the nautilus folder. I still get:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code': Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

I'd very much prefer it if I didn't have to run fsck.reiser4 on this partition, as it's the root partition on my laptop, and I've had *bad* experiences with data loss after using fsck.resier4 before. Is this my only option?

Signature · 8 lines
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [email protected]
website: http://www.nusconsulting.com.au
#1 lore raw

Hello

Quoted 85 lines · Daniel Kasak

Hi all.

I just ran out of space while compiling, and went to delete everything in /var/tmp/portage. I get the error:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code':
Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

This is with:
rm -rf /var/tmp/portage/*

Also, I've got the following in my kernel messages:

reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903045: 0 of 2: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903045) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903078: 0 of 4: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903078) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903089: 0 of 3: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903089) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903079: 0 of 3: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903079) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903062: 0 of 4: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903062) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903093: 0 of 3: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903093) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6903095: 0 of 4: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6903095) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6909813: 0 of 3: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6909813) reiser4[emerge(11397)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:733)[nikita-2282]:
WARNING: Partial conversion of 6909812: 0 of 4: -28 reiser4[emerge(11397)]: release_unix_file (fs/reiser4/plugin/file/file.c:2637)[nikita-3233]:
WARNING: Failed to convert in release_unix_file (6909812)

These warning seem to be produced at the point where I ran out of space ( I see the 'emerge' process mentioned ).

After rebooting, I no longer get these kernel messages, however I am still unable to delete the nautilus folder. I still get:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code':
Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

Quoted 5 lines

I'd very much prefer it if I didn't have to run fsck.reiser4 on this partition, as it's the root partition on my laptop, and I've had *bad* experiences with data loss after using fsck.resier4 before. Is this my only option?

Are you able to delete other files/directories?
If yes, you can probably rename nautilus directory somewhere and forget about it.
But, as long as something started to go wrong - you should find possibility to fsck the partition at some time.

#2 lore raw
In reply to Daniel Kasak

Hi,

Quoted 4 lines

I just ran out of space while compiling, and went to delete everything in /var/tmp/portage. I get the error:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code': Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

just to confirm, i had the same error. i thought it would be unrelated to the partition filling up but reading your post i do believe otherwise now. in my case i restored my fs from a recent backup.

could it really be that a released filesystem (reiser4) cannot handle a partition that's filled up to the max without damaging filesystem structures? can somebody from the reiser4 crew comment on this?

kind regards,
michael

#3 lore raw

Hello

Quoted 10 lines · Michael Weissenbacher

Hi,

Quoted 9 lines

I just ran out of space while compiling, and went to delete everything in /var/tmp/portage. I get the error:

rm: reading directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2/cut-n-paste-code':
Input/output error
rm: cannot remove directory `/var/tmp/portage/nautilus-2.12.2//work/nautilus-2.12.2': Directory not empty

Quoted 8 lines

just to confirm, i had the same error. i thought it would be unrelated to the partition filling up but reading your post i do believe otherwise now. in my case i restored my fs from a recent backup.

could it really be that a released filesystem (reiser4) cannot handle a partition that's filled up to the max without damaging filesystem structures? can somebody from the reiser4 crew comment on this?

some time ago we did such tests and evreything was fine. We will do more similar tests however.