1829187 Members
17342 Online
109986 Solutions
New Discussion

Re: Export path problem

 
SOLVED
Go to solution
juno2
Super Advisor

Export path problem

I edit the file /etc/exports and add the line /tmp/ 168.1.1.2(rw) , then run "exportfs -a" , but it pop the below messages , could suggest what is wrong on my system ? thx
_______________
exportfs: No 'sync' or 'async' option specified for export "168.1.1.2:/tmp".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Export path problem

Take out the trailing slash

change /tmp/
to /tmp

Then you should be fine.

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
Stuart Browne
Honored Contributor
Solution

Re: Export path problem

This isn't showing any errors. This is just stating that the method of accessing the disk wasn't listed, and that it is going to synchronously do any IO for the disk.

If you read 'man 8 mount', it states the two options, sync and async are just the opposite sides of the coin.

'exportfs' now assumes you want sync instead of async.

To get this message not to come up when you run 'exportfs -a', use an entry like:

/tmp/ 168.1.1.2(rw,sync)

in your /etc/exports file instead.
One long-haired git at your service...
Caesar_3
Esteemed Contributor

Re: Export path problem

Hello!

It's not error it's just a worning.
As you see now the default is changed,
and the better for the feature also is do
like i do always write the default parameters because in some day it may be not the default.
Also you think you work with async but you get by default sync because in the past this was a default.

Caesar