Add "clone promote" functionality to Storage tab
It would be useful to have a "Promote" button in the storage tab, which executes zfs promote on the clone dataset/zvol
Use case scenario:
I've been playing with the VM functionality in 11-RC, and as such, I've made many clones of clones of zvols, ie at each step through testing while spinning up VMs
I had a zvol called "unbuntu_clean" and a clone of it called "unbuntu_bootable"
I decided to remove the root zvol, but this generates a "zvol has depdendent clones" error.
Use CLI, I was able to "zfs promote" the dependent clone, and then remove the root zvol.
Since cloning is in the UI, promoting should also be in the UI.
To replicate, make a zvol, modify it, clone it (via a snapshot), then try to destroy the original zvol.
zfs promote the clone, and now you can destroy the original zvol.
feat(middleware): Add "clone promote" functionality to storage tab