dimarts, 21 de juliol del 2009

Neither 'subtree_check' or 'no_subtree_check' specified for export

Si fem servir el sistema de compartició d'arxius NFS (Network File System) observarem que d'ençà la versió 1.0 de nfs-utils un valor per omissió ha canviat.

Neither 'subtree_check' or 'no_subtree_check' specified for export "n.n.n.0/24:/var/vm". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x

subtree_check
Verify requested file is in exported tree
This is the default. Every file request is checked to make sure that the requested file is in an exported subdirectory. If this option is turned off, the only verification is that the file is in an exported filesystem.
no_subtree_check Negation of subtree_check
Occasionally, subtree checking can produce problems when a requested file is renamed while the client has the file open. If many such situations are anticipated, it might be better to set no_subtree_check. One such situation might be the export of the /home filesystem. Most other situations are best handed with subtree_check.



Per evitar tornar a veure aquest missatge d'error a l'arrancada, editarem /etc/exports i afegirem el paràmetre no_subtree_check a cada carpeta exportada.