Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165906

Re: systemd networkd and mount remote-fs

From Gavrilov Aleksey <gavrilov@info74.ru>
Newsgroups linux.debian.user
Subject Re: systemd networkd and mount remote-fs
Date 2016-03-24 13:30 +0100
Message-ID <rgcyK-2B9-11@gated-at.bofh.it> (permalink)
References <rgc5I-28s-1@gated-at.bofh.it>
Organization rugion.ru

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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`

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

systemd networkd and mount remote-fs Gavrilov Aleksey <gavrilov@info74.ru> - 2016-03-24 13:00 +0100
  Re: systemd networkd and mount remote-fs Gavrilov Aleksey <gavrilov@info74.ru> - 2016-03-24 13:30 +0100
    Re: systemd networkd and mount remote-fs Gavrilov Aleksey <gavrilov@info74.ru> - 2016-03-25 06:30 +0100

csiph-web