0

I have a problem in my external hard drive 5tb samsung. When I try to delete some files (just some files), I receive an error:

/bin/rm: cannot remove 'file': input/output error

Everything began when I used FreeFileSync to sync a folder from my computer to the ext hd. The files with problem are all of the files in .Trash-1000 and sync.ffs_lock.

Some files appear in the ls output with an * in the end, why that?

An example of ls output (I cannot delete none of these files/folders):

d?????????    ? ?       ?               ?            ?  Colony/
-rwxrwxrwx    1 camargo camargo    282224 ago  4  2017  Cover.jpg*

Whe I do file in files/folders with ?, I got an error:

file Colony
Colony: cannot open `Colony' (Input/output error)

But when I do file in the file with an * it seems ok, and when I try to remove with rm, it returns $?=0, but the file are not removed.

file Cover.jpg 
Cover.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, height=1651, bps=0, PhotometricIntepretation=RGB, orientation=upper-left, width=1213], baseline, precision 8, 441x600, frames 3

What I tried

1) ntfsfix /dev/sdc1

Says that it is ok with the drive.

2) rm -rf file or sudo rm -rf file or chown $USER:$USER file && rm -f file

Same error message

3) Oppened in gnome-disks and scan filesystem (there are no errors) and correct filesystem

Same behavior after.

oaugustopro
  • 234
  • 2
  • 11

0 Answers0