I'm trying to access files on a backup hard drive. But I'm getting an input/output error

i’m trying to access files on a backup hard drive. But I’m getting an input/output error. I can’t open any files. It’s a SATA hard drive I have it connected through an USB. How do I fix it? When I tried to open the Hard drive it said This Partition Could Not Be Displayed. I’m on Fedora 39.

What are you using to access the drive – File manager (AKA nautilus)?

What is the output of sudo fdisk -l

Have you previously used this drive on this machine?

I’m using Nautilus
I don’t remember on this laptop, but I have accessed this hard drive before using Linux.

Disk /dev/sda: 894.25 GiB, 960197124096 bytes, 1875385008 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D9963107-C97A-4BFF-BF7E-B7A3EFEAC1A2

Device       Start        End    Sectors   Size Type
/dev/sda1     2048    1230847    1228800   600M EFI System
/dev/sda2  1230848    3327999    2097152     1G Linux filesystem
/dev/sda3  3328000 1875384319 1872056320 892.7G Linux filesystem


Disk /dev/zram0: 7.48 GiB, 8033140736 bytes, 1961216 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: YongzhenWeiye   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

/dev/sdb has no partition table, and probably no file system defined.

/dev/sda appears to be the operating system.

with no defined and formatted file system nautilus will be unable to open the drive.

How can I fix it? I remember opening this drive before. I can open the drive and see the files, they just don’t open.

I did e2fsck /dev/sdb and it fixed it.