Re: sysupdate and space check

2022-10-26 Thread Stuart D Gathman

On Mon, 24 Oct 2022, Peter Fraser wrote:


I make a stupid mistake; I didn’t check partition sizes before doing a
sysupgrade.

sysupgrade ran out of space or /usr in the middle of the upgrade.

I know I should have checked first but it would be nice if sysupgrade did
warn me.

The site was a 20-minute drive away, and their down time was a lot longer
then I expected.


I always make an LVM or btrfs snapshot and make a boot entry for it.
Then, if something goes wrong, the customer can simply press down
arrow to boot the old system.  Still complex to explain to customer
how to alter default BIOS boot, but with linux it is pretty much "keep
pressing down arrow until you see the grub menu.

Re: sysupdate and space check

2022-10-24 Thread Tassilo Philipp
I think you wrote to the wrong mailing list, this is OpenSMTPd. Maybe 
you wanted to write to the OpenBSD ML?.



On Mon, Oct 24, 2022 at 04:59:23PM +, Peter Fraser wrote:
I make a stupid mistake; I didn't check partition sizes before doing a sysupgrade. 
sysupgrade ran out of space or /usr in the middle of the upgrade.
I know I should have checked first but it would be nice if sysupgrade did warn me. 
The site was a 20-minute drive away, and their down time was a lot longer then I expected.




sysupdate and space check

2022-10-24 Thread Peter Fraser
I make a stupid mistake; I didn't check partition sizes before doing a 
sysupgrade.
sysupgrade ran out of space or /usr in the middle of the upgrade.
I know I should have checked first but it would be nice if sysupgrade did warn 
me.
The site was a 20-minute drive away, and their down time was a lot longer then 
I expected.