Messages in this thread | | | From | Taral <> | Subject | Re: Wrong file size, is it dangerous? | Date | Mon, 8 Mar 1999 14:52:15 -0600 |
| |
On Mon, 08 Mar 1999, Michael K Vance wrote: >Ricardo Galli Granada wrote: > >> 1. Can I delete it safely? (I am scared to do it, I even trying to avoid a >> reboot...) > >Most likely, you won't be able to. This sort of thing happened to me once, and >I had to boot from a rescue disk and use debugfs to remove the files. > >> 2. How can I see what's wrong in the file? I tried to do lseek and I am >> getting errors. How can I send you more useful information? > >Debugfs will print a bunch of info about what exactly was wrong with the >file--I'm not sure if it will be useful or not.
Actually, you should fsck the disk that the file resides on. You shouldn't _ever_ need to debugfs an ext2 filesystem to remove a damaged file -- fsck should be able to fix it for you. Note that you may need to run fsck manually, since it may have to delete data from the disk.
Taral
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |