Fstab not automatically mounting SMB storage

cifsfstabmount

Is there something wrong with my mounting?

//192.168.1.150/Drew /media/Cloud cifs auto,credentials=/home/drew/.credentials/smb,_netdev,uid=drew,gid=drew,rw 0 0

When I run sudo mount -a the drive is mounted, no issues. But, the drive will not automatically mount when the system boots up?

uname -a
Linux drew-desktop 4.14.24-1-MANJARO #1 SMP PREEMPT Sun Mar 4 21:28:02 UTC 2018 x86_64 GNU/Linux

pacman -Q | grep cifs
cifs-utils 6.7-2

ls -l /media | grep Cloud
drwxr-xr-x  2 drew drew    0 Mar  9 17:32 Cloud

Best Answer

I had to enable the service that automounts network drives as @Ignacio Vazquez-Abrams said. The details are here.

sudo systemctl enable systemd-networkd-wait-online
Related Question