Undeletable files
Roland Bock
rbock at eudoxos.de
Thu Oct 23 11:51:53 UTC 2008
Justin,
thanks for the hint!
Yes, some of them are immutable, e.g.
00000000_0000_AAM_TUI_007.txt Synchronous_Directory_Updates, Immutable,
No_Atime, Compression_Raw_Access
Others aren't, e.g.
00000000_0000_AAM_TUI_002.txt Secure_Deletion, Append_Only, No_Atime,
Compression_Raw_Access, Top_of_Directory_Hierarchie
Got rid of them by:
chattr -i -a *; rm *
Thanks again,
Roland
Justin Piszcz wrote:
>
>
> On Thu, 23 Oct 2008, Roland Bock wrote:
>
>> Hi,
>>
>> an e2fsck-run left a few files sprinkled over the file system which
>> seem to be undeletable. Although the FS is mounted RW, even root does
>> not seem to be able to delete them.
>>
>
> [ .. ]
>
>> For example:
>> #: rm 20011112_0000_AAM_TUI_000.txt
>> rm: cannot remove `20011112_0000_AAM_TUI_000.txt': Operation not
>> permitted
>>
>> #: chown root:root 20051109_0000_AAM_TUI_000.txt
>> chown: changing ownership of `20051109_0000_AAM_TUI_000.txt':
>> Operation not permitted
>>
>> #: chmod a+w 20061221_0000_AAM_TUI_001.txt
>> chmod: changing permissions of `20061221_0000_AAM_TUI_001.txt':
>> Operation not permitted
>>
>>
>> Any idea of how to get rid of these files? I have about a 100 million
>> files on that file system. "About" 30.000 are in such a state as
>> described above. The rest behaves normally (can be modified, deleted,
>> etc).
>
> Either the FS is damaged or the files are chattr'd +i, lsattr -l filename.
>
> Are they immutable by chance?
>
> Justin.
>
More information about the Ext3-users
mailing list