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

sgpdd-survey refuses to run with raw devices

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • Lustre 2.15.3
    • 9223372036854775807

    Description

      When attempting to run sgpdd-survey on raw devices it refuses to continue after sg_readcap, returning:

      read capacity(16): pass-through os error: Inappropriate ioctl for device
      READ CAPACITY (16) failed: Inappropriate ioctl for device
      sg_readcap failed: Inappropriate ioctl for device
      sg_readcap on device localhost:/dev/raw/raw1 failed,  setting block size to 512
      device localhost:/dev/raw/raw1 not big enough:  0 < 8388608.
      Consider reducing $size

       

      In testing this could be bypassed by commenting out the relevant device size check (lines 217-221) and sgpdd-survey proceeds normally otherwise.

      Attachments

        Activity

          People

            wc-triage WC Triage
            gjsd2 Gwen Dawes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: