恢复损坏的 USB 驱动器

恢复损坏的 USB 驱动器

当我尝试在 USB 驱动器上创建新的分区表时出现读/写错误。

sudo mkfs.ext4 /dev/sdc
mke2fs 1.43.9 (8-Feb-2018)
Warning: could not erase sector 2: Input/output error
Creating filesystem with 31258624 4k blocks and 7815168 inodes
Filesystem UUID: 8eac3af0-c5a7-4f09-ba50-8938c382058e
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done                            
Warning: could not read block 0: Input/output error
Warning: could not erase sector 0: Input/output error
Writing inode tables: done                            
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information:   0/954

此后它就停滞了。有什么想法吗?

我也尝试过:

sudo dd if=/dev/zero of=/dev/sdc status=progress
dd: writing to '/dev/sdc': Input/output error
1+0 records in
0+0 records out
0 bytes copied, 0.00130756 s, 0.0 kB/s

sudo e2fsck -f /dev/sdc           
e2fsck 1.43.9 (8-Feb-2018)
e2fsck: Input/output error while trying to open /dev/sdc

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>

sudo mke2fs -n /dev/sdc
mke2fs 1.43.9 (8-Feb-2018)
Creating filesystem with 31258624 4k blocks and 7815168 inodes
Filesystem UUID: ada49f78-45f9-49da-b2ef-d76383582ffd
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

我尝试了 sudo e2fsck -b xxxx,其中 xxxx 是上面列出的块,但它始终返回相同的输出:

e2fsck 1.43.9 (8-Feb-2018)
e2fsck: Input/output error while trying to open /dev/sdc

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>

我不需要从此驱动器恢复任何数据,只是想让它再次可用。任何提示都将不胜感激。

答案1

使用 mkfs 格式化分区使用 fdisk 或 parted 创建分区表和分区

相关内容