Task #11570 (closed)
Drivespace shows incorrect value of a server free space
Reported by: | atarkowska | Owned by: | atarkowska |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.0-rc1 |
Component: | WebAdmin | Version: | 4.4.9 |
Keywords: | n.a. | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
It was spotted an issue in the Webadmin interface. When a user selects “User Settings” > “Drivespace”, a pie chart of the disk space is displayed. However the figures reported do not seem to be in the correct quantities: one of our servers is reporting 9606 GB of available space, whereas this should actually read 9.38GB (9606 / 1024).
The code below doesn't show correct value of free space
var fspace = parseInt(data.free / (1024 * 1024)); // GB $("#drivespace_free").text(fspace + " GB");
Change History (4)
comment:1 Changed 10 years ago by atarkowska
comment:2 Changed 10 years ago by atarkowska
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 10 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
- Remaining Time set to 0
(In [981630e9fcbf757f2bf2da19bef4bcfefeddd0d3/ome.git] on branch develop) Fixing free drive space issue in webadmin, close #11570
comment:4 Changed 10 years ago by Josh Moore <josh@…>
(In [5729ad6f233c79d3ac7eb897686e1791ba06b861/ome.git] on branch develop) Merge pull request #1695 from aleksandra-tarkowska/11570_drivespace
Fixing free drive space issue in webadmin, close #11570
seems similar to #9941