Querying the Repair Progress of LUNs

Procedure

  1. Query the list of LUNs being repaired.
    1. Log in to the command-line interface (CLI) of any node in engine 0 as user admin.
    2. Run the change user_mode current_mode user_mode=developer command to go to the developer mode.
    3. Run the debug command to enter the diagnose mode.
    4. Run the mrr rlunshowlogzonecnt -o 1 -a 1 command to check LUNs being repaired.

      NOTE:
      The mrr rlunshowlogzonecnt command can be executed only when repair tasks are being performed or commands to check the progress of repair tasks are executed (for example, the show lun repair_info command in developer mode).
      admin:/diagnose>mrr rlunshowlogzonecnt -o 1 -a -1
        Repair LUN logzone cnt:2
        LUN ID 
        0 
        1
      
      In the command output, if Repair cnt is not 0, LUNs are being repaired. Information following Repair cnt indicates the list of LUNs being repaired. In the example, LUNs whose IDs are 0 and 1 are being repaired.

  2. Query the repair progress of a single LUN.
    1. Query the working controller of the LUN.

      1. Log in to the CLI of any node as user admin.
      2. Run the show lun general lun_id=? command to query the working controller of a specified LUN.



      3. Ensure that the controller is the working controller of the LUN and run the show lun repair_info disk_domain_id=? lun_id=? action=repair command to query the repair progress of the LUN. disk_domain_id indicates the disk domain ID and lun_id indicates the LUN ID.



        In the command output, remaining Time indicates the remaining time of the current repair step.