[LUDOC-410] document lctl get_param for changelog size Created: 08/Aug/18  Updated: 31/Oct/20

Status: Open
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Scott Nolin Assignee: Lustre Manual Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-7156 Provide size of changelogs Resolved
Epic/Theme: changelog
Rank (Obsolete): 9223372036854775807

 Description   

The latest manual discusses displaying changelog user information in

12.1.2.5. Displaying the Changelog Index and Registered Users

mdd.*.changelog_size is also important to document, since unconsumed changelogs can cause problems.

This should also include the UNITS that this changelog size is reporting. It's a number, what does that number mean? This is a pet peeve of mine with various lustre stats and numbers from lctl. Some give an xml-ish output with units, others give a number. Chaos! If units aren't included, let's document them.

 



 Comments   
Comment by Oscar Santos [ 26/Aug/19 ]

To date I don't believe this request has been fulfilled.  So, what is the UNITS returned by "changelog_size" and what is the max value that would lend to the incursion of error messages such as:

there are no more free slots in catalog 
Comment by Andreas Dilger [ 31/Oct/20 ]

The units of "changelog_size" are in bytes. You can use "lctl get_param mdd.*.changelog_users" to get this in "records" units:

mdd.myth-MDT0000.changelog_users=
current index: 75982977
ID    index
cl2   66834025
Comment by Andreas Dilger [ 31/Oct/20 ]

The "changelog_size" parameter was added in patch http://review.whamcloud.com/16416 "LU-7156 mdd: add changelog_size to procfs".

Generated at Sat Feb 10 03:42:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.