Client Mount Options

Now that we have tightened up the server side, we need to make similar changes to the client, otherwise we'll start to see errors when we try to mount the resources. For example, we can't mount them with read-write access if they have been shared with read-only access.

Again, this is very easy to do. We simply supply the NFS-specific options to the mount command and it will take care of it for us.

First let's look at the commands we would need to run for the share options we've defined above. First we'll mount the log area with read-only access onto /data/remote_files/log on any client:

<any client># mount -F nfs -o ro helium:/data/remote_files/log
/data/remote_files/log
<any client>#

Now we'll mount the general area onto ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.