ubuntu / zsys

ZSys daemon and client for zfs systems
GNU General Public License v3.0
301 stars 43 forks source link

Feature Request: Save ZSys features #219

Open struthio opened 2 years ago

struthio commented 2 years ago

As far as I understand using Ubuntu on ZFS and ZSys service is to PROTECT user data from being deleted (instead of ZSys being of main driver for user data lose). I've looked through some bugs here and I would like to suggest few features for ZSys to in fact protect user data not destroying it.

Pro users can have option to enable management of user datasets (then will also know how to enable it), but home users (I bet most users what use Ubuntu on ZFS might not event know what ZSys is running there)?

Kfftfuftur commented 2 years ago

After having lost data to Zsys destroying datasets i would like to add some points to this:

I notice there is also a bug where Zsys deletes data if the password is misspelled multiple times and consequently rpool isn't mounted. . . again this would be solved by explicitly asking the user.

On a side note I wonder what the reasoning was for Zsys purely relying on ZFS metadata and seeing which datasets are mounted instead of keeping proper / persistent records of states in a separate data set that would be used by all machines independent of the current boot configuration.

I think the text "Experimental" in the 20.04 LTS installer might not be explicit enough. It should probably tell the user that they should unrecoverable loss of data if Zsys misbehaves and not just some minor bugs that might require manual intervention as I expected when checking the checkbox. I just checked and was shocked that the experimental warning isn't even present in the 21.10 Installer.