lkml.org 
[lkml]   [1999]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Wrong file size, is it dangerous?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.064 / U:2.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site