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

SANITYN sanity_mount_check_clients fails if $MOUNT is a substring of $MOUNT2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 1.8.6
    • None
    • My test environment is from git tree with tag 1.8.5.51. The OS should be irrelevant, but I am running sles11sp1 on client.
    • 3
    • 4633

    Description

      The SANITYN passed all its tests but failed in pre-test
      setup at sanity_mount_check_clients.

      I defined MOUNT=/mnt/nbp0 and MOUNT2=/mnt/nbp0-2. Bad idea!!!

      The sanity_mount_check* scripts use `grep -c` to search for
      $MOUNT and $MOUNT2. Since $MOUNT is a substring
      of $MOUNT2, `grep` on situations return wrong count!

      Changing $MOUNT definition to /mnt/nbp0-1 passed the sanityN.sh test.

      Attachments

        Issue Links

          Activity

            People

              yujian Jian Yu
              jaylan Jay Lan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: