[lustre-discuss] How often Log file get Updated

Andreas Dilger adilger at whamcloud.com
Mon Mar 25 03:32:26 PDT 2019

On Mar 24, 2019, at 00:42, Masudul Hasan Masud Bhuiyan <masud.hasan at nevada.unr.edu> wrote:
> Hi, 
> I am trying to find how often the log in /proc/fs/lustre get updated. I was creating some files in a particular ost and observing the stats file for that OST. But I noticed although the file is creating properly "write_bytes" field in the stats file is not changing. I created ~25GB file but the total size was still the same. That's why I was wondering how often does the log file gets updated?    

This is not a log file, but rather a real-time display of the status, so if it is not being updated, then there are a few options that are possible:

- you are looking into the wrong stats file (e.g. different OST), as there are many different ones
- there is a bug in the code that prevents that the "write_bytes" from being updated.

What verson of Lustre are you running?

Cheers, Andreas
Andreas Dilger
Principal Lustre Architect

More information about the lustre-discuss mailing list