How things could be solved...
Exercise 9
Assignment 9.1
Using showmount -e 192.168.0.1
I'll find out, what directory
does the server export (it is the directory /srv/nfs
). Then it
should be enough to just mount -t nfs -o vers=3 192.168.0.1:/srv/nfs /mnt
and that's all.
Exercise 9.2
-
I'll create proper directory I want to export (e.g.
/export
)
and into /etc/exports
I'll add line:
/export 10.0.0.0/255.255.255.0(ro)
-
If the NFS server is not running I start it with
/etc/init.d/nfs-kernel-server start
. If it is running exportfs -r
should suffice.
-
It I don't want to keep seeing the warning from
exportfs
, I
can add to the line in /etc/exports
the parameter (e.g.)
subtree_check
.
Priklad 9.3
And here it should be enough to modify file so it would look like:
domain zimmerman.net
nameserver 192.168.12.5