Score:0

ubuntu 21.04 fstab cifs mount on boot throws 112 with _netdev

ug flag

So I have an ubuntu machine running 20.04.2 LTS and I am mounting to a Synology NAS with following fstab entry.

//10.50.10.20/foo /mnt/foodir/foomountpoint cifs credentials=/home/foo/.smbcredentials,iocharset=utf8,vers=3,noperm,idsfromsid,rw,setuids,handlecache,soft,_netdev 0 0

It works just fine. I setup a new machine with new hardware running 21.04 and the same command is not working. After 30 minutes trying different options, the following entry works.

//10.50.10.20/foo /mnt/foodir/foomountpoint cifs credentials=/home/foo/.smbcredentials,iocharset=utf8,vers=3,noperm,idsfromsid,rw,setuids,handlecache,soft,noauto,x-systemd.automount 0 0

Can anyone explain why the paraemeter _netdev stop working?

I have been using the same mount command for 3 years, and it seems weird that has stopped working. Dmesg was showing 112 errors for CIFS with the old command.

Thanks in Advance!

Score:0
tm flag

Perhaps, it could be the kernel version each Ubuntu's, do they have both same kernel? You might check this link out about netdev

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.