[Eisfair] NFS-Server ein Laufwerk will nicht mounten

Andreas Lehmler wuddy at nexgo.de
Di Jan 16 19:12:45 CET 2018


Hallo Marcus > Bitte mal die Konfiguration von einem Server, auf dem es 
klappt.
auf dem Server -211 sieht die Kofig so aus

---

START_NFSSERVER='yes'                  # start NFS daemon: yes or no
NFSSERVER_SUPPORT_NFS3='yes'           # support NFSv3: yes or no
NFSSERVER_SUPPORT_NFS4='no'            # support NFSv4: yes or no
NFSSERVER_SHARE_N='2'                  # numbers of shares to create
NFSSERVER_SHARE_1_ACTIVE='yes'         # 1. activate share: yes or no
NFSSERVER_SHARE_1_PATH='/data-0/4'     #    path of the share in filesystem
NFSSERVER_SHARE_1_NAME='sicherungen'   #    name of NFSv4 share only!
NFSSERVER_SHARE_1_HOSTS_N='1'          #    number of allowed hosts
NFSSERVER_SHARE_1_HOSTS_1_HOST='192.168.4.0/24'
                                        #    1. access for host(s)
NFSSERVER_SHARE_1_HOSTS_1_RW='no'      #       should share writeable: 
yes or no
NFSSERVER_SHARE_1_HOSTS_1_ANONUSER=''  #       anonymous user or ''
NFSSERVER_SHARE_1_HOSTS_1_ANONGROUP='' #       anonymous group or ''
NFSSERVER_SHARE_1_HOSTS_1_ROOT_SQUASH='yes'
                                        #       map root user/group to 
anonymous
NFSSERVER_SHARE_1_HOSTS_1_ALL_SQUASH='no'
                                        #       map all users/groups to 
anonymous


NFSSERVER_SHARE_2_ACTIVE='yes'
NFSSERVER_SHARE_2_PATH='/data-0/4'
NFSSERVER_SHARE_2_NAME='rueckgabewert-214'
NFSSERVER_SHARE_2_HOSTS_N='1'
NFSSERVER_SHARE_2_HOSTS_1_HOST='192.168.4.0/24'
NFSSERVER_SHARE_2_HOSTS_1_RW='yes'
NFSSERVER_SHARE_2_HOSTS_1_ANONUSER=''
NFSSERVER_SHARE_2_HOSTS_1_ANONGROUP=''
NFSSERVER_SHARE_2_HOSTS_1_ROOT_SQUASH='yes'
NFSSERVER_SHARE_2_HOSTS_1_ALL_SQUASH='no'

***

NFS server shares

/data-0/4/rueckgabewert-214
 
192.168.4.216/255.255.255.0(rw,wdelay,root_squash,sec=sys,rw,root_squash,no_all_squash)
/data-0/4/sicherungen
 
192.168.4.216/255.255.255.0(ro,wdelay,root_squash,sec=sys,ro,root_squash,no_all_squash)

***
NFS server mounts

All mount points on eis1-biker-214:
192.168.4.216:/data-0/4/rueckgabewert-214
192.168.4.216:/data-0/4/sicherungen

---

Hier auch mal die NFSClient von dem RServer der darau zugreift
( ich hab jetz nur den 210 und den 214 hier aufgelistet )
***
START_NFSCLIENT='yes'                  # start NFS client: yes or no
NFSCLIENT_MOUNT_N='10'                 # numbers of shares to mount
NFSCLIENT_MOUNT_1_ACTIVE='yes'         # 1. activate mount: yes or no
NFSCLIENT_MOUNT_1_HOST='192.168.4.210' #    host to mount
NFSCLIENT_MOUNT_1_TYPE='nfs'           #    NFS type: nfs or nfs4
NFSCLIENT_MOUNT_1_MOUNTPOINT='/data-sicherung/'
                                        #    mountpoint on host
NFSCLIENT_MOUNT_1_DIRECTORY='/data/nfs-verbindungspunkt/210'
                                        #    local directory
NFSCLIENT_MOUNT_1_OPTION=''            #    additional options, e.g. 
'ro' (readonly)

NFSCLIENT_MOUNT_2_ACTIVE='no'
NFSCLIENT_MOUNT_2_HOST='192.168.4.210'
NFSCLIENT_MOUNT_2_TYPE='nfs'
NFSCLIENT_MOUNT_2_MOUNTPOINT='/data-0/4/rueckgabewert-210/'
NFSCLIENT_MOUNT_2_DIRECTORY='/data/nfs-verbindungspunkt/rueckgabewert-210'
NFSCLIENT_MOUNT_2_OPTION=''

NFSCLIENT_MOUNT_7_ACTIVE='yes'
NFSCLIENT_MOUNT_7_HOST='192.168.4.214'
NFSCLIENT_MOUNT_7_TYPE='nfs'
NFSCLIENT_MOUNT_7_MOUNTPOINT='/data-0/4/sicherungen/'
NFSCLIENT_MOUNT_7_DIRECTORY='/data/nfs-verbindungspunkt/214'
NFSCLIENT_MOUNT_7_OPTION=''

NFSCLIENT_MOUNT_9_ACTIVE='yes'
NFSCLIENT_MOUNT_9_HOST='192.168.4.214'
NFSCLIENT_MOUNT_9_TYPE='nfs'
NFSCLIENT_MOUNT_9_MOUNTPOINT='/data-0/4/rueckgabewert-214'
NFSCLIENT_MOUNT_9_DIRECTORY='/data/nfs-verbindungspunkt/rueckgabewert-214'
NFSCLIENT_MOUNT_9_OPTION=''

****
Ich hab eben och mal den Client auf dem 216 neu gestartet dort kommt 
diese Meldung

---


Activate configuration now (y/n) [yes]?
creating services file ...
Stopping NFSclient ...
- nfsd ...
- nfs ...
- nfs_acl ...
- lockd ...
- sunrpc ...
Starting NFSclient ...
- rpcbind ...
- rpc.statd ...
- mount of 192.168.4.210:/data-sicherung/ failed, because mountpoint 
'/data/nfs-verbindungspunkt/210' already in use!
- mounting 192.168.4.210:/data-0/4/rueckgabewert-210/ as 
/data/nfs-verbindungspunkt/rueckgabewert-210 (nfs) ...
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying 192.168.4.210 prog 100003 vers 3 prot TCP port 2049
mount.nfs: trying 192.168.4.210 prog 100005 vers 3 prot UDP port 50331
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 
192.168.4.210:/data-0/4/rueckgabewert-210/
   mount.nfs: timeout set for Tue Jan 16 19:10:01 2018
   mount.nfs: trying text-based options 
'vers=4,addr=192.168.4.210,clientaddr=192.168.4.216'
   mount.nfs: trying text-based options 'addr=192.168.4.210'
   mount.nfs: prog 100003, trying vers=3, prot=6
   mount.nfs: prog 100005, trying vers=3, prot=17
- mount of 192.168.4.212:/data-0/4/rueckgabewert-212/ failed, because 
mountpoint '/data/nfs-verbindungspunkt/rueckgabewert-212' already in use!
- mount of 192.168.4.212:/data-0/4/sicherungen/ failed, because 
mountpoint '/data/nfs-verbindungspunkt/212' already in use!
- mount of 192.168.4.213:/data-0/4/sicherungen/ failed, because 
mountpoint '/data/nfs-verbindungspunkt/213' already in use!
- mount of 192.168.4.213:/data-0/4/rueckgabewert-213 failed, because 
mountpoint '/data/nfs-verbindungspunkt/rueckgabewert-213' already in use!
- mount of 192.168.4.214:/data-0/4/sicherungen/ failed, because 
mountpoint '/data/nfs-verbindungspunkt/214' already in use!
- mount of 192.168.4.215:/data-0/4/sicherungen/ failed, because 
mountpoint '/data/nfs-verbindungspunkt/215' already in use!
- mount of 192.168.4.214:/data-0/4/rueckgabewert-214 failed, because 
mountpoint '/data/nfs-verbindungspunkt/rueckgabewert-214' already in use!
- mount of 192.168.4.215:/data-0/4/rueckgabewert-215 failed, because 
mountpoint '/data/nfs-verbindungspunkt/rueckgabewert-215' already in use!

----

xStatus of nfsclient mounts: 
 
           x
x- nfs share 192.168.4.210:/data-sicherung/ mounted 
 
           x
x- nfs share 192.168.4.210:/data-0/4/rueckgabewert-210/ not mounted 
 
           x
x- nfs share 192.168.4.212:/data-0/4/rueckgabewert-212/ mounted 
 
           x
x- nfs share 192.168.4.212:/data-0/4/sicherungen/ mounted 
 
           x
x- nfs share 192.168.4.213:/data-0/4/sicherungen/ mounted 
 
           x
x- nfs share 192.168.4.213:/data-0/4/rueckgabewert-213 mounted 
 
           x
x- nfs share 192.168.4.214:/data-0/4/sicherungen/ mounted 
 
           x
x- nfs share 192.168.4.215:/data-0/4/sicherungen/ mounted 
 
           x
x- nfs share 192.168.4.214:/data-0/4/rueckgabewert-214 mounted 
 
           x
x- nfs share 192.168.4.215:/data-0/4/rueckgabewert-215 mounted

---


Da wir ein Fehler angezeigt, aber ich hab NULL Peil

Gruß
Andreas



Mehr Informationen über die Mailingliste Eisfair