无法安装外部 USB 硬盘

无法安装外部 USB 硬盘

我拥有 Seagate 500GB SATA HDD,连接到机箱,并带有位于 /dev/sdb 下的电源

我已使用以下命令成功创建了新的 ext4 分区。

sudo fdisk -l


sudo fdisk /dev/sdb

我用 ext4 文件系统格式化了分区

sudo mkfs.ext4 /dev/sdb1

我想骑在/mnt/sdb

因此,我运行了以下命令。

sudo mount /dev/sdb /mnt/sdb

它返回以下错误。

mount: /mnt/sdb: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error.

我尝试使用 fsck 进行修复。但出现了此错误。

root@ninja:~# fsck.ext4 /dev/sdb
e2fsck 1.44.1 (24-Mar-2018)
ext2fs_open2: Bad magic number in super-block
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block 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>

Found a dos partition table in /dev/sdb

所以我尝试了消息

这是我得到的。

[ 1504.713877]  sdb: sdb1
[ 1611.157391]  sdb: sdb1
[ 1641.611565]  sdb: sdb1
[ 1642.223147]  sdb: sdb1
[ 1683.013204]  sdb: sdb1
[ 1683.585848]  sdb: sdb1
[ 1918.897280]  sdb: sdb1
[ 2251.717436]  sdb: sdb1
[ 2251.726638]  sdb: sdb1
[ 2312.159638] EXT4-fs (sdb): VFS: Found ext4 filesystem with invalid superblock checksum.  Run e2fsck?
[ 2321.968048] EXT4-fs (sdb): VFS: Found ext4 filesystem with invalid superblock checksum.  Run e2fsck?
[ 2507.225284]  sdb: sdb1
[ 2507.230421]  sdb: sdb1
[ 2578.348564] EXT4-fs (sdb1): VFS: Found ext4 filesystem with invalid superblock checksum.  Run e2fsck?
[ 2978.309809] EXT4-fs (sdb1): VFS: Found ext4 filesystem with invalid superblock checksum.  Run e2fsck?
[ 3453.311216]  sdb: sdb1
[ 3583.251290]  sdb: sdb1
[ 3591.511303]  sdb: sdb1
[ 3598.683156]  sdb: sdb1

相关内容