I am running Ubuntu server 20.04 with docker compose and PhotoPrism. I have a directory in my home directory called Pictures I have been using fstab to mount network folders in the Pictures folder so PhotoPrism can access them. I have dozens of folders I eventually want to mount.
Specifically I was doing this in /etc/fstab
. (using /040 for the spaces in the actual folder names):
/dev/disk/by-id/dm-uuid-LVM-tfJRQBcAfX0VGga307mApri9zeVLnHPeUmFzqEefVj0Dol2dniWzPlgcOxrIK81j / ext4 defaults 0 1
# /boot was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/bce073ee-93d7-4a32-afc2-0e2121c06a55 /boot ext4 defaults 0 1
/swap.img none swap sw 0 0
automount from synology box
192.168.1.60:/volume1/Hobbiton2-top /home/tomr54/Hobbiton2-top ntfs-3g nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0
192.168.1.60:/volume1/Hobbiton2-top/My\040Pictures/Alaska-2018 /home/tomr54/Pictures/Alaska-2018 ntfs-3g nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0
192.168.1.60:/volume1/Hobbiton2-top/My\040Pictures/Bob_Jackie_2003-2018 /home/tomr54/Pictures/Bob_Jackie nfs-3g nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0
This was working fine for several days. Then yesterday when I booted the system and it went into Emergency Mode and it would not boot. I tried a number of solutions but nothing worked until I commented out the three lines; then my system booted normally.
Is there a better way do this? Thanks.