Advertisement
fant0men

NFS notes

Nov 15th, 2019
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. nfs-common (ubuntu)
  2. nfs-kernel-server (ubuntu)
  3. systemctl start nfs-server.service
  4.  
  5. nfs-utils (fedora)
  6. systemctl start nfs-server
  7.  
  8. 192.168.0.?? (dator)
  9. 192.168.0.?? (laptop)
  10.  
  11. exportfs -ra
  12.  
  13. ***
  14.  
  15. DISABLE SAMBA:
  16. systemctl disable smb nmb
  17. systemctl stop smb nmb
  18.  
  19. OR:
  20.  
  21. smbd nmbd
  22.  
  23. ***
  24.  
  25. /etc/exports:
  26.  
  27. dir 192.168.0.0/24(rw,fsid=0,sync,no_subtree_check,crossmnt)
  28.  
  29. crossmnt enables other filesystems than / to be exported
  30. fsid=0 means the mount will not see the surrounding directory structure, but only the deepest directory in the path
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement