Installing the Data Repository fails with a block size warning if the operating system stat command returns an incorrect value ․
ERROR MESSAGE: "WARN(eS0165): Vertica prefers a filesystem block size of 4096: '/dev/[device-path]' = 512"
SYMPTOMS:
Vertica installation script fails with exit code 1
System prerequisites indicate a failure threshold of WARN
The stat command returns a block size of 512
The blockdev command returns the expected block size of 4096
CONTEXT: Occurs when deploying the database on a new node
IMPACT: Prevents the completion of the database installation
Specific error sample from install run attempt that fails:
WARN (S0165): https://docs.vertica.com/24.4.x/HTML/index.htm#cshid=S0165
WARN(eS0165): Vertica prefers a filesystem block size of 4096:
'/<disk>/<path>' = 512
Products: Network Observability DX NetOps Classic Data Repository (Vertica)
Environment:
OS: Red Hat Enterprise Linux Major Release 9
Database: Vertica 24․4․0-5
An environmental configuration issue causes the stat command to return an incorrect block size of 512, even though the disk is properly configured with a 4096 block size as verified by blockdev ․
PREREQUISITES:
Root access to the database server
This is the only WARN message being seen.
Validate shows no problems, everything passes.
Error is only observed during dr_install.sh runs.
STEPS:
# added to allow install to bypass lvm warnings
AllowVerticaInstallWarnings=true
EXPECTED: The installation completes successfully by bypassing the warning
Requires verification that the underlying disk is actually formatted with a 4096 block size before bypassing the warning