Score:0

External Hard drive Directory error

in flag

I am running Ubuntu 20.04.2 LTS. I have been using my external hard drive to transfer files back and forth from this computer and my windows 10 computer. Everything was working fine until i had the power go out for a split second. After everything turned back on the External HD is in read only. I fixed that with sudo mount -o remount,uid=1000,gid=1000,rw /dev/sda1 Now if i try to copy anything i'm getting Error creating directory /media/balls/Seagate Backup Plus Drive/Photos/Pics: Input/output error Any help and I would really appreciate it, Thank You

guiverc avatar
cn flag
IO errors are serious and should be explored. Disk drives have SMART built in and you can peruse the health of the drive to ensure it's not damaged or failing (see https://help.ubuntu.com/community/Smartmontools but note GUI tools can be used too; some cheaper external drives are missing SMART tools, but those are rare). You'll also note errors in logs when a *file-system* flips to READ ONLY which tell you why; it maybe logical errors which need to be fixed (ie. `fsck` or file-system check will fix). Fix your issues & don't ignore them. *FYI: this advice is general; applies equally to win10*
guiverc avatar
cn flag
If your file-system is flipping from RW to RO, that's done to prevent data loss and to prevent damage. The logs tell you why the system did that; be it hardware or logical errors as per my prior comment.
dm2291 avatar
in flag
fsck from util-linux 2.34 e2fsck 1.45.5 (07-Jan-2020) /dev/sdb5 is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue<n>? no check aborted. fsck.fat 4.1 (2017-01-24) open: Permission denied
guiverc avatar
cn flag
You perform the `fsck` when the partition is unmounted... If you're performing a `fsck` on an internal drive; you usually boot a *live* system (eg. Ubuntu installation media) so your normal disk (hdd/ssd) isn't being used, which allows for a much easier `fsck` or file-system check (`chkdsk` in windows terms) which may not be necessary for external media; but you don't have it mounted first.
vanadium avatar
cn flag
Before trying anything more severe, connect the external drive to Windows, have the file system checked and repaired, and chances are good it will work properly again after that. It is most probably an ntfs file system, so only Windows can check that most reliably.
dm2291 avatar
in flag
The drive works perfectly on windows. i i checked for repairs on windows and everything. the drive is fine. i even formated the drive and same problem when i go back to Ubuntu
vanadium avatar
cn flag
Relevant information. Add that to the question. Use "edit".
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.