rockstor / rockstor-core

Linux/BTRFS based Network Attached Storage(NAS)
http://rockstor.com/docs/contribute_section.html
GNU General Public License v3.0
554 stars 137 forks source link

add ongoing scrub end time estimate #1922

Closed phillxnet closed 4 years ago

phillxnet commented 6 years ago

It is proposed that we augment the "Scrub Details page" - "End Time" ongoing scrub entry of "Not available" with an explicit estimate of the end time. I.e. while a scrub is running we replace:

"Not available" with "Not available (estimated at May 12th 2018, 4:42:57 pm)"

This estimate could be based on the data scrubbed, the start time, the current time, and the pool usage as displayed on the Pools page - Usage column.

phillxnet commented 5 years ago

Noting here that recent upstream changes have incorporated the required estimate calculations, see pr 177 in kdave/btrfs-progs which would be a more obvious source for this info.

Proposing this issue be considered for our openSUSE based offerings given the more likely occurrence of a relevant bttfs-progs / kernel version.