[blivet/anaconda][master/rhel7-branch] DASD storage code re-write (#1001070, #859997)

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Feb 12 19:01:20 UTC 2014


On Wed, Feb 12, 2014 at 10:20:54AM +0100, Peter Oberparleiter wrote:
> On 12.02.2014 00:01, Samantha N. Bueno wrote:
> > -- The anaconda patches add logic such that upon entering the storage
> >    spoke, if (a) you're on s390x and (b) you've got unformatted DASDs,
> >    a dialog box pops up to warn the user and give them the option of
> >    running dasdfmt against them (or opting not to and just going back to
> >    the storage spoke).
> 
> Given that formatting a DASD can take a lot of time depending on its
> size (minutes to hours) would it be possible to add a progress indicator
> to the dialog? Running dasdfmt with command line option -P causes it to
> provide continuous formatting progress updates on stdout that could be
> parsed by a calling script:

Progress bars are actually fairly complex. I agree that it is worth
considering some means of tracking the progress, but for the amount of
work that would go into it, this would be something more appropriate for
7.1.

For now, how about simply updating the dialog box with the name of the
DASD which is currently being run through dasdfmt? I think that should
be a fairly simple change I can make, to both graphical and text.

Samantha

> cyl     1 of   100 |    1%
> cyl     2 of   100 |    2%
> cyl     3 of   100 |    3%
> cyl     4 of   100 |    4%
> ...
> 
> 
> Regards,
>   Peter Oberparleiter
> 
> -- 
> Peter Oberparleiter
> Linux on System z Development - IBM Germany
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list