-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zsysctl state remove does not work on @autozsys snapshots #210
Comments
does (I have somewhat of the opposite problem; --system should remove the root and identically named user states, but does not) |
The particular snapshot I mention seems to have gone. I now have Is there a way of resetting the configuration to its installation defaults? |
I had this same problem - not enough room in bpool to create a snapshot,but upgrades were working. Above 10 the garbage collection will be able to act, but this does not prevent having more than 10. With more than 10, the history definitions take effect, so it kept the oldest snapshots, but dropped snapshots that exceeded the number per bucket. I went from: to
ZSYS defaults appear to be better suited to server configurations (where most expected to be used), but does allow tuning. Perhaps the zsys install could put the /etc/zsys.conf file in place with comments showing the defaults and suggestions for machines that are not on 24/7. |
While doing an I have the same issue and I am not able to delete snapshots. I somehow have 38 user snapshots and 7 private and 7 root snapshots. I tried to delete the oldest ones using However my More and more I am thinking that it was a bad idea to use ZFS for my Ubuntu installation. I may should consider completely reinstalling it with good old ext4... |
See my comment above regards bpool, which should help. |
I had to remove some older kernels and remove old snapshots in the |
Describe the bug
Once again, my system updates are failing because the zfs bpool associated with zsysctl is too full. My system is failing to update - which is a major problem . I cannot remove any of the state to fix the space problem. Last time I had to remove all snapshots using the config file. I have made no user saves of state since - in the hope that removing state would then work - it does not.
The documentation in ZFS focus on Ubuntu 20.04 LTS: ZSys commands for state management in the section: Removing state says:
zsysctl state remove STATE_NAME ...
for automated state save. anything after
autozsys_ (
The online man page is much too terse: man zsysctl-state-remove
To Reproduce
comment: It would be very useful to have a reporting format output with one record per line. Like the
lxc list
options.I would like to delete the following named state:
following the instructions I get:
I also tried, for want of better documentation:
Expected behavior
I expect
sudo zsysctl state remove hzhsg1
to complete successfully, and for the named state not to appear next time I execute:zsysctl show
For ubuntu users, please run and copy the following:
I f you need the bug report I will email it on request. I don't want to put the content on a public forum.
ubuntu-bug zsys --save=/tmp/report
/tmp/report
content:Installed versions:
Additional context
related issues #204 #208
The text was updated successfully, but these errors were encountered: