[Lustre-devel] moving /proc to $MNT/.lustre

Nicholas Henke nic at cray.com
Tue Jan 8 04:31:25 PST 2008


Andreas Dilger wrote:
> 
> It wasn't mentioned here, but this is already planned.  There will be
> new commands "lctl get_param" and "lctl set_param" (or similar) that
> will be usable by scripts to get/set Lustre tunables.  This will work
> with both /proc and .../.lustre files so will allow scripts to move
> over to the new mechanism.
> 
> For user-space servers there will be no alternative but to use the lctl
> mechanism since /proc entries will not exist at all.  Then again, there
> will not be any existing systems using the old mechanism since uOSS will
> only work with ZFS.
> 

How is get_param/set_param going to work for the cases like clearing the LRU - where one might not 
know the names of all of the parameters:

for LRU in /proc/fs/lustre/ldlm/namespaces/*/lru_size; do echo clear > $LRU; done

Nic




More information about the lustre-devel mailing list