Cannot delete .Trash-503 directory, returns a $RECYCLE.BIN.trashinfo: Input/output error
Posted
by
Parto
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Parto
Published on 2014-06-07T21:36:27Z
Indexed on
2014/06/10
21:47 UTC
Read the original article
Hit count: 374
I cannot delete .Trash-503
folder via GUI or terminal,
it returns a $RECYCLE.BIN.trashinfo: Input/output error
Not even sudo rm -r
or even a simple ls
works in that trash directory.
Check terminal output below:
subroot@subroot:~$ cd /media/xxxxx/
subroot@subroot:/media/xxxxx$ rm .Trash-503/
rm: cannot remove `.Trash-503/': Is a directory
subroot@subroot:/media/xxxxx$ rm -r .Trash-503/
rm: cannot remove `.Trash-503/info/$RECYCLE.BIN.trashinfo': Input/output error
rm: cannot remove `.Trash-503/info/found.000.trashinfo': Input/output error
rm: cannot remove `.Trash-503/info': Directory not empty
subroot@subroot:/media/xxxxx$ sudo rm -r .Trash-503/
[sudo] password for subroot:
rm: cannot remove `.Trash-503/info/$RECYCLE.BIN.trashinfo': Input/output error
rm: cannot remove `.Trash-503/info/found.000.trashinfo': Input/output error
subroot@subroot:/media/xxxxx$ cd .Trash-503/
subroot@subroot:/media/xxxxx/.Trash-503$ ls
info
subroot@subroot:/media/xxxxx/.Trash-503$ cd info/
subroot@subroot:/media/xxxxx/.Trash-503/info$ ls
ls: cannot access $RECYCLE.BIN.trashinfo: Input/output error
ls: cannot access found.000.trashinfo: Input/output error
found.000.trashinfo $RECYCLE.BIN.trashinfo
subroot@subroot:/media/xxxxx/.Trash-503/info$
What's going on here and how can I delete this folder?
EDIT
I tried checking and repairing the partition using gparted only to get this error message:
ERROR: Filesystem check failed!
ERROR: 264 clusters are referenced multiple times.
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.
I don't have windows installed, how can I run chkdsk /f
from ubuntu?
© Ask Ubuntu or respective owner