Server is a recent install with xen and zfs. There is very little installed on Dom0 and zfs setup is essentially as per ubuntu scripts from the openzfs ubuntu 20.04 page. Zfs is working fine but zsys has already started to play up after a few days. It's making me a bit nervous with the things it's logging, massive timeouts and zsysd seems totally broken at this point. I did disable the user snapshot as it seemed pointless, not sure why that would cause issues though. I also have zfsnap setup. I get the impression that zsys breaks when there are snapshots that it didn't make present (looks like there could be a similar issue with docker generated snapshots). This is what's worrying me, i.e. is it going to start deleting things it doesn't own and what would happen if I did ever try and restore using the grub menu option. Would I end up with a broken system, snapshots / backups etc. I'm not sure I want to do a restore and find it's done a random rollback on some other part of the system I didn't want without warning. I'm also replicating rpool to another pool so I can keep more snapshots there but it looks like zsys is picking them up and not entirely sure if that is going to cause problems (or is part of the cause of zsys breaking - but that doesn't give me any confidence if it isn't even tested with a backup pool).
There seems to be a large amount of syslog messages similar to the following for every snapshot including the autozsys snapshots on the backup...
zsysd[3085100]: level=warning msg="Didn't find origin .....
zsysd[3085100]: level=warning msg="Couldn't find any association for user dataset .....
I obviously still need everything mounted at startup and I guess I'd like to be sure whether the zsys package can be safely removed or if I'm going to get boot issues. I can manually disable the apt hooks and services if removing the package is a problem.
Did anyone else run into issues?
Are people running zsys on server with user managed snapshots and has anyone ever tested the rollback function?
Bookmarks