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

LNet: print device status in net show command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None

    Description

      A device can be in fatal state, if the cable was disconnected, or the port brought down on the switch side. In these cases, the LND (o2iblnd for now), will flag the device in fatal state. That device will not be used any further. However, it's health will not be decremented. This causes some confusion when examining the state of the node.

      It is better to print the device status in the output of the lnetctl net show command.

      Basically we need to propagate this value:

       lnet_ni->ni_fatal_error_on

      up to user space when we show the net.

      lustre_lnet_show_net() and lnet_get_ni_config() need to be modified to propagate and print this value.

      There is space in lnet_ioctl_config_ni to add this value without having to add more data structures to the IOCTL API.

      Attachments

        Activity

          People

            cbordage Cyril Bordage
            ashehata Amir Shehata (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: