Thanx for your help, but is there another way to solve the problem
My server is a live monitoring & http server and a reboot is
  a risk (customers complaining... no monitoring of our routers, billing 
data lost...) I perfer not to reboot when not needed.

I re-created the dir /home/mrtg/scripts/billing
, now he gives the error:

unexporting 192.168.230.5:/home/mrtg/scripts/billing from kernel
192.168.230.5:/home/mrtg/scripts/billing: Invalid argument
unexporting 192.168.230.4:/home/mrtg/scripts/billing from kernel
192.168.230.4:/home/mrtg/scripts/billing: Invalid argument

I also restarted the whole NFS process, but with no result...





J. Craig Woods wrote:

> wim wrote:
> 
>>Hello,
>>
>>I'm trying to modify my NFS server by adding directories... I added and
>>deleted some entries in /etc/exports. After these modifications, I did
>>exportfs -rav and now I get some errors:
>>
>>[root@mrtg /proc]# exportfs -rav
>>exporting 192.168.230.4:/home/mrtg/html
>>exporting 192.168.230.4:/home/mrtg
>>exporting 192.168.230.4:/tftpboot
>>exporting 192.168.230.4:/var/www
>>unexporting 192.168.230.5:/home/mrtg/scripts/billing from kernel
>>192.168.230.5:/home/mrtg/scripts/billing: No such file or directory
>>unexporting 192.168.230.4:/home/mrtg/scripts/billing from kernel
>>192.168.230.4:/home/mrtg/scripts/billing: No such file or directory
>>reexporting 192.168.230.4:/home/mrtg/html to kernel
>>exporting 192.168.230.4:/home/mrtg to kernel
>>192.168.230.4:/home/mrtg: Invalid argument
>>reexporting 192.168.230.4:/tftpboot to kernel
>>reexporting 192.168.230.4:/var/www to kernel
>>
>>And indeed home/mrtg/scripts/billing doesn't exist and isn't in my
>>exports-file! Where is this info stored?
>>
>>192.168.230.4:/home/mrtg: Invalid argument
>>This I don't understand :-(
>>
>>some adittional info;
>>
>>my server is 192.168.230.5
>>
>>this is my /etc/exports:
>>
>>/home/mrtg                      192.168.230.4(rw)
>>/home/mrtg/html                 192.168.230.4(rw)
>>/var/www                        192.168.230.4(rw)
>>
>>/tftpboot                       192.168.230.4(rw)
>>
>>
> 
> Wim, you already had those exported directories in the kernel (the ones
> that you have now deleted i.e. /home/mrtg/scripts/billings). You put
> this info into the kernel with your command, "exportfs" or they were
> entered during a bootup, if they existed in the exports file.  This info
> about that directory is in the kernel, and when the kernel trys to
> unexport the directory, it now no longer exists on your system. The
> kernel is perplexed. The best solution here is to get your
> "/etc/exports" the way you want it, making sure that all the directories
> for exporting currently exist on your system, and flush your kernel out
> by doing a reboot.
> 
> As far as the invalid argument error, I think I know what is happening
> but I would like you to try the aforementioned method, and let me know
> what your results are looking like.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 


-- 
Kind regards,

Wim De Hul
Belgacom Belbone
  Mail   : [EMAIL PROTECTED]
  Mobile : +32 479 952004
  Ripe   : WDH25-RIPE


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to