Nfs - /etc/exports

Alexandre Van Haecke avhaecke at club-internet.fr
Thu Feb 10 21:56:03 UTC 2005


you can also use system-config-nfs.

(well documented in "Red Hat 9 Customization Guide - Chapter Network
File System", it even describes the problem you have in /etc/exports,
namely :
"If there are no spaces between the hostname and the options in
parenthesis, the options apply only to the hostname. If there is a space
between the hostname and the options, the options apply to the rest of
the world")
hope it helps


Le jeu 10/02/2005 à 22:26, Rick Stevens a écrit :
> Larry Cotton wrote:
> > Hi
> > 
> > I'm using fedoracore 2 and am tring to use nfs to export directories
> > for use on another machine.
> > 
> > My /etc/exports file looks something like:
> > /home/backups alex (rw,sync,squash_uids=0-99)
> > /home/servermanager alex (rw, sync)
> > 
> > Whenever I run exportfs I get a couple of warnings to the effect of
> > 'no hostname given with /home/servermanager'.
> 
> First, is "alex" in /etc/hosts or resolvable via DNS?  Second, the
> format is "hostname(options)", not "hostname (options)" (do NOT put
> a space in there).  Spaces separate host/option groups.  See "man 
> exports" for details.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -    I don't suffer from insanity...I enjoy every minute of it!      -
> ----------------------------------------------------------------------




More information about the fedora-list mailing list