I have two external drives attached to my Ubuntu Server 22.04.3. My /etc/fstab
includes, among other things, the following two lines for the two drives:
/dev/disk/by-uuid/d7dbea69-0332-4d12-b905-b9a116e28422 /sandisk ext4 auto,nofail 0 2
/dev/disk/by-uuid/06b24834-a749-4d93-b0d5-a6da71eaf224 /verbatim ext4 auto,nofail 0 2
/verbatim
is an independently powered magnetic disk also attached via USB. It gets detected and mounted on boot just fine.
/sandisk
is the problem. This is a USB SSD drive with no power. I can mount it fine after boot with mount -a
but the system always boots with it not mounted. Is there any way I can have it mounted at boot?