Assignment: NFS
In a text file, write the following:
Write the lines you would need in the
/etc/exports file to achieve the following:
- Export filesystem /share/linux read/write to
host devel, and read only to host install.
- Export filesystem /usr/local read only to any machines
in the network 205.155.157.0 through 205.155.157.255
(the netmask is 255.255.255.0; that is, the first 24 bits
are masked)
- Export filesystem /opt/free read only to all hosts;
the root user ID should be mapped to 1000, and group ID to 1000.
Presume that all of these shares are on a server named
nfsmaster. Write the lines you would need to put
into /etc/fstab to:
- Mount filesystem /share/linux as /linux
read only, keep trying in background, and allow users to interrupt
blocked operations.
- Mount filesystem /usr/local as /var/local
read only, making server reply to write requests before actual disk
write (asynchronous)
- Mount filesystem /opt/free as /home/nfsuser/free
read only, not allowing user interrupts, with server access errors returning
an error.
When You Finish
Name your text file in the form
lastname_firstname_nfs.txt
and email it to the instructor.