tracker issue : CF-4204483

select a category, or use search below
(searches all categories and all time range)

available disk space calculation broken

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Tim P. / ()

Created: 06/07/2019

Components: Installation/Config, Installer

Versions: 2018

Failure Type: Usability Issue

Found In Build/Fixed In Build: 2018 /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / CentOS 7.3

Vote Count: 0

Problem Description: When I run the installer, it tells me that /tmp doesn't have enough disk space, and that /root does not have enough disk space.  Both have more than enough, particularly because CF is already installed - I'm only running the installer in order to change the 'run as' user for the service.

It says 'please free up at least 399637 kilobytes...  

I have 2657868K free

so... two problems:
1) the math is wrong - is something using a too-small integer variable?
2) the installer should detect if this is an original install or a reinstall/repair and only check available disk space if an earlier (same version) install is not found

Steps to Reproduce:
1) install CF
2) run the installer again

Actual Result:
error described above

Expected Result:
installer runs without complaints

Any Workarounds:
uninstall and try again (??)



This was seen with the installer I downloaded on April 11, 2019. I attempted to download the installer again (to see if this issue had already been resolved in an updated installer), but the download failed to start (Chrome browser with latest updates)
Comment by Tim P.
30885 | June 07, 2019 04:21:14 PM GMT
my 'df' output from one of the problem instances: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/centos-root 18307072 15651940 2655132 86% / devtmpfs 1922480 0 1922480 0% /dev tmpfs 1939284 0 1939284 0% /dev/shm tmpfs 1939284 9640 1929644 1% /run tmpfs 1939284 0 1939284 0% /sys/fs/cgroup /dev/sda1 508588 381704 126884 76% /boot common 11718867964 4810170652 6908697312 42% /media/sf_common tmpfs 387860 8 387852 1% /run/user/42 tmpfs 387860 24 387836 1% /run/user/1000
Comment by Tim P.
30886 | June 07, 2019 04:57:12 PM GMT