Project

General

Profile

Bug #74397

Fix incorrect usage percentage for zvol

Added by Bonnie Follweiler almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I created a new volume striped it has 1.8 TB available space
I created a zvol with 914.1 GB size
There is no files in the volume anywhere yet
In the Legacy UI:
The parent datset, which has nothing in it yet, shows 914.1 GB 50% and 883.9 avaialble
The zvol shows 914.1 33% Used and 1.8 TB available

In the New GUI
The Zvol shows 914.08 GB used and 1.76 TB available
The parent dataset shows 914.08 GB used and 883.92 GB avaialable

Screen Shot 2019-02-08 at 12.57.20 PM.png (39.9 KB) Screen Shot 2019-02-08 at 12.57.20 PM.png Bonnie Follweiler, 02/08/2019 09:58 AM
legacy_pool_available.png (10.8 KB) legacy_pool_available.png Bonnie Follweiler, 03/12/2019 09:46 AM
NewGUI_Pool_Availability.png (13.4 KB) NewGUI_Pool_Availability.png Bonnie Follweiler, 03/12/2019 09:46 AM
TopPoolavaialble.png (95.5 KB) TopPoolavaialble.png Bonnie Follweiler, 03/13/2019 09:00 AM
53544
60591
60600
60744

Related issues

Copied to FreeNAS - Bug #76422: In the Legacy UI On vol/datasets with revservation used percentage is wrong if actual used space is less then the used by reservationsDone

History

#1 Updated by Bonnie Follweiler almost 3 years ago

53544

#2 Updated by Bonnie Follweiler almost 3 years ago

  • Private changed from No to Yes

#3 Updated by Nick Wolff almost 3 years ago

We probably need to subtract usedbyrefreservation from available before doing percentage calc or subtract usedbyrefreservation from used before listing in gui. Not sure what is cleanest fix here/

#4 Updated by Bug Clerk almost 3 years ago

  • Status changed from Unscreened to In Progress

#5 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Bug Clerk almost 3 years ago

  • Target version changed from Backlog to 11.2-U3

#7 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #76422: In the Legacy UI On vol/datasets with revservation used percentage is wrong if actual used space is less then the used by reservations added

#9 Updated by Dru Lavigne almost 3 years ago

  • File deleted (debug-fn07-20190208095657.tgz)

#10 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from In the Legacy UI On vol/datasets with revservation used percentage is wrong if actual used space is less then the used by reservations to Fix incorrect usage percentage for zvol
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Vladimir Vinogradenko almost 3 years ago

Acceptance Criteria

Both UI should show equal and correct values

#13 Updated by Bonnie Follweiler over 2 years ago

60591
60600

Tested in FreeNAS-11.2-U2-INTERNAL98
The pool availability isn't the same in Legacy and new GUI (screenshots provided)

#14 Updated by William Grzybowski over 2 years ago

  • Status changed from Failed Testing to Passed Testing

They are, based on your screenshots.

This passed testing.

#15 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done
  • Needs QA changed from Yes to No

#16 Updated by Bonnie Follweiler over 2 years ago

60744

I'm sorry William - My screenshots didn't include the Pool data from the new GUI
I have included that screenshot but basically the Pool available/free size doesn't match for Legacy and the New GUI
In the pool called tankini
New GUI: 391.18 GB
LEGACY: 928.0gb

#17 Updated by William Grzybowski over 2 years ago

  • Status changed from Failed Testing to Passed Testing

New UI does not show pool status, this is workign as expected.

#18 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF