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

sanity test_818: FAIL: run LFSCK is not suggested

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      sanity.sh:test_818 may fail with:

      == sanity test 818: unlink with failed llog ============== 13:10:45 (1722852645)
      lfs setstripe: setstripe error for '/mnt/lustre/d818.sanity/f818.sanity': stripe already set
      Stopping /mnt/lustre-mds1 (opts:) on vmcentos9-1
      fail_loc=0x80002105
      Starting mds1: -o localrecov  /dev/mapper/mds1_flakey /mnt/lustre-mds1
      Started lustre-MDT0000
       sanity test_818: @@@@@@ FAIL: run LFSCK is not suggested
      

      In 20 repeats the test should fail few times:

      for i in $(seq 1 20); do ONLY=818 bash /usr/lib64/lustre/tests/sanity.sh; done
      

      The problem is in CERROR() used from that message:

      CERROR("logging isn't available, run LFSCK\n");
      

      CERROR() runs via CDEBUG_LIMIT() which may hide the message from dmesg into "Skipped previous similar messages".

      Attachments

        Issue Links

          Activity

            People

              vsaveliev Vladimir Saveliev
              vsaveliev Vladimir Saveliev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: