How to install a new drive in Linux larger than 2TB with proper alignment
Let's assume that we already have a primary physical drive in our system (HDD or SDD), and have added a second drive to our box, which we need to partition and mount automatically on boot.
Here's how to that:
Let's see what physical drives we have installed in our server:
ls /dev/sd*
Since this is our 2nd drive, you should see /dev/sdb.
Example:
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb
Let see the currently mounted drives and partition layout:
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
Here's a full list of all available lsblk options: