bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #8599] updatedb / locate is unusable over NFS


From: Bruno Haible
Subject: [bugs #8599] updatedb / locate is unusable over NFS
Date: Fri, 16 Apr 2004 16:16:08 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)

This mail is an automated notification from the bugs tracker
 of the project: findutils.




/**************************************************************************/
[bugs #8599] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8599>
Project: findutils
Submitted by: Bruno Haible
On: Fri 04/16/04 at 20:16

Category:  locate
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Originator Name:  
Originator Email:  
Status:  Open
Release:  None
Fixed Release:  None


Summary:  updatedb / locate is unusable over NFS

Original Submission:  The updatedb / locate approach is unusable in practice on
systems with large (> 1 GB) NFS mounted volumes, simply
because of the limited speed of 'find' over NFS.

Here is a suggestion for making it work in this situation as well:
Declare that it must be the server's responsibility to maintain
the locatedb at a fixed location under the mountpoint, for
example at  {mountpoint}/.locatedb.
1) Define precisely this location, {mountpoint}/.locatedb or so.
2) Change the 'locate' program so that it looks not only in the
global /etc/locatedb, but also iterates over each NFS-mounted
filesystem and looks there as well.
3) Provide an updatedb-exports script, intended to be run on
the server, that iterates over all NFS-exported volumes
(showmount -e) and updates the .locatedb there.
4) Explain all of it in the documentation.



CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
bruno --AT-- clisp --DOT-- org      | 









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8599>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]