我添加了一个新的硬盘驱动器(/dev/sdb
)到Ubuntu服务器16,RAN parted /dev/sdb mklabel gpt
和sudo parted /dev/sdb mkpart primary ext4 0G 1074GB
。一切都很好。然后我试图挂载驱动器
mkdir /mnt/storage2
mount /dev/sdb1 /mnt/storage2
它导致
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
我尝试mount -t ext4 /dev/sdb1 /mnt/storage2
了相同的结果。我以前做过很多次,而且从未遇到过这样的事情。我已经读过这个挂载:错误的fs类型,错误的选项,在CentOS 6.0上的/ dev / sdb上错误的超级块,无济于事。
有关驱动器的fdisk输出
Disk /dev/sdb: 1000 GiB, 1073741824000 bytes, 2097152000 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: 0E136427-03AF-48E2-B56B-A467E991629F
Device Start End Sectors Size Type
/dev/sdb1 2048 2097149951 2097147904 1000G Linux filesystem