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 _______________________________________________ Lustre-devel mailing list Lustre-devel@clusterfs.com https://mail.clusterfs.com/mailman/listinfo/lustre-devel