Network File System: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
(Created page with "= Crashed NFS server = * You can unmount a non-responsive NFS server by using the -l (lazy) option: umount -l /mnt/data")
 
No edit summary
 
Line 3: Line 3:
* You can unmount a non-responsive NFS server by using the -l (lazy) option:
* You can unmount a non-responsive NFS server by using the -l (lazy) option:
  umount -l /mnt/data
  umount -l /mnt/data
= Adding a NFS share =
* Just edit /etc/exports:
/mnt/data  192.168.0.0/24(rw,sync)
* This would grant access to all IPs in range 192.168.0.*. You may need to restart the server (/etc/init.d/nfs restart) for the share to be actually added.

Latest revision as of 13:29, 18 July 2022

Crashed NFS server

  • You can unmount a non-responsive NFS server by using the -l (lazy) option:
umount -l /mnt/data

Adding a NFS share

  • Just edit /etc/exports:
/mnt/data  192.168.0.0/24(rw,sync)
  • This would grant access to all IPs in range 192.168.0.*. You may need to restart the server (/etc/init.d/nfs restart) for the share to be actually added.