I was trying to make a laptop automatically mount to my main desktop acting as a samba server on boot up using fstab.
I can manually mount the share to access it so I know that works.
The stanza in the client's fstab is this:
//192.168.70.72/samba_server /mnt/nvme0n1p2/index/samba cifs credentials=/home.smbcredentials 0 0
But it doesn't connect.
If I use mount -a
manually, it does connect so there is nothing wrong with the fstab stanza.
I read that "it may not work during boot due to the network stack not being fully operational at the time the /etc/fstab entry is processed"
One suggestion was to add _netdev, but that doesn't work.
Is there a better way to do this to make it work?
My main samba server is PopOs linux.
The laptop client is KLV-vmHost.
Thanks