This morning I was downloading some files directly to an EXTERNAL Hard Drive (1TB Seagate Hard Drive, bought a week ago) and I had to shut down the PC without unmounting the disk and while it was downloading. Now I'm trying to list all the files within the folder where I was downloading and I get this error when I ls on it:
ls: reading directory '.': Input/output error
Aparently, the folder seems to be empty but it should have 200GB of files (around 160000 files). If I access it on Windows I can only see around 30000 files, but I can't see anything on Ubuntu, where I was performing the download.
I have some other folders in the same Disk and none of them gives me the same error.
I tried fsck and it doesn't seem to render any error:
mario@mario-desktop:~$ sudo fsck /dev/sdc1 fsck from util-linux 2.30.1
Also, I know that there is a file called links.txt within this folder. I can access it by doing gedit links.txt and I can even copy it, but I can't see it on Windows nor Ubuntu. So it's seems that my files are there but there is some problems reading them. I think that I could manually copy them if I could remember the name of all of them.
I installed today the GNOME-tweaks-tool, some GNOME extensions and some themes. I don't know it this can be related to the failure. I'm running Ubuntu 17.10 and Windows 10 on separate disks.
Thank you so much in advance