I added a new hard drive (
/dev/sdb) to Ubuntu Server 16, ran
parted /dev/sdb mklabel gpt and
sudo parted /dev/sdb mkpart primary ext4 0G 1074GB. All went fine. Then I tried to mount the drive
mkdir /mnt/storage2 mount /dev/sdb1 /mnt/storage2
It resulted in
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 with identical outcome. I've done this stuff many times before and have never ran into anything like this. I've already read this mount: wrong fs type, bad option, bad superblock on /dev/sdb on CentOS 6.0 to no avail.
fdisk output regarding the drive
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