Unable to delete files in /tmp/kdecache : Input/output error
Hello everyone,
I upgraded my Acer travelmate laptop hdd end of last month from an 80g to a 120g using dd, this being the second time this year as it only had a 40g originally - so I had practice!
This time I started getting disk access problems------couldn't access stuff I seem to have lost my notes - they are spread around on bits of paper but I did run fsck on the drive and this is what I got....(28/09/08)
[root@max guest]# fsck /dev/hda7
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/hda7 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Running additional passes to resolve blocks claimed by more than one inode...
Pass 1B: Rescanning for multiply-claimed blocks
Multiply-claimed block(s) in inode 2583626: 5302845 5302827 5302828 5302827 5302
828 5302845
Pass 1C: Scanning directories for inodes with multiply-claimed blocks
Pass 1D: Reconciling multiply-claimed blocks
(There are 1 inodes containing multiply-claimed blocks.)
File /pierre/Movies/Arsenic And Old Lace (1944) DVDRip (SiRiUs sHaRe)/Arsenic An d Old Lace (1944) DVDRip (SiRiUs sHaRe).avi (inode #2583626, mod time Fri Aug 22 02:59:10 2008)
has 6 multiply-claimed block(s), shared with 0 file(s):
Clone multiply-claimed blocks<y>? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -5302821 -(5302835--5302836)
Fix<y>? yes
Free blocks count wrong for group #1 (23061, counted=23058).
Fix<y>? yes
Free blocks count wrong for group #161 (0, counted=3).
Fix<y>? yes
/dev/hda7: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hda7: 14132/2714432 files (8.4% non-contiguous), 3057630/5419921 blocks
I stopped using ktorrent as it appeared to be the cause, it did cure the disk access problem, and I uninstalled it with synaptic and tried to remove all related files. I could not remove a chunk of files listed in /tmp/kdecache. I still have not come up with an answer to this so I thought I would post it!
[root@max http]# ls -la /tmp/kdecache-pierre/http/t/
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7ef93615: Input/output error
ls: /tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_1e2649af: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_72868d9a: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_644a341e: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_5a99c7e2: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6dbaadc7: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_79ab5330: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_67100bf5: Input/output error
ls: /tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_4f32a0ef: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7b6c3c03: Input/output error
ls: /tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_3f3aef48: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6d1d8e37: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7d6fe1e5: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6cb4e9d1: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6448d20b: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_64a3c218: Input/output error
ls: /tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_56cadda9: Input/output error
total 244
drwx------ 2 pierre pierre 241664 Oct 27 22:26 ./
drwx------ 19 pierre pierre 4096 Oct 19 21:15 ../
If I try to delete the directory I get
[root@max http]# rm -r t
rm: descend into directory `t'? y
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_7ef93615': Input/output error
rm: remove regular file `t/thelandroverchronicles.com_thelandroverpub-1001.jpg_72cb6020'? y
rm: cannot lstat `t/tracker.prq.to_announce.php_1e2649af': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_72868d9a': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_644a341e': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_5a99c7e2': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_6dbaadc7': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_79ab5330': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_67100bf5': Input/output error
rm: cannot lstat `t/tracker.prq.to_announce.php_4f32a0ef': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_7b6c3c03': Input/output error
rm: cannot lstat `t/tracker.prq.to_announce.php_3f3aef48': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_6d1d8e37': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_7d6fe1e5': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_6cb4e9d1': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_6448d20b': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_64a3c218': Input/output error
rm: cannot lstat `t/tpb.tracker.thepiratebay.org_announce_56cadda9': Input/output error
[root@max /]# du -s
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7ef93615': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_1e2649af': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_72868d9a': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_644a341e': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_5a99c7e2': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6dbaadc7': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_79ab5330': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_67100bf5': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_4f32a0ef': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7b6c3c03': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tracker.prq.to_announce.php_3f3aef48': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6d1d8e37': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_7d6fe1e5': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6cb4e9d1': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_6448d20b': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_64a3c218': Input/output error
du: cannot access `./tmp/kdecache-pierre/http/t/tpb.tracker.thepiratebay.org_announce_56cadda9': Input/output error
1.8T .
I presume the 1.8T above is refering to capacity but this can't be right can it on an 20g drive!! being a newbie, well since the beginning of this year I feel this has something to do with inodes, as if this lot have lost theirs and thats why I can't delete them. Despite reading a lot on Linux, inodes still mystify me a bit. Sorry if this is long winded - just thought I would give you the whole story. Oh and I'm running PCLinuxOS.
Thanks.
|