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

sgpdd-survey exits with misleading message

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.6.0
    • 11538

    Description

      Use case: Running sgpdd-survey against devices that do not support the sg_readcap query.

      Scenario 1: Running sgpdd-survey against a md (software) RAID device.

      Expectation: When sg_readcap fails to read from the device, sgpdd-survey should exit with an appropriate message and exit code.

      Notes: The sg_readcap command is called twice in sgpdd-survey. The first time it fails a default value of 512 is assigned to block size. After it fails on the second invocation, sgpdd-survey exits with an erroneous suggestion.

      Implementation: Suggest that sgpdd-survey exit with an appropriate message after the first failure of sg_readcap.

      Attachments

        Activity

          People

            wc-triage WC Triage
            brett Brett Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: