[Lustre-discuss] Depreciated client still shown on OST exports

Johann Lombardi johann.lombardi at oracle.com
Fri Aug 6 08:57:32 PDT 2010


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.clear=
Write 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



More information about the lustre-discuss mailing list