Project

General

Profile

Bug #24432

Change size of zvol via API not passed through to LUN

Added by Michael Rasmussen over 3 years ago. Updated over 3 years ago.

Status:
Closed: Duplicate
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
-
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Changing size of a zvol through this API call:
https://foo.bar.tld/api/v1.0/storage/volume/tank/zvols/name
body: {
"volsize": "some_size"
}
Response: 200 OK
Using CLI, GUI or API call to display new size of zvol displays the new size but a rescan of the iscsi session at the client still shows the old value.
If I however, resizes the zvol from the GUI a rescan of the iscsi session on the client will detect a changed volsize.


Related issues

Has duplicate FreeNAS - Bug #23881: Unify API code to create/update zvolResolved2017-05-09

History

#1 Updated by William Grzybowski over 3 years ago

  • Status changed from Unscreened to Closed: Duplicate

#2 Updated by William Grzybowski over 3 years ago

  • Has duplicate Bug #23881: Unify API code to create/update zvol added

Also available in: Atom PDF