It would be nice to determine _why_ you can't unlink these files. If
it was just an issue of size > 2GB, you should get EFBIG error or so.
People have been reporting undeletable files several times now... Before
you reformat, could you do some debugging?
It appears a reasonable spot to get the EIO from is in ext2_delete_entry()
where we are validating the de in ext2_check_dir_entry(). Can you check
your syslog for any error messages, like:
ext2_delete_entry: bad entry in directory X: 199908231702.txt ...
It would be _nice_ to be able to delete a dir entry even if it is corrupt
(considering we want to delete it, so we don't really care about that dir
entry), but that may cause further corruption of the previous dir entry
(which we DO want to keep).
The only other place I can see we return EIO is in ext2_unlink when
comparing de->inode to inode->i_ino. However, this could only happen
if a file of the same name was created in the directory, OR the dir entry
was changed after we had done the lookup. Strange, but unlikely here.
Obviously e2fsck doesn't fix the problem? Could you run debugfs on this
filesystem, cd to the "mac3dfx/news/1999/08" directory, and "stat" each
of these broken files? This may help to identify what is wrong with the
files that e2fsck isn't fixing.
Cheers, Andreas
-- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/