我的 USB 密钥“sdb”出了问题,尝试使用它时出现输入/输出错误。我想让这个 USB 密钥再次可用。
lsblk -S
NAME HCTL TYPE VENDOR MODEL REV TRAN
sda 0:0:0:0 disk VendorCo ProductCode 2.00 usb
sdb 1:0:0:0 disk SMI USB DISK 1100 usb
sda 是一个正常工作的 USB 密钥。
当我尝试挂载 /dev/sdb 时出现此错误:
Can't read superblock on /dev/sdb
以下是一些可以帮助我们的命令输出:
fsck /dev/sdb
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
fsck.ext2: Input/output error while trying to open /dev/sdb
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
e2fsck 命令显示相同的输出。
然后:
fdisk -l /dev/sdb
fdisk: cannot open /dev/sdb: Input/output error
然后:
fdisk -l /dev/sdb0
Disk /dev/sdb0: 3,8 GiB, 4027580416 bytes, 7866368 sectors
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: dos
Disk identifier: 0x0009bc1d
Device Boot Start End Sectors Size Id Type
/dev/sdb0p1 * 2048 7866367 7864320 3,8G c W95 FAT32 (LBA)