cea-hpc / shine

Lustre administration tool
GNU General Public License v2.0
22 stars 9 forks source link

shine tune: some /proc/fs lustre files don't accept new lines #192

Closed degremont closed 7 years ago

degremont commented 9 years ago

shine tune will fail on some parameters because lustre doesn't like new lines e.g. on lustre 2.5:

echo "crrn" > /proc/fs/lustre/mds/MDS/mdt_readpage/nrs_policies

-bash: echo: write error: No such file or directory

This is not the only tuning that fails like this. Using "echo -n" worked around the issue everytime so far, and works with every existing tuning we've tried.

Reported by: dm-cea

degremont commented 9 years ago

Original comment by: degremont

degremont commented 9 years ago

Fixed in [349b58]

Original comment by: degremont