
Originally Posted by
mkrahmeh
Code:
$ file .IMG_8854.JPG.yyDFPb
.IMG_8854.JPG.yyDFPb: ERROR: cannot open `.IMG_8854.JPG.yyDFPb' (Input/output error)

Originally Posted by
mkrahmeh
second, try to cd into the directory, and issue the find command to look for the file
Code:
find ./ -name file_name
then post back the echo's output
Code:
$ find ./ -name .IMG_8854.JPG.yyDFPb
./.IMG_8854.JPG.yyDFPb
$ echo $?
0

Originally Posted by
mkrahmeh
try a couple of commands on the file, like find, cat, chown.
Code:
$ sudo chown jeroen:jeroen .IMG_8854.JPG.yyDFPb
[sudo] password for jeroen:
chown: cannot access `.IMG_8854.JPG.yyDFPb': Input/output error
$ cat .IMG_8854.JPG.yyDFPb
cat: .IMG_8854.JPG.yyDFPb: Input/output error
$ hexedit .IMG_8854.JPG.yyDFPb
hexedit: .IMG_8854.JPG.yyDFPb: Not a file.

Originally Posted by
shad0w_walker
Input/output errors generally appear when you have hardware problems. Sounds like you might be getting bad sectors. I'd look into running some SMART tests and perhaps
After reading up on S.M.A.R.T., I installed smartmontools, but my 1 TB external hard drive fromLaCie (on which the onremovable file is) seems not supported.
Code:
$ sudo apt-get install smartmontools
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000341ad
Device Boot Start End Blocks Id System
/dev/sda1 * 1 18715 150328206 83 Linux
/dev/sda2 18716 19457 5960115 5 Extended
/dev/sda5 18716 19457 5960083+ 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x454c112b
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 121601 976760001 7 HPFS/NTFS
$ sudo smartctl -i /dev/sdb1
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: SAMSUNG HD103UJ Version:
Serial number: 152D20329000
Device type: disk
Local Time is: Sun Apr 19 17:42:15 2009 CEST
Device does not support SMART
The externalhard drive holds all my pictures and backups, so I that the drive doesn't die on me. Any advice as to which other tools I could use?
Is there any other low level means by which I could remove that file?