User Tools

Site Tools


doc:appunti:linux:sa:nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:linux:sa:nfs [2009/03/03 12:50] niccolodoc:appunti:linux:sa:nfs [2019/01/23 11:21] (current) – [NFS Permission denied: troppi gruppi!] niccolo
Line 56: Line 56:
  
 Cercare //user is in too many groups// in **[[http://hell.org.ua/Docs/oreilly/tcpip2/nfs/ch12_04.htm|NFS security]]**. Cercare //user is in too many groups// in **[[http://hell.org.ua/Docs/oreilly/tcpip2/nfs/ch12_04.htm|NFS security]]**.
 +
 +===== NFS problema di versione =====
 +
 +Può essere che durante il montaggio di una risorsa NFS sul client si manifesti questo errore (si è utilizzata l'opzione **%%-v%%** di mount):
 +
 +<code>
 +mount.nfs: trying text-based options 'vers=4.2,addr=10.0.0.210,clientaddr=10.0.0.112'
 +mount.nfs: mount(2): Protocol not supported
 +mount.nfs: trying text-based options 'vers=4.1,addr=10.0.0.210,clientaddr=10.0.0.112'
 +mount.nfs: mount(2): Input/output error
 +mount.nfs: mount system call failed
 +</code>
 +
 +Sul server non si riscontrano errori evidenti. Potrebbe essere un problema di versione, nel nostro caso il server ha **NFS v. 1.2.2** mentre il client ha **NFS v. 1.3.4** (Debian 6.0 e Ubuntu 18.04 rispettivamente).
 +
 +Si forza la version 3 del protocollo NFS in **/etc/fstab**:
 +
 +<file>
 +nis-server:/nfshome  /nfshome  nfs  defaults,nfsvers=3  0  0
 +</file>
 +
 +quindi il montaggio avviene correttamente:
 +
 +<code>
 +mount.nfs: trying text-based options 'nfsvers=3,addr=10.0.0.210'
 +mount.nfs: prog 100003, trying vers=3, prot=6
 +mount.nfs: trying 10.0.0.210 prog 100003 vers 3 prot TCP port 2049
 +mount.nfs: prog 100005, trying vers=3, prot=17
 +mount.nfs: trying 10.0.0.210 prog 100005 vers 3 prot UDP port 53361
 +</code>
doc/appunti/linux/sa/nfs.1236081056.txt.gz · Last modified: 2009/03/03 12:50 by niccolo