错误的 fs 类型、错误的选项、/dev/sdb1 上的错误超级块、缺少代码页或辅助程序,或其他错误

错误的 fs 类型、错误的选项、/dev/sdb1 上的错误超级块、缺少代码页或辅助程序,或其他错误

创建全新分区后我遇到此错误。

我做了什么:

# fdisk -l
Disk /dev/sdb: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6E6B69EE-CD95-47E3-94A0-AA9190306D40

# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): n
Partition number (1-128, default 1): 1
First sector (34-7814037133, default 2048): 
Last sector, +sectors or +size{K,M,G,T,P} (2048-7814037133, default 7814037133): 

Created a new partition 1 of type 'Linux filesystem' and of size 3.7 TiB.
Partition #1 contains a ext4 signature.

Do you want to remove the signature? [Y]es/[N]o: n

Command (m for help): p

Disk /dev/sdb: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6E6B69EE-CD95-47E3-94A0-AA9190306D40

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 7814037133 7814035086  3.7T Linux filesystem

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

之后,输出如下fdisk -l

Disk /dev/sdb: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6E6B69EE-CD95-47E3-94A0-AA9190306D40

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 7814037133 7814035086  3.7T Linux filesystem

这是我安装时遇到的错误:

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

值得注意的是,所有这些操作都是在同一台机器上执行的,该机器是装有 Ubuntu 18.04.1 的 aarch64。

在 x64 Ubuntu 18.04 计算机上执行相同的操作会产生正确的 ext4 分区,我可以挂载和读写该分区。

这可能是什么问题?

答案1

这是附加参数,在我的情况下它使用以下命令起作用:

$ sudo mount -t [文件系统] -o nouuid /dev/sdb1 /mnt/mountpoint

相关内容