Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14165

llog_reader: Add debugging information for a corrupted llog catalog

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      When I was working on LU-14158, I have done some changes on llog_reader to understand/debug llog catalog.

      So I share my changes here, in case of someone is interested.

      Te patches include the following changes:

      • Compute/display the first and last index for a catalog
      • Check if a catallog record index is in range
      • Display records from the first index in catalog
      • Check llh_count with the the llog header bitset
      • In some cases corruption, display the valid records.
      • Add a "print" function for changelog_user records

      Attachments

        Issue Links

          Activity

            [LU-14165] llog_reader: Add debugging information for a corrupted llog catalog

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51219
            Subject: LU-14165 utils: llog_reader: display changleog_user records
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: a37b3591dbe80314391a5ae847b326ae120d10d9

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51219 Subject: LU-14165 utils: llog_reader: display changleog_user records Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: a37b3591dbe80314391a5ae847b326ae120d10d9

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/40818/
            Subject: LU-14165 utils: llog_reader: display changleog_user records
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b94d1c8021298158efe72a2d94e6e9d286a8069a

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/40818/ Subject: LU-14165 utils: llog_reader: display changleog_user records Project: fs/lustre-release Branch: master Current Patch Set: Commit: b94d1c8021298158efe72a2d94e6e9d286a8069a
            bzzz Alex Zhuravlev added a comment - pjones thanks, eaujames please, have a look at https://review.whamcloud.com/#/c/40754/
            pjones Peter Jones added a comment -

            bzzz this seems to be similar to something that you have been working on recently.

            pjones Peter Jones added a comment - bzzz this seems to be similar to something that you have been working on recently.

            Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/40818
            Subject: LU-14165 utils: llog_reader: display changleog_user records
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8fb9959df38ea651afbacfc51942627f36e1a85a

            gerrit Gerrit Updater added a comment - Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/40818 Subject: LU-14165 utils: llog_reader: display changleog_user records Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8fb9959df38ea651afbacfc51942627f36e1a85a

            Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/40817
            Subject: LU-14165 utils: debugging corrupted catalog with llog_reader
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c4faae9448e513d021f95ada3eb9f98711f039d3

            gerrit Gerrit Updater added a comment - Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/40817 Subject: LU-14165 utils: debugging corrupted catalog with llog_reader Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c4faae9448e513d021f95ada3eb9f98711f039d3

            People

              eaujames Etienne Aujames
              eaujames Etienne Aujames
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: