Networking Forums

Networking Forums > Computer Networking > Linux Networking > NFS export problem

Reply
Thread Tools Display Modes

NFS export problem

 
 
Concerned Netizen
Guest
Posts: n/a

 
      03-31-2005, 05:59 PM
running redhat 9.0 i have extablished a /etc/exports file that looks like this:

/tmp rs6000.com(rw insecure)

When I type in /usr/sbin/exportfs -r i get the following message:
exportfs: /etc/exports:1: syntax error: bad option list

Can someone please tell me what i'm doing wrong?
 
Reply With Quote
 
 
 
 
ynotssor
Guest
Posts: n/a

 
      03-31-2005, 07:26 PM
"Concerned Netizen" <(E-Mail Removed)> wrote in message
news:XTW2e.10291$(E-Mail Removed) m

> running redhat 9.0 i have extablished a /etc/exports file that looks
> like this:
>
> /tmp rs6000.com(rw insecure)
>
> When I type in /usr/sbin/exportfs -r i get the following message:
> exportfs: /etc/exports:1: syntax error: bad option list
>
> Can someone please tell me what i'm doing wrong?


Exactly what the error message is telling you. Options are separated by
commas, not spaces.

"man 5 exportfs" and examine the EXAMPLE section, please.

 
Reply With Quote
 
ynotssor
Guest
Posts: n/a

 
      03-31-2005, 07:29 PM
I wrote in message news:(E-Mail Removed)

> "man 5 exportfs" and examine the EXAMPLE section, please.


Sorry, "man 5 exports"
 
Reply With Quote
 
Jack Masters
Guest
Posts: n/a

 
      03-31-2005, 07:33 PM
Concerned Netizen wrote:
> running redhat 9.0 i have extablished a /etc/exports file that looks like this:
>
> /tmp rs6000.com(rw insecure)
>
> When I type in /usr/sbin/exportfs -r i get the following message:
> exportfs: /etc/exports:1: syntax error: bad option list
>
> Can someone please tell me what i'm doing wrong?


From man exports:

EXAMPLE
# sample /etc/exports file
/ master(rw) trusty(rw,no_root_squash)
/projects proj*.local.domain(rw)

Note the comma separating options in the option list
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      03-31-2005, 08:00 PM
Concerned Netizen wrote:
> running redhat 9.0 i have extablished a /etc/exports file that looks like this:
>
> /tmp rs6000.com(rw insecure)
>
> When I type in /usr/sbin/exportfs -r i get the following message:
> exportfs: /etc/exports:1: syntax error: bad option list
>
> Can someone please tell me what i'm doing wrong?


You're missing a comma between 'rw' and 'insecure'.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
SEND NO SPAM
Guest
Posts: n/a

 
      04-01-2005, 07:00 PM
try
/tmp rs6000.com(rw,insecure)

if that doesn't work replace "rs6000.com" mith the ipaddress

Concerned Netizen wrote:
> running redhat 9.0 i have extablished a /etc/exports file that looks like this:
>
> /tmp rs6000.com(rw insecure)
>
> When I type in /usr/sbin/exportfs -r i get the following message:
> exportfs: /etc/exports:1: syntax error: bad option list
>
> Can someone please tell me what i'm doing wrong?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Profiles in WZC Stan Cooper Wireless Networks 4 01-06-2010 06:07 PM
Problem with NFS export of FAT32 partition Allen Linux Networking 2 03-22-2009 01:31 PM
NFS export Anil Kommareddy Linux Networking 5 12-09-2005 04:14 PM
Quark Export Bob Alston Wireless Internet 0 10-13-2005 09:23 PM
Export X over ssh? Sargon Linux Networking 4 01-28-2004 11:24 AM



1 2 3 4 5 6 7 8 9 10 11