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

quiet spurious early-mount messages on servers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There are a few messages printed early during module loading and mount that are just noise and could be quieted if the filesystem is just being mounted.

      For example:

      LustreError: 137-5: lustrevm-MDT0000_UUID: not available for connect
               from 0@lo (no target). If you are running an HA pair check that the target
              is mounted on the other server.
      

      this is expected if the lnet/ptlrpc modules have loaded, but MDT0000 is not yet started.

      Probably the right solution here is to add a global variable that holds the time that the module was first loaded (maybe in obdclass?) and then conditionally quiet this (and some other) messages if, say, less than RECONNECT_DELAY_MAX seconds have elapsed since the module was first loaded.

      Lustre: srv-testfs-MDT0001: No data found on store. Initialize space: rc = -61
      

      The "-61 = -ENODATA" error code is expected in this case, and is the only error that could be seen in this case, so ": rc = -61" should just be removed from the message.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: