Before rebooting, I did a mount -a to make sure that it was working, and the partition was mounted. When I did an ls -al /mnt/4TB, I could see all of the files on the partition.
However, after a reboot, I cannot see the files on the mounted partittions.
Doing a mount -av, it shows the partitions as mounted
Maybe the UUID is the wrong one? Note that if you change the fstab, you need also run: systemctl daemon-reload, so that the “fstab-converter” catch your changes.
Let’s say, you mount sdb2 manually without fstab. Systemd knows that it is mounted. When adding a fstab entry and run mount -a, even if unmounting before, systemd remembers your old mount not the one from fstab. Therefore, you need to reload the daemon.
Thanks. I did double check the UUID, and copied and pasted it. I also did the daemon-reload each time, but did not document it in my original post.
Your explanation of the process explanation helped make it clear why I was doing it.
Just to be sure, I retested, and the results are still the same. The drive mounts when I do a mount -a after a daemon-reload, and after a reboot, the logs say the partition is mounted, but nothing shows when a do an ls -al.
Thanks for the hint about Gnome Disk. I did not know you could edit /etc/fstab with it.
However, that did not change anything. I removed all of my mounts, and Gnome Disk added one: /dev/disk/by-uuid/3fefb5f5-0477-49b9-bd2d-be5ad8826c03 /mnt/4TB auto nosuid,nodev,nofail,x-gvfs-show 0 0
The disk still does not mount at boot time. the major change is that Gnome Disks does not use UUID, but the /dev/disk/by-uuid instead.