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

interop: sanity test 27M fails with '(1) stripe count 1, should be 4'

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      sanity test_27M fails for interop testing between 2.12.x, for x >= 4, clients and Lustre servers with version >= 2.13.51.81.

      Looking at the suite_log for a recent failure at https://testing.whamcloud.com/test_sets/6027d1c8-86b2-4ebc-97a4-6f10f337bdbf, we can see that the test fails because lfs doesn’t recognize the ‘-C’ flag

      == sanity test 27M: test O_APPEND striping =========================================================== 00:04:37 (1612829077)
      CMD: trevis-203vm4 /usr/sbin/lctl get_param -n version 2>/dev/null ||
      				/usr/sbin/lctl lustre_build_version 2>/dev/null ||
      				/usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
      lfs setstripe setstripe: unrecognized option '-C'
      To create a file with specified striping/composite layout, or
      create/replace the default layout on an existing directory:
      usage: setstripe [--component-end|-E <comp_end>]
                       [--stripe-count|-c <stripe_count>]
                       [--stripe-index|-i <start_ost_idx>]
                       [--stripe-size|-S <stripe_size>]
                       [--layout|-L <pattern>]
                       [--pool|-p <pool_name>]
                       [--ost|-o <ost_indices>]
                       [--yaml|-y <yaml_template_file>]
                       [--copy=<lustre_src>]
                       <directory|filename>
       or
      …
      

      The overstriping feature was landed to b2_13 with patch https://review.whamcloud.com/#/c/28425/ which added the ‘-C’ flag to lfs. We did not backport the overstriping feature to b2_12.

      We backported the patch “LU-9341: Add special O_APPEND striping” https://review.whamcloud.com/#/c/37007/ to b2_12 that adds sanity test 27M that uses ‘lfs -C’ .

      As suggested by Andreas D., the test should work with using ‘lfs -c 4’, or max OSTs if there aren’t four OSTs configured, instead of ‘lfs -C 4’ . As an additional improvement, we should use "save_layout_restore_at_exit $MOUNT" to restore the root directory layout instead of "save_layout_restore_at_exit $MOUNT" .

      Attachments

        Issue Links

          Activity

            People

              simmonsja James A Simmons
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: