eternalWalker Posted June 5, 2016 Posted June 5, 2016 I have a little problem: my fstab: root@osirisBpiM3:~ # cat /etc/fstab /dev/mmcblk0p2 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1tmpfs /tmp tmpfs defaults,rw,nosuid 0 0/var/swap none swap sw 0 0//192.168.0.11/media /mnt/openelec/media cifs iocharset=utf8,credentials=/root/.smbcredentials,uid=1000 0 0//192.168.0.11/media2 /mnt/openelec/media2 cifs iocharset=utf8,credentials=/root/.smbcredentials,uid=1000 0 0//192.168.0.11/big850gig /mnt/openelec/big850gig cifs iocharset=utf8,credentials=/root/.smbcredentials,uid=1000 0 0 //192.168.0.2/C$ /mnt/sophie/c cifs iocharset=utf8,credentials=/root/.smbcredentialssophie,uid=1000 0 0//192.168.0.2/D$ /mnt/sophie/d cifs iocharset=utf8,credentials=/root/.smbcredentialssophie,uid=1000 0 0//192.168.0.2/E$ /mnt/sophie/e cifs iocharset=utf8,credentials=/root/.smbcredentialssophie,uid=1000 0 0 I can mount my disks without problems from command or with 'mount -a', but ... after boot - nothing . The parameters 'ntlm' or 'ntmlv2' in fstab does not help root@osirisBpiM3:~ # dmesg | grep CIFS[ 19.723100] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3[ 20.030750] CIFS VFS: Error connecting to socket. Aborting operation[ 20.030765] CIFS VFS: Error connecting to socket. Aborting operation[ 20.030820] CIFS VFS: Error connecting to socket. Aborting operation[ 20.058421] CIFS VFS: cifs_mount failed w/return code = -111[ 20.058445] CIFS VFS: cifs_mount failed w/return code = -111[ 20.090249] CIFS VFS: cifs_mount failed w/return code = -111[ 20.730759] CIFS VFS: cifs_mount failed w/return code = -112[ 20.730766] CIFS VFS: cifs_mount failed w/return code = -112[ 20.731042] CIFS VFS: cifs_mount failed w/return code = -112 root@osirisBpiM3:~ # cat /proc/fs/cifs/DebugDataDisplay Internal CIFS Data Structures for Debugging---------------------------------------------------CIFS Version 1.78Features:Active VFS Requests: 0Servers:1) Name: 192.168.0.2 Domain: DOM Uses: 3 OS: Windows 7 Ultimate 7601 Service Pack 1 NOS: Windows 7 Ultimate 6.1 Capability: 0x1e3fc SMB session status: 1 TCP status: 4 Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0 Shares: 1) \\192.168.0.2\E$ Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ffPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 2) \\192.168.0.2\D$ Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ffPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 3) \\192.168.0.2\C$ Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ffPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED MIDs: 2) Name: 192.168.0.11 Domain: WORKGROUP Uses: 3 OS: Unix NOS: Samba 3.6.25 Capability: 0x80f3fd SMB session status: 1 TCP status: 4 Local Users To Server: 1 SecMode: 0x2 Req On Wire: 0 Shares: 1) \\192.168.0.11\big850gig Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x1000fPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 2) \\192.168.0.11\media2 Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x1000fPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED 3) \\192.168.0.11\media Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x1000fPathComponentMax: 255 Status: 0x1 type: DISK DISCONNECTED Any idea? Sorrry @tkaiser it is the moronic 3.4.39-BPI-M3-Kernel from sinovoip Great
tkaiser Posted June 6, 2016 Posted June 6, 2016 If 'mount -a' does the job you could have a look whether adding '_netdev' to the parameters does the trick (supposed to delay the mount of these mountpoints until network is ready) or add the following to /etc/rc.local sleep 10 && mount -a
Gravelrash Posted June 14, 2016 Posted June 14, 2016 i would use the following syntax in my /etc/fstab file //<server>/<share> <mount point> cifs rw,_netdev,user=<username>,password=<password>,uid=<uid>,gid=<gid> 0 0
eternalWalker Posted June 18, 2016 Author Posted June 18, 2016 ... I 've just come back from the vacation , at night it goes on
eternalWalker Posted June 21, 2016 Author Posted June 21, 2016 @Gravelrash before google 'is born' I used the yahoo... didn't work @tkaiser '_netdev' brings nothing 'mount -a' work for me even w/o sleep..., but - this solution does not satisfy me , I have to look further reason. ... Great
Recommended Posts