Unremovable inode! HELP

Unremovable inode! HELP

Post by Raghunath K. R » Thu, 08 Sep 1994 01:22:36



Hi,

Recently I had to delete my /var/log/notice file since it became
too large (14 Mb). It was logging an ethernet card error continuously!

But then I found the space for that deleted file was not freed.
So I ran an e2fsck and then the file appeared in /lost+found. But
again it was undeletable! I dont know how this can happen.

Well, finally (since I needed the space), I rm'ed the file, and
then used e2fsck, but this time I didn't move the inode to lost+found,
but just unmarked all the blocks used by it.

So I now have the space I need, but I still can't delete the *&$% inode.
No problems right now in the system, but I dont like that inode to
be left allocated.

Anyone know of a fix????

Thanks a lot

Raghu

 
 
 

1. Help unremovable file

Hi,

I have a file I can't delete....  Here is a  ls -al in the
directory.....
drwxr-xr-x   7 root     root         1024 Feb 17 12:36 .
drwxr-xr-x   9 root     root         1024 Feb 17 11:22 ..
drwxr-xr-x   2 root     root         8192 Feb 17 11:07 man1
drwxr-xr-x   2 root     root        34816 Feb 15 16:40 man3
c--xr--r-x   1 me       25954    110,  97 Apr  2  1987 man4
drwxr-xr-x   2 root     root         1024 Feb 15 11:15 man5
drwxr-xr-x   2 root     root         1024 Feb 15 11:15 man6
drwxr-xr-x   2 root     root         1024 Feb 15 11:15 man7

and the file I can't delete is man4.
I read around enough to try lsattr and this is what I get when I run
that....
#lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
-------- ./man1
-------- ./man3
lsattr: Operation not supported by device While reading flags on ./man4
-------- ./man5
-------- ./man6
-------- ./man7

I changed myself to "me" (the owner of the file) and got the following
#lsattr
lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
-------- ./man1
-------- ./man3
lsattr: Permission denied While reading flags on ./man4
-------- ./man5
-------- ./man6
-------- ./man7

I tried to use chattr with out knowing which attributes to unset...
# chattr -ASacdisu man4
chattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
chattr: Operation not supported by device while reading flags on man4

I also tried to do lsatter while in single user mode and got the same
message
#lsattr man4
lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
lsattr: Operation not supported by device While reading flags on man4

Does anyone have any ideas?

Mark

2. Reading other processes memory

3. unremovable files: how to delete ?! Help !

4. What bits do I need for Gateway P5-120 Elite

5. Unremovable files and directories...

6. Eporting of charakter devices / ttySx

7. I have filled up with inodes on /usr, can I change inode withour reinstall?

8. salts

9. Unremovable directory!

10. grow inodes: inode-max limit reached error.

11. Unremovable files

12. Bad blocks, inodes and .badblocks -> Make root inode 2

13. Question about deleting inode / drop inode