linux – CIFS / SAMBA Mount在网络准备好之前仍然尝试使用_netdev

前端之家收集整理的这篇文章主要介绍了linux – CIFS / SAMBA Mount在网络准备好之前仍然尝试使用_netdev前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
标题给出了一个非常好的概要.在这种情况下,我在树莓派2上运行debian衍生物(osmc).并且我正在尝试安装共享.它从命令行安装100%,或者只使用mount -a与完全相同的/ etc / fstab,但在启动时它不会出现,无论我调整什么设置.

/ etc / fstab中的条目是:

//192.168.10.100/music  /mnt/musicshare cifs    guest,_netdev   0       0

我检查了dmesg,它显示了在网络启动之前安装的问题:

[    6.039309] input: lircd as /devices/virtual/input/input4
[    6.511610] CIFS VFS: Error connecting to socket. Aborting operation.
[    6.512123] CIFS VFS: cifs_mount Failed w/return code = -101
[    6.763291] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    6.763690] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.188820] systemd-journald[105]: Received request to flush runtime journal from PID 1
[    8.486622] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.496643] smsc95xx 1-1.1:1.0 eth0: link up,100Mbps,full-duplex,lpa 0xCDE1
[    8.527928] 8021q: 802.1Q VLAN Support v1.8
[   12.458908] Console: switching to colour dummy device 80x30
[   36.929687] Transfer to device 4 endpoint 0x3 frame 729 Failed - FIQ reported NYET. Data may have been lost.
[   37.309752] Transfer to device 4 endpoint 0x3 frame 1109 Failed - FIQ reported NYET. Data may have been lost.

关于这个的任何想法?

解决方法

假设您运行了最新版本的osmc,请使用以下选项:

x-systemd.automount,noauto

这导致创建systemd automount单元.有关详细信息,请参见systemd.automount.

猜你在找的Linux相关文章