Project

General

Profile

Feature #56475

Feature #53631: Improve resilvering icon & pop-up information

Add remaining scrub time to pool.query and event

Added by William Grzybowski 10 months ago. Updated 5 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Estimated time:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Acceptance Criteria
Will be tested in parent ticket


Related issues

Copied to FreeNAS - Feature #72371: Display remaining scrub time in new UIReady for Testing

Associated revisions

Revision 18edbe85 (diff)
Added by Waqar Ahmed 8 months ago

Show remaining time when scrubbing

This commit introduces a property in ZpoolScrub class which enables us to get remaining seconds left for an active scrub. It also adds a condition where we return None for end time of a scrub if we have an active scrub in progress as there is no end time at that point and the time returned is start of the epoch.
Ticket: #56475

Revision 4e192577 (diff)
Added by Waqar Ahmed 8 months ago

Show remaining time when scrubbing (#29)

This commit introduces a property in ZpoolScrub class which enables us to get remaining seconds left for an active scrub. It also adds a condition where we return None for end time of a scrub if we have an active scrub in progress as there is no end time at that point and the time returned is start of the epoch.
Ticket: #56475

History

#1 Updated by William Grzybowski 9 months ago

  • Assignee changed from William Grzybowski to Waqar Ahmed

Waqar, can you please implement it in py-libzfs, please? I am thinking exposing a total_secs_left in ZPoolScrub.

We can just copy the logic from cddl/contrib/opensolaris/cmd/zpool/zpool_main.c

#2 Updated by Waqar Ahmed 8 months ago

  • Status changed from Not Started to In Progress

#3 Updated by Waqar Ahmed 8 months ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by Dru Lavigne 7 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#5 Updated by Dru Lavigne 7 months ago

  • Copied to Feature #72371: Display remaining scrub time in new UI added

#6 Updated by Dru Lavigne 7 months ago

  • Status changed from Ready for Testing to Done
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#8 Updated by Dru Lavigne 5 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF