[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53533: Suggestion: sysupgrade should terminate gracefully on full partitions.
>Synopsis: Suggestion: sysupgrade should terminate gracefully on full partitions.
>Arrival-Date: Fri Aug 17 07:25:00 +0000 2018
>Originator: Lars-Johan Liman
NetBSD <hostname> 8.0 NetBSD 8.0 (XEN3_DOMU) #0: Tue Jul 17 14:59:51 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/xen/compile/XEN3_DOMU amd64
Sysupgrade is a fantastic tool. but while using sysupgrade-1.5nb3 to upgrade from NetBSD 7.1.2 to 8.0, my /usr partition went through the roof. Fair enogh. It was indeed too small.
The issue is that sysupgrade didn't notice. It just kept trying to pump new files onto the full partition.
I suggest adding more sensitivity to sysupgrade so that it detects a full partition, and aborts gracefully - possibly leavning a status file behind somewhere so it can continue from where it left off when a sysadmin has addressed the issue with the full partition.
Just a thought ...
Fill up your /usr partition almost to the brim, then try to use sysupgrade.
Code needs to be added, I suppose.
Main Index |
Thread Index |