Querying the Repair Progress of File Systems and Deduplication LUNs

Procedure

  1. Query the list of file systems and deduplication 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 2 -a 1 command to check file systems and deduplication 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 2 -a 1
        Repair cnt: 5
        ID   RepairType        ObjType
        0    UB Return         FS
        1    Isolate            FS
        2    Extent info        DedupLun
        3    Check            FS
        4    Rescue           FS
      
      In the command output, if Repair cnt is not 0, the file systems or deduplication LUNs are being repaired. Information following Repair cnt indicates the list of file systems and deduplication LUNs being repaired. In the preceding example, four file systems and one deduplication LUN are being repaired.

  2. Query the repair progress of a single file system.
    1. Use user admin and run the show file_system general file_system_id=? command to query the owning controller and working controller of the file system. file_system_id indicates the ID of the file system being repaired.



    2. In developer mode, run the show file_system rescue controller=? file_system_id=? command to query the repair progress.



      Process(%) indicates information about the repair progress, such as 0 and 100 shown in the example.

    3. Query the repair progress when RepairType is UB Return or Isolate.

      If RepairType is UB Return or Isolate, the repair type is UB return or isolate respectively, as shown in 1.d. Since UB Return and Isolate take a short time (within 1 minute in most cases), the repair progress is not displayed. You can view the results of repair tasks in repair states, which can be succeeded, repairing, and failed.

    4. In developer mode, run the show file_system repair controller=? file_system_id=? policy=volume_extent_repair command to query the repair progress.



      • Total Step indicates the total number of repair steps.
      • Current Step indicates the current repair step.
      • Remaining Time indicates the remaining time of each step. Each step requires a short period of time.

    5. In developer mode, run the show space check_space_consistency file_system_id=? command to query the repair progress.



      Process(%) indicates the percentage that the consistency check completes. 100 in the example indicates that the repair is complete.

  3. Query the repair progress of a single deduplication LUN.
    1. Use user admin and run the show lun general lun_id=? command to query the owning controller and working controller of the deduplication LUN. lun_id indicates the ID of the LUN being repaired.



    2. In developer mode, run the how dedup_lun rescue controller=? lun_id=? command to query the repair progress.



      Process(%) indicates information about the repair progress, such as 70 shown in the example.

    3. Query the repair progress when RepairType is UB Return or Isolate.

      If RepairType is UB Return or Isolate, the repair type is UB return or isolate respectively, as shown in 1.d. Since UB Return and Isolate take a short time (within 1 minute in most cases), the repair progress is not displayed. You can view the results of repair tasks in repair states, which can be succeeded, repairing, and failed.

    4. In developer mode, run the show dedup_lun repair controller=? lun_id=? policy=volume_extent_repair command to query the repair progress.



      • Total Step indicates the total number of repair steps.
      • Current Step indicates the current repair step.
      • Remaining Time indicates the remaining time of each step. Each step requires a short period of time.

    5. In developer mode, run the show space check_space_consistency lun_id=? command to query the repair progress.



      Process(%) indicates the percentage that the consistency check completes. 100 in the example indicates that the repair is complete.