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

Create white list for CONFIGS directory files processing

Details

    • Task
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 9223372036854775807

    Description

      Not all files that are stored in CONFIGS directory should be processed. For example there are ".bak" files which created during change_nids operation and used to store non-modified copy. Currently blacklist is used to process CONFIGS directory (".bak"s are excluded), but using whitelist looks more robust.

      Here is example of some MDT CONFIG directory list

      # ls /mnt/fs2mdt/CONFIGS/
      lustre-client   lustre-MDT0000  lustre-MDT0001  lustre-MDT0002  lustre-MDT0003  lustre-OST0000  lustre-OST0001  lustre-OST0002  lustre-OST0003  mountdata       nodemap         params      
        sptlrpc 

      params, node map, mountdata, client, *-MDT, -OST sptlrpc are allowed. What else?

      Attachments

        Issue Links

          Activity

            [LU-11648] Create white list for CONFIGS directory files processing
            pjones Peter Jones added a comment -

            Merged for 2.17

            pjones Peter Jones added a comment - Merged for 2.17

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57271/
            Subject: LU-11648 mgs: Create white list for CONFIGS directory files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0fe756d0f4abd773e2a2d433103a8ca393af7f5a

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57271/ Subject: LU-11648 mgs: Create white list for CONFIGS directory files Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0fe756d0f4abd773e2a2d433103a8ca393af7f5a

            "Artem Blagodarenko <ablagodarenko@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57271
            Subject: LU-11648 mgs: Create white list for CONFIGS directory files processing
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2953e1c5dfb90ef24bbb032f59439137c6187904

            gerrit Gerrit Updater added a comment - "Artem Blagodarenko <ablagodarenko@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57271 Subject: LU-11648 mgs: Create white list for CONFIGS directory files processing Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2953e1c5dfb90ef24bbb032f59439137c6187904
            adilger Andreas Dilger added a comment - - edited

            I would say not all *OST* and *MDT* files, only ones that end with *-OSTxxxx and *-MDTxxxx.

            adilger Andreas Dilger added a comment - - edited I would say not all *OST* and *MDT* files, only ones that end with *-OSTxxxx and *-MDTxxxx .

            People

              ablagodarenko Artem Blagodarenko
              artem_blagodarenko Artem Blagodarenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: