First of all your /dev/sdb isn't partitioned. I am assuming this is the disk you want to mount. Run
sudo fdisk /dev/sdb
- Press O and press Enter (creates a new table)
- Press N and press Enter (creates a new partition)
- Press P and press Enter (makes a primary partition)
- Then press 1 and press Enter (creates it as the 1st partition)
- Finally, press W (this will write any changes to disk)
- Run
sudo mkfs.ext4 /dev/sdb1
- Now you can add it to fstab You need to add it to /etc/fstab use your favourite text editor
- Get UUID:
sudo vol_id --uuid /dev/sdb
or
sudo blkid
- add to /etc/fstab
UUID={YOUR-UID} /mnt/hdd ext4 defaults 0 2
- remount
sudo mount -a
- set permsion
sudo chown aitlvn.aitlvn /mnt/hdd
sudo setfacl -d -m g::rwx /mnt/hdd