[Ovirt-devel] [PATCH 1/2] Provides a new storage administration system to the managed node.

Darryl L. Pierce dpierce at redhat.com
Fri Nov 20 14:16:41 UTC 2009


On Fri, Nov 20, 2009 at 12:25:55AM +0100, Alan Pevec wrote:
> On Mon, Nov 9, 2009 at 8:20 PM, Darryl L. Pierce <dpierce at redhat.com> wrote:
> > Users can now:
> >  * Add a new storage pool.
> >  * Delete a storage pool.
> >  * Start and stop storage pools.
> >  * Add a new storage volume.
> >  * Delete a storage volume.
> >  * List existing storage pools, with details.
> 
> I'm getting volumes with 1G or less rounded to 0.0 G in display:
>                  ┌───────────┤ List Storage Pools ├───────────┐
>                  │                                            │
>                  │     Details For Storage Pool: default      │
>                  │      Name:default                          │
>                  │           gpxe-0.9.7-6.el5rhev.iso (0.0 G) │
>                  │           nodel5.iso (0.0 G)               │
>                  │   Volumes:nodel5a.img (2.0 G)              │
>                  │           xp2.img (0.0 G)                  │
>                  │           xp.img (2.0 G)                   │
>                  │           winxp-sp2.iso (0.0 G)            │
>                  │ Autostart:Yes                              │
> 
> you need to  / 1024.0**3 to get the fractional part

Okay. I'll change it to show megabytes when less than 1G is the size.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20091120/4ed88769/attachment.sig>


More information about the ovirt-devel mailing list