Device names like /dev/sdb1 can change between boots, and a wrong one in fstab mounts the wrong disk. I put the UUID in fstab instead.
sudo blkid /dev/sdb1
# /dev/sdb1: UUID="3f2c..." TYPE="ext4"
UUID=3f2c... /mnt/data ext4 defaults,nofail 0 2
blkid reads the filesystem signature and prints the UUID and the type. Copy the UUID into the first column of the /etc/fstab line. The nofail option lets the machine boot even when that disk is missing. Run it with sudo, because without root it can show cached or empty data.
Further reading: blkid manual page