75 How to add disk to linux and make it mount automatically each time?

I have 2 separate SSD drives for data and one SSD for system. The system had two partitions /dev/nvme1n1p2 and /dev/nvme1n1p1 and the other 2 disks are /dev/nvme0n1p1 and /dev/nvme2n1p1

>lsblk 
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS 
sda           8:0    0  7.3T  0 disk 
sda1        8:1    0  7.3T  0 part /mnt/usb 
zram0       253:0    0   92G  0 disk [SWAP] 
nvme1n1     259:0    0  3.6T  0 disk 
nvme1n1p1 259:1    0  300M  0 part /boot/efi 
nvme1n1p2 259:2    0  3.6T  0 part /home 
                                     /var/cache 
                                     /var/log 
                                     /var/tmp 
                                     /srv 
                                     /root 
                                     / 
nvme0n1     259:3    0  3.6T  0 disk 
nvme0n1p1 259:6    0  3.6T  0 part 
nvme2n1     259:4    0  3.6T  0 disk 
nvme2n1p1 259:7    0  3.6T  0 part
 

First find the disks UUID

>sudo blkid 
[sudo] password for me: 
/dev/nvme0n1p1: UUID="1547035d-ee34-4cec-9ba8-53bb8ba548eb" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="43a9df89-2975-4ae5-ac97-0549415fab33" 
/dev/nvme2n1p1: UUID="880c669a-8fdf-4c97-a24c-3324fbd628eb" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="aa4e4716-52a7-4cbc-b7fb-fe383de7716a" 
 
/dev/nvme1n1p2: UUID="5e30d7e8-0996-4b55-98a7-e9aedc9bd208" UUID_SUB="5f3f4605-5f3d-4648-b2c8-165f7e3976c1" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="root" PARTUUID="77473a50-46da-4e13-8016-cb88ede5ea6e" 
/dev/nvme1n1p1: UUID="35DB-43D7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d51f9313-706d-476b-ae3f-b877ff7347de"
 

Now edit etc/fstab as root and add entry for the other two disks so they are mounted automatically. I mounted one disk at /home/me/public_html and the second disk to /home/me/nabbasi. Created these folders first.

# /etc/fstab: static file system information. 
# <file system>             <mount point>  <type>  <options>  <dump>  <pass> 
UUID=1547035d-ee34-4cec-9ba8-53bb8ba548eb  /home/me/public_html ext4  defaults  0 0 
UUID=880c669a-8fdf-4c97-a24c-3324fbd628eb /home/me/nabbasi  ext4   defaults  0 0
 

Make sure to do sudo chown -hR me:me /home/me/public_html and sudo chown -hR me:me /home/me/nabbasi first time. Need to do this one time only so these folder are not owned by root.

Now when rebooting, these two disk will automatically be mounted.