Re: Undeletable files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux