Greetings. The problem is as follows. When starting the system, the network folder is not mounted on two machines out of 10. It is mounted only with mount -a . On the rest, everything is in order. All samba, client versions are the same. For what reason could it be?

  • one
    For starters - cat /etc/fstab (btw, where does the folder come from? If it’s with linux too, then nfs + autofs instead of samba makes sense) - PinkTux
  • It is mounted with linux, but there are machines with Windows where it should be mounted. I want to understand why on two machines (linux) it does not work - KleinenberG
  • one
    Sorry, remotely-telepathic reader of switches and logs have not been invented here ... - PinkTux
  • I understand, within min. 30 let down the config.zam is not possible - KleinenberG
  • @PinkTux, by the way: ms / windows quite a long time ago already taught how to mount nfs . "Through the anus", of course, but taught. @ KleinenberG, so the meaning of using samba is pretty ghostly. - aleksandr barakin

1 answer 1

probably there is no _netdev option among mount options. man page quote:

_netdev
The file system located on the device that needs network access (used to prevent the system from trying to mount this file system while the network is not available).

It makes sense to add it on those computers where, by a happy coincidence, the mounting (so far) is successful.

  • Thanks, but _netdev did not solve the problem. The solution to the problem is extremely incomprehensible to me, in the network settings I commented out a line indicating that the gateway is the server from which the folder will be distributed. - KleinenberG