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

lustre init script output for "status" does not reflect recovery

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • Lustre 2.7.0
    • 3
    • 9223372036854775807

    Description

      When a target is in recovery, lustre/scripts/lustre produces improper output when run as follows, and a relevant target is in recovery:

      /etc/init.d/lustre status
      /etc/init.d/lustre status local
      /etc/init.d/lustre status foreign

      A grep command is invalid, and so always fails, and state is never set to "recovery" regardless of the actual content of lctl get_param -n mdt.*.recovery_status.

      The bug was introduced in a commit merged between tags v2_6_52 and v2_6_53,
      e3ddff LU-5030 utils: fix hard-coded /proc/fs/lustre in scripts

      Attachments

        Activity

          People

            mdiep Minh Diep
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: