fredlcore
10-11-2008, 16:15
Hi,
I've got the problem that in one of my folders, I have a file that is unable to delete. It consists of an unprintable character and when I try to delete the parent directory with rm -rf, all it says is that it can't delete the file, because it doesn't exist :confused:...
The weird thing is that if I edit this file with midnight commander and save it, the same file name exists two times, with exactly the same inode number. I can then delete the file once, but the second time the error re-occurs.
I think that maybe the ext2 filesystem is corrupt and wanted to run e2fsck after unmounting the 160GB main partition, leaving the swap partition activated.
After eight hours, it is still in "phase 1" of the checking. A parallel "top" tells me that it's actively working, but it just doesn't seem to finish. The harddisk is maybe 40% full.
So my question is what is wrong here? Are there any ways to speed up e2fsck without disassembling the unit and connecting the harddisk to a linux server?
Or is there another way to get rid of this strange file?
Any help is highly appreciated,
F.
I've got the problem that in one of my folders, I have a file that is unable to delete. It consists of an unprintable character and when I try to delete the parent directory with rm -rf, all it says is that it can't delete the file, because it doesn't exist :confused:...
The weird thing is that if I edit this file with midnight commander and save it, the same file name exists two times, with exactly the same inode number. I can then delete the file once, but the second time the error re-occurs.
I think that maybe the ext2 filesystem is corrupt and wanted to run e2fsck after unmounting the 160GB main partition, leaving the swap partition activated.
After eight hours, it is still in "phase 1" of the checking. A parallel "top" tells me that it's actively working, but it just doesn't seem to finish. The harddisk is maybe 40% full.
So my question is what is wrong here? Are there any ways to speed up e2fsck without disassembling the unit and connecting the harddisk to a linux server?
Or is there another way to get rid of this strange file?
Any help is highly appreciated,
F.