I just realize that postgresql is now installed in /var/opt/rh/rh-postgresql12/lib/pgsql/data/
and it looks to be hard-coded.
Anyone can confirm this?
I know that hard-coding stuff is sometimes required, but I’m surprised to see nothing about this change in the documentation, specially in the upgrade section. The hardware requirement probably need update as well?
3.1.2 Hardware Requirements
The default installation when including Puppet Server will require:
4GB memory
2GB disk space
Same in Katello doc, there is no requirement for postgres but:
- The root filesystem needs at least 20 GB of Disk Space
In some (most) cases the old /var/lib/pgsql
was a dedicated mount point (with possibly higher disks iops) and the new path ends up on the root disk with just enough space for the OS… As there is no purge by default for audits, tasks etc… (or because some purge does not work depending on the version) the database can grow quickly to a non-negligible size. If it’s installed “silently” on the root disk it might generate some issues in the future. Users should be aware of this.
This is an important information which should be explicitly specified in the documentation, IMHO.
What do you guys think about that?