Nfs - /etc/exports

Rick Stevens rstevens at vitalstream.com
Thu Feb 10 21:26:53 UTC 2005


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