Closed maze-m closed 2 years ago
@maze-m Hi. thank you for the report.
Although I've resized my /-partition as it's discribed here
The document is not speaking just about resizing / partition. It's speaking mainly about
One of above methods is fixing this issue. Article is also explaining why you are interested about /var instead of just / (in case /var is on separate partition).
Is it possible to comment out the check of Disk-Space?
No. It's standard check & test done by RPM for any rpm transaction that cannot be skipped.
Actual behavior When I try do do an Upgrade from CentOS 7.x to Alma 8.5 as it's discribed in the ELevate Quickstart Guide from Alma Linux I got the 'Error Summary - Disk Requirements: At least X MB more space needed on the filesystem'. I got this error although there's enough space left on device for doing an upgrade.
To Reproduce Steps to reproduce the behavior
'yum update -y' on CentOS 7.x machine
'reboot' CentOS 7.x machine
Install 'elevate-release' Repo: 'sudo yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm'
'leapp preupgrade'
'rmmod pata_acpi' && 'echo PermitRootLogin yes | sudo tee -a /etc/ssh/sshd_config' && 'leapp answer --section remove_pam_pkcs11_module_check.confirm=True'
'leapp upgrade'
See error:
Expected behavior Although I've resized my /-partition as it's discribed here , I got the error 'At least X MB more space needed on the filesystem' anymore on XFS-based FS. Is it possible to comment out the check of Disk-Space?
System information (please complete the following information):
# uname -a
: Linux dev.intern.blabla.com 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux# rpm -qa "*leapp*"
(or shorthashes of commits in case of manual installation):Attach (or provide link to) log files if applicable (optional - may contain confidential information):
dev.intern.blabla.com:~$ ll /var/log/leapp/ total 3424 -rw-r--r-- 1 root root 0 Jun 9 10:54 answerfile -rw-r--r-- 1 root root 49 Jun 9 10:54 answerfile.userchoices drwxr-xr-x 2 root root 4096 Jun 9 09:18 archive -rw-r--r-- 1 root root 20017 Jun 9 09:25 dnf-plugin-data.txt -rw-r--r-- 1 root root 236750 Jun 9 10:54 leapp-report.json -rw-r--r-- 1 root root 228078 Jun 9 10:54 leapp-report.txt -rw-r--r-- 1 root root 3010206 Jun 9 10:54 leapp-upgrade.log dev.intern.blabla.com:~$