> [root@localhost ~]# exportfs -a
> exportfs: /tmp/iso requires fsid= for NFS export [root@localhost ~]# cat
> /etc/exports
> /tmp/iso        *(ro,no_root_squash)
> [root@localhost ~]#
> 
> Perhaps the "access denied" message (below) has something to do with
> this?

It does indeed, but it's not the problem you're looking for.  First step is to 
get the CD/DVD mounted on the right mountpoint on the NFS server (that's a 
physical device mount on the machine in question, so the localhost: syntax 
isn't usable -- you're not using the network for this step, it's a local device 
on a local mountpoint). 

Once the DVD is mounted, then you tell the NFS server to reparse /etc/exports 
using 'exportfs -a'. It doesn't automatically do this if something changes (in 
order to make NFS server configuration processing atomic; you might want to 
make a bunch of changes and then commit the export after you're all done 
messing around), and most NFS servers won't export an empty mountpoint, even if 
it is configured in /etc/exports)

Is there any reason why you're not putting all the mount options in 
/etc/exports (that's what's in the parens)? You *will* forget one, and be very 
confused why it doesn't work....

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to