Details

    • Question/Request
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.10.1
    • CentOS 7
    • 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.

      Attachments

        Activity

          [LU-10303] Timestamp of lfsck
          pjones Peter Jones added a comment -

          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

          pjones Peter Jones added a comment - 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

          veswarap, do you need more help on this ticket?

          yong.fan nasf (Inactive) added a comment - veswarap , do you need more help on this ticket?

          veswarap, any more for this ticket?

          yong.fan nasf (Inactive) added a comment - veswarap , any more for this ticket?

          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".

          yong.fan nasf (Inactive) added a comment - 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".
          pjones Peter Jones added a comment -

          Fan Yong

          Can you advise?

          Peter

          pjones Peter Jones added a comment - Fan Yong Can you advise? Peter

          People

            yong.fan nasf (Inactive)
            veswarap Vidya Eswarappa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: