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

emergency llog cleanup server scripts

Details

    • 9223372036854775807

    Description

      There can be situations when update llog or changelog files are corrupted and we are just removing/truncating them. Scripts are needed to remove corrupted llogs properly with all plain llogs, so no orphaned data remains on server

      Attachments

        Activity

          [LU-16232] emergency llog cleanup server scripts

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58012/
          Subject: LU-16232 script: fix the argument parse
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 48de2407c9f6af2141f64dfa6b440d23c4f69f15

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58012/ Subject: LU-16232 script: fix the argument parse Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 48de2407c9f6af2141f64dfa6b440d23c4f69f15

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58011/
          Subject: LU-16232 scripts: changelog/updatelog emergency cleanup
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 470d06cf5ca7a1eceb30e04d30b350465ffd336c

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58011/ Subject: LU-16232 scripts: changelog/updatelog emergency cleanup Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 470d06cf5ca7a1eceb30e04d30b350465ffd336c

          "Frederick Dilger <fdilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58012
          Subject: LU-16232 script: fix the argument parse
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: ff3dcb57b5660385855325e410a24570fd49f713

          gerrit Gerrit Updater added a comment - "Frederick Dilger <fdilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58012 Subject: LU-16232 script: fix the argument parse Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: ff3dcb57b5660385855325e410a24570fd49f713

          "Frederick Dilger <fdilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58011
          Subject: LU-16232 scripts: changelog/updatelog emergency cleanup
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: f957b4f369c0804388fecdefce51d5662c757f6f

          gerrit Gerrit Updater added a comment - "Frederick Dilger <fdilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58011 Subject: LU-16232 scripts: changelog/updatelog emergency cleanup Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: f957b4f369c0804388fecdefce51d5662c757f6f

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50876/
          Subject: LU-16232 script: fix the argument parse
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 99144a595b767ef79acec058c838759bea73c579

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50876/ Subject: LU-16232 script: fix the argument parse Project: fs/lustre-release Branch: master Current Patch Set: Commit: 99144a595b767ef79acec058c838759bea73c579

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50558/
          Subject: LU-16232 scripts: clean specific MDTs update llogs
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 8546628c23b1ba1785e42ec9b1bc4b77acced5c6

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50558/ Subject: LU-16232 scripts: clean specific MDTs update llogs Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8546628c23b1ba1785e42ec9b1bc4b77acced5c6

          "Yang Sheng <ys@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50876
          Subject: LU-16232 script: fix the argument parse
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: aa0ded5d3504187b1f3fe852bb5e464569f5eb7c

          gerrit Gerrit Updater added a comment - "Yang Sheng <ys@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50876 Subject: LU-16232 script: fix the argument parse Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: aa0ded5d3504187b1f3fe852bb5e464569f5eb7c

          I've just added to the ticket another script which allows to collect update logs on live server node by using debugfs. It helps to get llogs for further analysis and replace multiple commands need to be executed for that

          tappro Mikhail Pershin added a comment - I've just added to the ticket another script which allows to collect update logs on live server node by using debugfs. It helps to get llogs for further analysis and replace multiple commands need to be executed for that

          "Mikhail Pershin <mpershin@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50558
          Subject: LU-16232 scripts: clean specific MDTs update llogs
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a399335cdcc6561077a1400572128b523c461a16

          gerrit Gerrit Updater added a comment - "Mikhail Pershin <mpershin@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50558 Subject: LU-16232 scripts: clean specific MDTs update llogs Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a399335cdcc6561077a1400572128b523c461a16

          Chris, try it with bash : # bash ./remove_updatelog

          The syntax of '< <()' correct in bash (that is process substitution, creates temp file and redirects from it) but may be not in other shells. Your proposal is possible replacement so it is worth to update script in that manner but for now just call bash explicitly

          tappro Mikhail Pershin added a comment - Chris, try it with bash : # bash ./remove_updatelog The syntax of ' < <() ' correct in bash (that is process substitution, creates temp file and redirects from it) but may be not in other shells. Your proposal is possible replacement so it is worth to update script in that manner but for now just call bash explicitly

          People

            tappro Mikhail Pershin
            tappro Mikhail Pershin
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: