1833875 Members
1773 Online
110063 Solutions
New Discussion

exportfs help

 
Steven Chen_1
Super Advisor

exportfs help

My rc.log showed an error after rebooting:
"exportfs error: /disk1/temp: No such file or directory".

I find out that it was the left-over linking two hp servers. After that operation, we did not need it anymore, so /etc/fstab entry was deleted and /disk1/temp was deleted too.

The /etc/exports file reads as:
"/disk1/temp -anon=65534"

I would like to know if it is save to remove /etc/exports file, and how to get rid of this kind of error message.

Thanks in advance.

Steve
4 REPLIES 4
Alan Riggs
Honored Contributor

Re: exportfs help

If you have no other directories being exported from this achine, it is safe to remove the /etc/exports file. Alternatively, you may simply remove the line in question and leave an empty, permission protected /etc/exports file in place.
Rick Garland
Honored Contributor

Re: exportfs help

You could remove the entry in the /etc/exportfs file.
Antoanetta Naghiu
Esteemed Contributor

Re: exportfs help

Just comment out the /disk/temp or whatever from /etc/exports file.
If the file has no more lines, you can delete it.
Manju Kampli
Trusted Contributor

Re: exportfs help

"/disk1/temp -anon=65534"
comment the above line in /etc/exports file OR delete the above line.

when NFS services are started they read /etc/exports file and try to export the above directory which is not available now. Hence you are getting the error. by removing it you can avoid the error message.
Never stop "LEARNING"