In addition to my problem with the nfs exported locally binded
tmpfs /tmp partition. I ran into some issues with my already exported
copy of portage for all systems.

Kept getting an error like the following in the logs

rpc.mountd[2540]: /usr/portage and /ws/ws1/export/usr/portage have same 
filehandle for 192.168.1.0/24,192.168.1.201, using first
rpc.mountd[2540]: /usr/portage and /ws/ws1/export/tmp have same filehandle for 
192.168.1.0/24,192.168.1.201, using first
rpc.mountd[2540]: /usr/portage and /ws/ws1/export/tmp have same filehandle for 
192.168.1.0/24,192.168.1.201, using first

With the fix being similar to before in /etc/exports

/usr/portage    
192.168.1.0/24(rw,async,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=100)

# Diskless Workstations
/ws/ws1/export                  
192.168.1.201(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2011)
/ws/ws1/export/tmp              
192.168.1.201(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2012)
/ws/ws1/export/usr/portage      
192.168.1.201(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2013)
/ws/ws2/export                  
192.168.1.202(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2021)
/ws/ws2/export/tmp              
192.168.1.202(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2022)
/ws/ws2/export/usr/portage      
192.168.1.202(rw,sync,no_root_squash,no_all_squash,no_subtree_check,crossmnt,fsid=2023)
....

I am still just mounting the first entry /ws/ws*/export, but the next
two are required to avoid the two errors I ran into. Both crossmnt and
fsid options are required with fsid being unique, I believe eat least to
the system.

The above error is not always a show stopper unless you get more than
1-2 lines of "have same filehandle for" "using first".

Anyway hope that helps, in case the event you come across the above in
nfs logs :)

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com


---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]

Reply via email to