[LU-10303] Timestamp of lfsck Created: 30/Nov/17  Updated: 14/Feb/18  Resolved: 14/Feb/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.1
Fix Version/s: None

Type: Question/Request Priority: Minor
Reporter: Vidya Eswarappa Assignee: nasf (Inactive)
Resolution: Not a Bug Votes: 0
Labels: performance
Environment:

CentOS 7


Rank (Obsolete): 9223372036854775807

 Description   

Can somebody please help me in retrieving the Time stamp of lfsck? Can you please send me the detailed steps for the same.



 Comments   
Comment by Peter Jones [ 19/Dec/17 ]

Fan Yong

Can you advise?

Peter

Comment by nasf (Inactive) [ 20/Dec/17 ]

veswarap, I am not sure what you want, but I can give you some example:

# cat /proc/fs/lustre/mdd/lustre-MDT0000/lfsck_layout 
name: lfsck_layout
magic: 0xb1732fed
version: 2
status: completed
flags:
param:
last_completed_time: 1513780441
time_since_last_completed: 22 seconds
latest_start_time: 1513780441
time_since_latest_start: 22 seconds
last_checkpoint_time: 1513780441
time_since_last_checkpoint: 22 seconds
latest_start_position: 12
last_checkpoint_position: 53376
first_failure_position: 0
success_count: 1
repaired_dangling: 0
repaired_unmatched_pair: 0
repaired_multiple_referenced: 0
repaired_orphan: 0
repaired_inconsistent_owner: 0
repaired_others: 0
skipped: 0
failed_phase1: 0
failed_phase2: 0
checked_phase1: 4
checked_phase2: 0
run_time_phase1: 0 seconds
run_time_phase2: 0 seconds
average_speed_phase1: 4 items/sec
average_speed_phase2: 0 objs/sec
real-time_speed_phase1: N/A
real-time_speed_phase2: N/A
current_position: N/A

For example, "last_completed_time: 151378044", it is not convenient to convert the time "151378044" to some human readable time, but you can calculate it via "time_since_last_completed: 22 seconds", means the "last_completed_time" is equal to "current time - 22 seconds".

Comment by nasf (Inactive) [ 04/Jan/18 ]

veswarap, any more for this ticket?

Comment by nasf (Inactive) [ 14/Feb/18 ]

veswarap, do you need more help on this ticket?

Comment by Peter Jones [ 14/Feb/18 ]

I think that if veswarap does need any further assistance on this matter then this would be something better pursued via the lustre-discuss making list

Generated at Sat Feb 10 02:33:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.