LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2008, 12:51 PM   #1
Hosferatu
Member
 
Registered: Sep 2007
Posts: 32

Rep: Reputation: 15
I can't delete some large weird files


The whole directory seems to be corrupt or something.

Code:
ls -all

brwxr-x-w- 28524 1701176982  808611447            111,  99 Apr  5  1996 0001.txt
?--xr-Sr-x 45767 1853319525 1869379910           845505845 Oct  4  1918 0002.txt
?rw---xrwt 25972 1765466919 1668179308           713520628 Dec 13  2000 0008.txt
?--sr--r-- 26980 2339595066 2698012004          1819307375 Jun 30  2033 0013.txt
?r-xr-x--x 22667 1886205747 1701606202           976236901 May 25  1998 0023.txt
?r-xr--r-x 27760 3516152368  800746863          1853321060 Aug 15  1995 0080.txt
?-wSrws-w- 12337 1868809433 1886217527          3887925616 Aug 26  2027 0113.txt
br-sr-Sr-T 26981 3199561335 2425255013             18,  72 Nov 11  2022 0158.txt
br-sr-srwx 12337 3873336432 3474220336            101,  49 Oct 19  2021 0188.txt
p-ws--Sr-T 30575 1768289106 1698063418          4033018137 Jan 12  2026 0231.txt
---srwS-wx 27760  808568502 1765436783 7813313724694130036 Feb 12  1953 0250.txt
b--srwS--- 55180 2003792997 1819171266            116, 101 Dec 12  1990 0253.txt
br-sr--r-- 13348 1819305265 1952812403            165, 255 Oct 18  2023 0259.txt
?---rw---x 29797 1061250106 3191893104          1819178863 Dec 10  2025 0281.txt
?--sr--r-- 26980 2389926714 3642975588          1819307375 Jun 30  2033 0382.txt
?r-xr-x--x 25824 1869374821 1684082512          1933193266 Nov  5  1903 0475.txt
?r---wsrwt 12337 1819319241 1952802096          4011722271 Aug 26  2027 0599.txt
?--xr--r-t 25402 1701067312 1768175716           658738803 Dec 24  1991 0654.txt
br-Srwx-w- 57808 1697735534  808573348             99,  58 Aug 19  1909 0660.txt
b--sr-srw- 12901  946102639 1664771381            124, 182 Aug 26  2027 0773.txt
?r-xr--r-x 61080 1702115888  879304388          1868787305 Aug 16  1995 0888.txt
?--xr-Sr-x 25454 3696585061 2531551546           808543536 Jan 11  2026 0918.txt
b-wsr-xr-- 28524 1701128441  808611447            111,  99 Apr  5  1996 0996.txt
-r-srwx-wx 25972 1852428363 1868785004 7233184987543219613 Dec 13  2000 1059.txt
br-xrwSr-- 36832 1869362281 1684084555             48, 105 Feb 20  1905 1077.txt
br-sr-Sr-T 12905 2430955127 1683383668             56, 233 Mar 21  2029 1353.txt
?--xr-xr-x 14896   50226540 2055680357           812213620 May 14  2023 1417.txt
b--SrwSr-T 30575 1702136389  828990522             58,  48 May  1  1997 1426.txt
?r--rwx-wT 28781 1698100367  808546147          1360283401 Jun  5  2017 1495.txt
br-sr-srwx 34601 1681550448 2003820764            108, 112 Jun 16  1978 1804.txt
br-xr-Sr-- 36979 1836018020 1819294256            159, 127 Jan 12  2026 1899.txt
br--rwSr-- 28781 4137037873 3645730659            144, 115 Apr  5  1996 1905.txt
?rwxrwsr-T 25956 1701132388  808608111          1836016442 Apr 14  2023 1919.txt
?-w--wS--t 25972 1852423979 1868785004          3987080045 Dec 13  2000 2324.txt
br-xrwSr-- 61102 1869361769 1684085624             48, 105 Mar  5  2003 2356.txt
?r-xr--r-x 62819 1702115888  879356408          1868787305 Aug 16  1995 2753.txt
br-sr-Sr-T 26981 3790499447  385184869            106,  61 Nov 11  2022 2797.txt
br--rwx-wT 25904  647064943 2016307556            105, 101 Aug 25  2027 2956.txt
?-----Srwt 14896 1701608282 1702113637          3777335676 Dec  3  2023 3075.txt
?---rw--w- 28515  845771578  828717624            58935953 Nov  1  1993 4214.txt
br-sr-S-wt 21151  808546413 1681557869            112, 109 Feb  2  1949 4292.txt
br-xr-xrwx 25957 1693541732  976762929            149,  25 Aug 26  2027 4400.txt
?rwS-wx--T 28524 1701148120  808611447           976774388 Apr  5  1996 4560.txt
br-xr-sr-- 28265  390227316 3771677232             48,  50 May 17  2023 4603.txt
c-wx-wSrw- 25972 1852420368 1868785004            100,  97 Dec 13  2000 4673.txt
br-xrwSr-- 50037 1869362281 1684107070             48, 105 Dec 25  1935 4937.txt
?r-xr--r-x 31078 1702115888  829000423          1868787305 Aug 16  1995 5108.txt
br-sr-Sr-T 12393  437284471 1683907956            107,  38 Mar 21  2029 5143.txt
?--xr-xr-x 12337  968844652  344548658           879322484 May 14  2023 5159.txt
?-wSrwx--T 25658 1819296463 1952788529          4151056508 Nov 18  2031 5496.txt
?--xr--r-t 25402 1768176176 1698117732          2434962291 Apr 21  1993 5512.txt
As root I have tried deleting by the inode number, changing permissions, changing attributes, changing ownership. It all comes back with "operation not permitted".

Any idea why this happend and how i can get rid of them?
 
Old 08-19-2008, 12:57 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
First force a fsck on the filesystem from a live CD and repair it.

#info fsck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script help - delete files older than 45 days but exclude the system files jojothedogboy Linux - Software 3 06-13-2008 04:43 PM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 12:40 PM
Snort database growing large; how to use mysql to delete? logicalfuzz Linux - Software 1 01-12-2006 07:14 PM
Large Dell LCD with weird fonts Neruocomp Linux - Hardware 0 06-22-2005 02:03 PM
Weird question... Fastest way to create large arbitrary files? wizade Linux - Software 9 09-06-2003 04:37 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration