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

run_lfsck() is not functional on suites where check_and_setup_lustre() is not called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.11.0
    • 3
    • 9223372036854775807

    Description

      
      run_lfsck () {
      
      ...
      
                     wait_update_facet --verbose mds${k} "$LCTL get_param -n \
      
                              mdd.$(facet_svc mds${k}).lfsck_layout |
      
      ...
      
                 wait_update_facet --verbose mds${k} "$LCTL get_param -n \
      
                              mdd.$(facet_svc mds${k}).lfsck_namespace |
      
      }
      
      facet_svc() {
      
              local facet=$1
      
              local var=${facet}_svc 
      
              echo -n ${!var}
      
      }
      
      

       

      ${facet}_svc is initialized here :

      
      check_and_setup_lustre() -> init_facets_vars() -> init_facet_vars()
      
      

      performance-sanity does not call check_and_setup_lustre(), all performance-sanity tests run with LFSCK_ALWAYS=yes fail as :

      
      == performance-sanity test complete, duration 169 sec ================================================ 09:24:18 (1531905858)
      
      fre1233: error: get_param: param_path 'mdd//lfsck_layout': No such file or directory
      
      fre1233: error: get_param: param_path 'mdd//lfsck_layout': No such file or directory
      
      

       

      Attachments

        Activity

          People

            wc-triage WC Triage
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: