pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53533: Suggestion: sysupgrade should terminate gracefully on full partitions.



>Number:         53533
>Category:       pkg
>Synopsis:       Suggestion: sysupgrade should terminate gracefully on full partitions.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 07:25:00 +0000 2018
>Originator:     Lars-Johan Liman
>Release:        sysupgrade-1.5nb3
>Organization:
Cafax AB
>Environment:
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
>Description:
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 ...
>How-To-Repeat:
Fill up your /usr partition almost to the brim, then try to use sysupgrade.
>Fix:
Code needs to be added, I suppose.



Home | Main Index | Thread Index | Old Index