mount webdav重启时失败
我有一个运行ubuntu 12.10的虚拟主机。 我安装了davfs2并编辑了我的/etc/fstab
文件,如下所示:
https://somedomain.de/webdav.php/somefolder/ /mnt/s02 davfs defaults 0 0
现在使用mount -a
工作正常。 如果我以root用户身份在我的vhost上使用ssh连接后输入reboot
,我的驱动器也会正确安装。
但是使用我的提供者的web-backend(digitalocean)并点击“reboot”,我的机器启动后出现错误:
任何想法为什么会发生这种情况以及如何解决这个问题?
错误Could not resolve hostname 'hostname.de': host not found
可能意味着尝试安装时网络未启动。
建议设置_netdev
挂载选项,表示: 设备要求网络可用 。 这样,在尝试安装之前,它会等到有可用的链接:
https://somedomain.de/webdav.php/somefolder/ /mnt/s02 davfs defaults,_netdev 0 0