Greetings !!
It is now from july, I think, that I perpetrated the worse error I did since 1996 concerning Linux system: installing LEAP 15 on all my private computers :{
I still not have understood nore fixed the following issues:
The nfs shares are mounted “at random”, sometimes at first boot, sometimes I have to reboot two or more times to have them mounted at boot.
The smb shares from one particular samba server couldn’t be mounted at boot (I think this is because of the “mangled names=no” directive, to be tested soon).
All those shares are mounted manually.
The “incriminated samba server” is called rasalgethi, used as samba server at work.
[global]
workgroup = DEZORDI.WORLD
passdb backend = smbpasswd:/etc/samba/smbpasswdfile
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
usershare allow guests = No
domain master = No
local master = Yes
preferred master Yes
netbios name = RASALGETHI
security = user
wins support = Yes
server string = rasalgethi (4.7.8)
os level = 80
#avoiding windows shares file names to be messed up
mangled names = no
browse list = yes
browseable = yes
name resolve order = wins bcast lmhosts
# REGLAGES
unix extensions = No
wide links = Yes
follow symlinks = Yes
strict sync = no
sync always = no
# Logging
log level = 2
log file = /var/log/samba/log.%I
max log size = 2000
Concerning the “nfs shares”, I found nothing interresting in the different “systemctl status XXX.mount” commands…
As they are mounted “sometimes” it is not very urgent but concerning the local network at school, I lost hours to try fix the issue up.
I tested at house and effectively, rasalgethi as server and aldebaran as client with share listed in /etc/fstab, the share can not be mounted at boot.
I tried with NetworkManager-wait-online, without success.
I tried with “onNFSroot”, without success.
I will try to comment mangled names=no and then try to mount cifs filesystem at boot.
That is the last setting changed before have realized none of the personnal folder of the students were mounted at boot but manually once system booted.
It works at home with same distribution, same medium (ethernet) and it works with those configuration
smb.conf PDC antares
[global]
# add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = Yes
local master = Yes
netbios name = ANTARES
os level = 80
passdb backend = smbpasswd
preferred master = Yes
security = user
usershare allow guests = No
wins support = Yes
workgroup = DEZORDI.WORLD
server string = antares (PDC -- LEAP15)
mangled names = no
browse list = yes
browseable = yes
name resolve order = wins bcast lmhosts
# Réglages hardcore
unix extensions = no
follow symlinks = Yes
wide links = Yes
#log file = /var/log/samba/samba.log
log level = 2
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
strict sync = no
sync always = no
interfaces = eth0
smb.conf DC sirius
[global]
workgroup = DEZORDI.WORLD
passdb backend = smbpasswd
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
#include = /etc/samba/dhcp.conf
usershare allow guests = No
netbios name = SIRIUS
wins support = Yes
name resolve order = wins bcast lmhosts
server string = sirius (samba 4.7.8)
And the different tools used to verify it works, always work
sirius:/exemples # ssh antares.dezordi.world
Password:
Last login: Sun Nov 25 21:37:32 2018 from 192.168.0.4
Bienvenue sur Antares !!
Ne faites pas les connards !!
antares:~ # smbstatus
Samba version 4.7.10-git.124.8d97fe90926lp150.3.9.1-SUSE-oS15.0-x86_64
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
2877 root root 192.168.0.4 (ipv4:192.168.0.4:49938) NT1 - -
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
exercices 2877 192.168.0.4 Sun Nov 25 13:42:36 2018 CET - -
IPC$ 2877 192.168.0.4 Sun Nov 25 13:42:36 2018 CET - -
No locked files
and the fstab from sirius (here the client)
//192.168.0.3/exercices /datas1/nfsshares/exercices cifs user=root,password=tralalalalalalalalalala 0 0
192.168.0.3:/windows/Ntfs2 /datas1/nfsshares/Ntfs2 nfs nfsvers=3 0 0
192.168.0.3:/windows/Ntfs1 /datas1/nfsshares/Ntfs1 nfs nfsvers=3 0 0
192.168.0.3:/windows/Linux /datas1/nfsshares/Linux nfs nfsvers=3 0 0
192.168.0.3:/windows/Datas3 /datas1/nfsshares/Datas3 nfs nfsvers=3 0 0
192.168.0.3:/windows/Datas2 /datas1/nfsshares/Datas2 nfs nfsvers=3 0 0
192.168.0.3:/windows/Datas1 /datas1/nfsshares/Datas1 nfs nfsvers=3 0 0
I tried with version=3.0 at the level of cifs in the clients of rasalgethi but it doesn’t fix.
I should have tried sec=ntlmv2 as shown in the different threads seen concerning this type of issue but I did not yet (answer tomorrow at school)