Bug 44142 - adjust preup.sh check_space for update to 4.2
adjust preup.sh check_space for update to 4.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Felix Botner
Stefan Gohmann
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-30 09:29 CEST by Felix Botner
Modified: 2017-04-04 18:28 CEST (History)
0 users

See Also:
What kind of report is it?: Release Management
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-03-30 09:29:24 CEST

    
Comment 1 Felix Botner univentionstaff 2017-03-30 09:30:53 CEST
currently we check 

check_space "/" "1500000" "1500 MB

in the preup.

This was not enough for the update of our internal servers:

But Es müssen 2.141 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.322 MB Plattenplatz zusätzlich benutzt.
Comment 2 Felix Botner univentionstaff 2017-03-30 09:44:33 CEST
(1) boot previously 50, now 100

-> ls -lha vmlinuz-4.9.0-ucs103-amd64* initrd.img-4.9.0-ucs103-amd64 
-rw-r--r-- 1 root root  32M Mär 29 09:47 initrd.img-4.9.0-ucs103-amd64
-rw-r--r-- 1 root root 3,9M Mär  9 18:31 vmlinuz-4.9.0-ucs103-amd64
-rw-r--r-- 1 root root 3,9M Mär 10 13:01 vmlinuz-4.9.0-ucs103-amd64.efi.signed

so the new kernel stuff needs ~40MB, plus the old kernel we end up with maybe 80MB

(2) /var/cache/apt/archives and /, previously 500 and 1500, now 4000

during the update ...

But Es müssen 2.141 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.322 MB Plattenplatz zusätzlich benutzt.

so 4G seems reasonable

univention-updater r78488
Comment 3 Stefan Gohmann univentionstaff 2017-03-31 16:37:15 CEST
OK, looks good.
Comment 4 Stefan Gohmann univentionstaff 2017-04-04 18:28:20 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".