1829576 Members
2731 Online
109992 Solutions
New Discussion

exports

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

exports

Can someone show me an example of their /etc/exports file?

When I try to nfs mount a file I get an error message after runninf exportfs -av

"exportfs: -rw=apollon has non-inet addr"

My /etc/exports file looks like:
/asu/fsdev/ -rw=apollon
UNIX IS GOOD
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: exports

Example

/backups 192.168.0.41/255.255.255.0(r0)

opens up the /backups filesystem read only to one IP address.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jerome Henry
Honored Contributor

Re: exports

Hi,

I assume /asu/fsdev is a valid directory on your server.

The =apollon is an invalid command.

If apollon is the authorised box (that can read and write /asu/fsdev), the exports should be :
/asu/fsdev/ apollon(rw)
Aother example :

/asu/fsdev/ apollon(rw) maple(ro,squash uids=0-99)
Here I allow apollon as above, and maple to read only, not allowing accounts under 100.

Last example :
/pub *.mydomain.com(rw)
/tmp (ro, insecure,all_squash)
/dir 10.0.0.0/255.0.0.0(ro)

Here I allow pub for any machine on rw in mydomain.com, tmp a public read only dir for everybody, and /dir in ro for any machine in 10.x.x.x range.

Do you see how it works ?

J
You can lean only on what resists you...
Zeev Schultz
Honored Contributor

Re: exports

http://www.ussg.iu.edu/usail/man/linux/exports.5.html
So computers don't think yet. At least not chess computers. - Seymour Cray