Bug #23881
Unify API code to create/update zvol
Status:
Resolved
Priority:
Important
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No
Description
Request: {"name":"test-zvol-zle-2","volsize":"100M","sparse":false,"compression":"zle"} Response: {"avail": 11937632256, "compression": "zle", "name": "test-zvol-zle-2", "refer": 57344, "sparse": false, "used": 110362624, "volsize": 104857600}
however I can see that it has lz4 as compression type
root@freenas:~ # zfs list -o compression tank/test-zvol-zle-2 COMPRESS lz4
Related issues
Associated revisions
fix(api): unify code to create/update zvol
Ticket: #23881
fix(api): add helper to get initial data from form
Ticket: #23881
History
#1
Updated by William Grzybowski over 3 years ago
- Status changed from Unscreened to Screened
- Target version set to 11.1
#2
Updated by William Grzybowski over 3 years ago
- Status changed from Screened to Resolved
Give it another try now.
#3
Updated by William Grzybowski over 3 years ago
- Related to Bug #24231: Creating zvols via api only uses name and volsize from input added
#4
Updated by William Grzybowski over 3 years ago
- Is duplicate of Bug #24432: Change size of zvol via API not passed through to LUN added
#5
Updated by Dru Lavigne over 3 years ago
- Subject changed from RestAPI not setting compression setting to intended value, it's defaulting to inherit compression of dataset. to Unify API code to create/update zvol
#6
Updated by Dru Lavigne over 3 years ago
- Target version changed from 11.1 to 11.1-BETA1
#7
Updated by Joe Maloney about 3 years ago
- Needs QA changed from Yes to No
- QA Status deleted (
Not Tested)