[PLUG] Dumbass network question

Galen Seitz galens at seitzassoc.com
Wed Jan 21 01:04:12 UTC 2009


drew wymore wrote:
> On Tue, Jan 20, 2009 at 3:59 PM, John Jason Jordan <johnxj at comcast.net>wrote:
> 
>> On Tue, 20 Jan 2009 11:18:44 -0800
>> MJang <mike at mommabears.com> dijo:
>>
>>> showmount -e 192.168.0.148
>> That helped. It showed that the desktop was still expecting to connect
>> to 192.168.0.102, when the laptop was -.101. I looked in the exports
>> file on the desktop and it showed -.101. So then I did
>> "/etc/init.d/networking restart" on the desktop. But afterwards the
>> showmount command on the laptop still showed the desktop insisting that
>> it would connect only to -.102.
>>
>> Finally, I rebooted the desktop again (about three times now). And then
>> the showmount command reflected the correct exports. And then I was
>> finally also able to mount the partitions on the laptop. Whew!
>>
>> Curious that restarting the network did not update the exports. Oh
>> well. I am now much better off because each machine has a fixed address
>> so the command should never fail again. Thanks to all for the advices.
>> _______________________________________________
>> PLUG mailing list
>> PLUG at lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
> 
> 
> Tim is correct you need to restart the NFS daemon on the machine that is
> exporting to clients in order for the changes in /etc/exports to take
> effect, restarting networking will only do something meaningful if you
> changed the IP address for the NIC/Wireless card etc.

I think the preferred tool for this is exportfs(8).  In this case I 
would do the following:

/usr/sbin/exportfs -r -v

-- 
Galen Seitz
Seitz & Associates
galens at seitzassoc.com



More information about the PLUG mailing list