Project

General

Profile

Bug #71619

Display warning in new UI that deleting a dataset or zvol will also delete associated snapshots

Added by Anonymous almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Severity:
Med High
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.


Related issues

Has duplicate FreeNAS - Feature #73074: If a zvol can't be deleted because it has snapshot the error message should be more helpfulClosed
Copied from FreeNAS - Bug #70723: Add dataset force and recursive delete support to API Done

History

#1 Updated by Anonymous almost 3 years ago

  • Copied from Bug #70723: Add dataset force and recursive delete support to API added

#2 Updated by Anonymous almost 3 years ago

For this we will need to add a checkbox to the delete dialog that sets the boolean value for 'recursive'. Please work with docs on the label and tooltip for this.

#3 Updated by Anonymous almost 3 years ago

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

#4 Updated by Anonymous almost 3 years ago

  • Subject changed from Deleting a zvol produces device busy error to Add checkbox for recursive delete of dataset/zvol
  • Private changed from Yes to No

#5 Updated by Vaibhav Chauhan almost 3 years ago

  • Status changed from Unscreened to Screened
  • Severity changed from New to Med High

#6 Updated by Anonymous almost 3 years ago

  • Subject changed from Add checkbox for recursive delete of dataset/zvol to Adjust delete call for zvol/dataset to delete recursively

After clarification with William, this should just always be passed in as true but we should also warn the user that any children and snapshots of a datset (perhaps the warning should be different depending on if it is a zvol or dataset) or zvol will also be deleted.

#7 Updated by Vaibhav Chauhan almost 3 years ago

  • Status changed from Screened to In Progress

#8 Updated by Vaibhav Chauhan almost 3 years ago

acceptance criterion: delete a zvol or dataset, a new warning message will show up, confirm and delete and then deleting should be successful

#10 Updated by Anonymous almost 3 years ago

  • Related to Feature #73074: If a zvol can't be deleted because it has snapshot the error message should be more helpful added

#11 Updated by Anonymous almost 3 years ago

  • Related to deleted (Feature #73074: If a zvol can't be deleted because it has snapshot the error message should be more helpful)

#12 Updated by Anonymous almost 3 years ago

  • Has duplicate Feature #73074: If a zvol can't be deleted because it has snapshot the error message should be more helpful added

#13 Updated by Anonymous almost 3 years ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#14 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Adjust delete call for zvol/dataset to delete recursively to Adjust delete call for recursive zvol/dataset delete in new UI
  • Needs Doc changed from Yes to No

#15 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Adjust delete call for recursive zvol/dataset delete in new UI to Adjust recursive delete call for zvols and datasets in new UI

#17 Updated by Bonnie Follweiler over 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passed in FreeNAS-11.2-U2-INTERNAL97

#18 Updated by Dru Lavigne over 2 years ago

  • Needs Doc changed from No to Yes

#20 Updated by Dru Lavigne over 2 years ago

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

#21 Updated by Dru Lavigne over 2 years ago

  • Subject changed from Adjust recursive delete call for zvols and datasets in new UI to Display warning in new UI that deleting a dataset or zvol will also delete associated snapshots

Also available in: Atom PDF