-
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
out of space on bpool #231
Comments
It's going to take at least a day to copy my data off so in the hopes of getting a quick response, here's my situation. @didrocks if you could offer some advice I'd appreciate it...
Will a (A list of my rpool snaps, see attached) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
So it's happened.
Right now I'm facing an issue on this system where a regular Ubuntu update failed with the following message:
Package failed to install: Error while installing package: cannot copy extracted data for './boot/vmlinuz-5.15.0-37-generic' to '/boot/vmlinuz-5.15.0-37-generic.dpkg-new'
Apparently zsys creation / garbage-collection doesn't consider free space when making snapshot creation & removal decisions on limited-space devices / partitions. Ideally it would detect low free space situations on system state creation and do some garbage collection to avoid this situation. But it does not.
My (limited) understanding of the situation is that bpool is full of snapshots and can't correctly update and having recovered a failed update using zsys's grub recovery on this system in the past, I half-expect attempting to use
zsysctl state remove autozsys_XXXXXX
to make free space so I can complete the system update will trigger bug #218 and leave the system in an unbootable state.Right now I'm not sure what to do; Just try to reboot and see what happens? Manually attempt to delete snapshots listed in the list generated from
zfs list -t snap bpool/BOOT -r
? Or roll the dice and usezsysctl state remove
?Having been in similar boot-failure recovery situations before, if the system fails to boot, to my knowlege there is no clear system recovery path other than following the instructions here and trying to understand how ti fix the issue. But I expect I'll have do what I've had to in the past: get zfs working in a live-boot session, copy all my data off, reformat the disk and reinstall from scratch. Which is sad, it's likely just a zfs attribute set incorrectly somewhere. But the last time I spent a week trying to manually recover (the OpenZFS mail list
[here](https://zfsonlinux.topicbox.com/groups/zfs-discuss)
was a waste of time) and it took a month and a week of lost vacation time to make up for the lost time.Finally, I'm not sure I'm seeing the value of Ubuntu boot on ZFS anymore. Simply snapshotting things doesn't seem sufficient without a tool like zsys to keep things in order. Recovery without zsys (which is brilliant when it works) seems to be a mess that's left to gurus. It's far too complex for me to figure out what's going wrong on my own.
It's really sad - such an ideal system, 98% complete, just to be left in the dust with critical flaws even enthusiasts can't tolerate now that Microsoft pays the bills (to kill franchise-threatening projects such as this) to move developers onto supporting Active Directory.
This may be my last post for a while since I'm looking at probably 20-40 hours of recovery. I think my best option is to use
zsysctl state remove
on the oldest autozsys snapshot and cross my fingers.Apologies if this comes off as a rant. Maybe I'm just tired, it's been a long day. But to have my system likely to about to timebomb, for really bad reasons isn't a terrible excuse.
To Reproduce
Expected behavior
Simple, robust operation. Usable by non-zfs experts. Not crashing to an unbootable, unrecoverable state.
For ubuntu users, please run and copy the following:
ubuntu-bug zsys --save=/tmp/report
/tmp/report
content:Screenshots
()
Installed versions:
zsysctl 0.5.9
zsysd 0.5.9
Additional context
In my humble opinion:
If these issues were addressed, it would make for an ideal system setup. Something that would give Ubuntu the competitive advantage @canonical needs so badly right now. Not active directory integration :-p.
The text was updated successfully, but these errors were encountered: