David Gucker
2010-Aug-06 14:30 UTC
[Lustre-discuss] Depreciated client still shown on OST exports
Some clients have been removed several weeks ago but are still listed in: ls -l /proc/fs/lustre/obdfilter/*/exports/ This was found after tracing back mystery tcp packets to the OSS. Although this is causing no damage, it raises the question of when former clients will be cleared from the OSS. Is there a way to manually remove these exports from the OSS? -- Regards, David
Johann Lombardi
2010-Aug-06 15:57 UTC
[Lustre-discuss] Depreciated client still shown on OST exports
On Fri, Aug 06, 2010 at 10:30:06AM -0400, David Gucker wrote:> Some clients have been removed several weeks ago but are still listed in: > > ls -l /proc/fs/lustre/obdfilter/*/exports/ > > This was found after tracing back mystery tcp packets to the OSS. > Although this is causing no damage, it raises the question of when > former clients will be cleared from the OSS.This is done on purpose to be able to access per-client statistics even once the client is gone.> Is there a way to manually remove these exports from the OSS?Yes: $ lctl get_param obdfilter.*.exports.clear obdfilter.lol-OST0001.exports.clearWrite into this file to clear all nid stats and stale nid entries $lctl set_param obdfilter.*.exports.clear=0 obdfilter.lol-OST0001.exports.clear=0 However, i would not recommend doing this with any version older than 1.8.3 (see bug 21815). Johann