[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd networkd and mount remote-fs



root@itregion-gavrilov:/tmp# systemctl status media-dst.mount
● media-dst.mount - /media/dst
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Чт 2016-03-24 15:41:56 YEKT; 1h 21min ago
    Where: /media/dst
     What: //192.168.0.37/dst
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 701 ExecMount=/bin/mount -n //192.168.0.37/dst /media/dst -t cifs -o rw,credentials=/root/.smb,iocharset=utf8,_netdev,uid=1000,gid=1000 (code=exited, status=32)

мар 24 15:41:56 itregion-gavrilov systemd[1]: media-dst.mount mount process exited, code=exited status=32
мар 24 15:41:56 itregion-gavrilov systemd[1]: Failed to mount /media/dst.
мар 24 15:41:56 itregion-gavrilov systemd[1]: Unit media-dst.mount entered failed state.
мар 24 15:41:56 itregion-gavrilov mount[701]: mount error(101): Network is unreachable
мар 24 15:41:56 itregion-gavrilov mount[701]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)



I also read this thread here ( https://lists.debian.org/debian-user/2015/06/msg01545.html )

I found that the error only occurs if the configured network interface systemd dhcp.

Adding a script solves the problem, but it's clumsy solution.




On 24.03.2016 16:35, Gavrilov Aleksey wrote:
systemd-analyze plot > bootup.svg
https://drive.google.com/file/d/0Bxc-zRqh3G-fdmdNT0FFTTdhdnc/view?pref=2&pli=1 systemctl status media-dst.mount ... ● media-dst.mount - /media/dst    Loaded: loaded (/etc/fstab)    Active: failed (Result: exit-code) since Чт 2016-03-24 15:41:56 YEKT; 36min ago     Where: /media/dst      What: //192.168.0.37/dst      Docs: man:fstab(5)            man:systemd-fstab-generator(8)   Process: 701 ExecMount=/bin/mount -n //192.168.0.37/dst /media/dst -t cifs -o rw,credentials=/root/.smb,iocharset=utf8,_netdev,uid=1000,gid=1000 (code=exited, status=32) мар 24 15:41:56 itregion-gavrilov systemd[1]: media-dst.mount mount process exited, code=exited status=32 мар 24 15:41:56 itregion-gavrilov systemd[1]: Failed to mount /media/dst. мар 24 15:41:56 itregion-gavrilov systemd[1]: Unit media-dst.mount entered failed state. мар 24 15:41:56 itregion-gavrilov mount[701]: mount error(101): Network is unreachable мар 24 15:41:56 itregion-gavrilov mount[701]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ... I also read this thread here ( https://lists.debian.org/debian-user/2015/06/msg01545.html ) I found that the error only occurs if the configured network interface systemd dhcp. Adding a script solves the problem, but it's clumsy solution.

    

-- 

Sincerely, Gavrilov Aleksey
System Administrator
Ltd. "Hearst Shkulev Digital Rugion"
tel .: 8 (351) 729-94-90, ext. 345
mob. +7 999 581 7934
gavrilov@info74.ru
Chelyabinsk, st. Melkombinat February 1st Precinct, 18, office 208
for TRC `Rodnik`

Reply to: