Bug 26060 - show the progress of badblocks during mkfs
Summary: show the progress of badblocks during mkfs
Status: NEW
Alias: None
Product: Branch p6
Classification: Distributions
Component: alterator-vm (show other bugs)
Version: не указана
Hardware: all Linux
: P3 enhancement
Assignee: Andrey Cherepanov
QA Contact: QA p6
URL:
Keywords:
Depends on: 31691
Blocks:
  Show dependency tree
 
Reported: 2011-08-14 14:16 MSK by Ivan Zakharyaschev
Modified: 2016-11-24 04:39 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2011-08-14 14:16:21 MSK
alterator-vm-0.4.1-alt15

If checking for bad blocks was selected when creating a new filesystem in alterator-vm, the process will take a lot of time (already around 12 hours for me for a 500Gb disc).

It would be nice if the progress was shown in the GUI, or the estimated time to complete.

badblocks does have an option to show the progress -- according to "man badblocks":

       -s     Show the progress of the scan by writing out rough percentage completion of the current badblocks pass  over  the  disk.   Note
              that badblocks may do multiple test passes over the disk, in particular if the -p or -w option is requested by the user.

badblocks was called by mkfs -- an excerpt from "pstree":

     ├─xfce4-panel─┬─Terminal─┬─bash
     │             │          ├─bash───su───bash─┬─acc─┬─alterator-brows───2*[{alterator-brow}]
     │             │          │                  │     ├─alteratord─┬─help
     │             │          │                  │     │            ├─menu
     │             │          │                  │     │            ├─mke2fs───badblocks
     │             │          │                  │     │            └─2*[{alteratord}]
     │             │          │                  │     └─{acc}
     │             │          │                  └─pstree