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

$REFORMAT in t-f is not used correctly

    XMLWordPrintable

Details

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

    Description

      $REFORMAT is defined in test-framework.sh and used in the following code:

          if ! is_mounted $MOUNT && ! is_mounted $MOUNT2; then
              [ "$REFORMAT" ] && formatall
              # setupall mounts both MOUNT and MOUNT2 (if MOUNT_2 is set)
      

      There is an issue that even if we set "REFORMAT=no", it will still format all.

      I will submit a patch to fix it.

      Attachments

        Activity

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: