#error input/output error for external drive

1 messages · Page 1 of 1 (latest)

dim basin
#

when trying to move or delete files or folders on my external drive(ext4) it spits out an error:Error opening file /media/lumiu/Gfuel/my drive/0a328e86108742f0059b33d2ca04414b.jpg.png: Input/output error

#

i do dual boot and have a windows system as well and use the linux file system program when on my windows machine

tawny island
#

Sounds like a loose connector to me.

dim basin
#

like its not plugged in correctly?

covert terrace
# dim basin like its not plugged in correctly?

yes, although i've experienced 3-4 years (ADDED: ago) a lot of i/o-errors, i couldn't trace it back to intermittent contacts. may be a hickup in the power grid (the power supply of another machine EXPLODED! [Be Quiet] 🙄 ), may be the (experimental?) ntfs (fuse) driver, may be the usb driver, may be the usb-to-sata controller in the external ssd case? i didn't find out 😟

dim basin
#

thats a lot

dim basin
#

Dead drive/Corrupted FS/Bad connection.. many causes

#

can you do a fsck

#

iirc for EXT4 it's fsck.ext4 /dev/[device]

#

[device] is either the partition you want to check or the device itself, not sure

#

Consult the manpage

dim basin
#

send smartctl output as well (sudo apt install smartmontools && sudo smartctl -a /dev/[device])

dim basin
#

ok ill do this later

dim basin
#

whats that

tawny island
#

manual page

#

man fsck in terminal

dim basin
#

ohh ok ty

tawny island
#

or the help flag for the command. fsck --help

dim basin
#

wt output did they specifically want

tawny island
#

just fix the connector, it's loose

dim basin
#

like plug it in better or smth

#

idk wt that meansss

#

idk if this shit is helpful or nah

tawny island
#

nvme is internal drive

#

plug your external drive in. (firmly)

#

make sure connector is TIGHT at both ends of cable.

#

then do sudo parted -l and show

#

from maximized terminal

dim basin
#

ok gimme sec

tawny island
#

the seagate has issue?

dim basin
#

yaaa

tawny island
#

do smartctl --help

#

then run a proper information fetch and read/write scan on sda

dim basin
#

its having problems saying its not mounted

tawny island
#

open DISKS app, and mount it from there

dim basin
#

it says its mounted there tho

tawny island
#

lsblk -f and show

dim basin
tawny island
#

it's at /media/mint/Gfuel

dim basin
#

ya

tawny island
#

make sure u run command on sda1 then

#

or sda for whole disk

dim basin
#

i did it said it wasnt mounted

#

ill retry to just be sure

#

wt command do u want me to run

tawny island
#

idk

dim basin
#

😭

tawny island
#

show all of smartctl -h

dim basin
#

np

tawny island
#

smartctl -a /dev/sda

dim basin
#

permission denied

#

also ur a fast reader wtf dude

tawny island
#

put sudo in front

dim basin
#

OH YH omg

tawny island
#

sudo smartctl --test=short /dev/sda

dim basin
tawny island
#

sudo smartctl --device=auto --test=short /dev/sda

#

or

dim basin
tawny island
#

sudo smartctl --device=test /dev/sda

dim basin
tawny island
#

edit ^

dim basin
#

np

tawny island
#

sudo smartctl --device=sat --test=short /dev/sda

dim basin
tawny island
#

sudo umount /dev/sda1

#

sudo fsck /dev/sda1

dim basin
tawny island
#

press y and enter

dim basin
#

now wat

tawny island
#

did it complete the scan?

dim basin
#

it just showed wt i showed u lemme retry

#

OH LOL NVM

#

it just vomited at me

#

how do ik when its done LOL

tawny island
#

it should show the prompt like usual

#

if not, then let it work a while

dim basin
#

prompt?

tawny island
#

mint@mint: $>

dim basin
#

ohh

#

this right?

tawny island
#

ok . hit the up arrow

#

and run the fsck again

#

should be better this time around

dim basin
#

the same cmd?

#

awesome

#

wahh it seems to work omg

tawny island
#

sudo mount /dev/sda1 /mnt
lsblk -o name,type,size,fssize,fsused,fsavail,mountpoint

#

just dont ever be rough with the connector. and dont even touch/move it 1/1000th of a mm when using the drive.

dim basin
#

😭

#

hey can i ask u

dim basin
#

ok

#

is rthis ok

tawny island
#

no

dim basin
#

o

tawny island
#

just do the second command

dim basin
#

np

tawny island
#

alright leave it. shut down or leave the live desktop

dim basin
#

i kinda got a problem with that thoo

#

lemme open up a new ticket here

dim basin
#

do smartctl -a /dev/sda1

#

and paste it here