Project

General

Profile

Bug #70723

Add dataset force and recursive delete support to API

Added by Daniel shsh almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
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

When deleting a zvol that has snapshots you get a "device busy" error instead of a prompt with a listing of existing snapshots.

The UI should prompt you to confirm that you want to continue with the deletion of the zvol and associated snapshots, preferably, with a listing of the snapshots.

zvol_delete.png (25.7 KB) zvol_delete.png Bonnie Follweiler, 03/08/2019 08:33 AM
60006

Related issues

Related to FreeNAS - Bug #65061: Unify API and UI codepath for a few ZFS operations and remove deprecated methodsReady for Testing
Has duplicate FreeNAS - Bug #56349: Unable to delete Zvol on new UI, only legacy UIClosed
Copied to FreeNAS - Bug #71619: Display warning in new UI that deleting a dataset or zvol will also delete associated snapshotsDone

Associated revisions

Revision e632c60d (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/zfs): subprocess.run compatible with py3.6 Ticket: #70723

History

#1 Updated by Daniel shsh almost 3 years ago

  • File debug-bigboi-20190117221346.txz added
  • Private changed from No to Yes

#2 Updated by Dru Lavigne almost 3 years ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Release Council to William Grzybowski

#3 Updated by William Grzybowski almost 3 years ago

  • Target version changed from Backlog to 11.2-U3

#4 Updated by Bug Clerk almost 3 years ago

  • Status changed from Unscreened to In Progress

#5 Updated by William Grzybowski almost 3 years ago

  • Has duplicate Bug #56349: Unable to delete Zvol on new UI, only legacy UI added

#6 Updated by Anonymous almost 3 years ago

  • Copied to Bug #71619: Display warning in new UI that deleting a dataset or zvol will also delete associated snapshots added

#7 Updated by Dru Lavigne almost 3 years ago

  • File deleted (debug-bigboi-20190117221346.txz)

#8 Updated by Dru Lavigne almost 3 years ago

  • Private changed from Yes to No

#9 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Dru Lavigne almost 3 years ago

  • Related to Bug #65061: Unify API and UI codepath for a few ZFS operations and remove deprecated methods added

#12 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Deleting a zvol produces device busy error to Add dataset force and recursive delete support to API
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#14 Updated by Bonnie Follweiler over 2 years ago

60006

Test Passed in FreeNAS-11.2-U2-INTERNAL97

It didn't list the snapshots but it did give a confirmation checkbox that I wanted them all deleted (see Screenshot)
If tha snapshots need to be listed I will create a new ticket for that issue.

#15 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF