Solving Oracle Grid Installer Disk Space Error (INS-32020, INS-30100)

During the installation of Oracle Grid Infrastructure 19c, the following error appeared:

Error Message:

[INS-32020] Installer has detected that the available disk space on 
the volume for the specified Oracle base location (/u01/app/grid) is 
less than the recommended value.

[INS-30100] Insufficient disk space on the selected location 
(/u01/app/grid/product/19/grid).

Steps to Solve the Error

1. Checked Current Disk Usage

df -h

Observation: - / (root) had only 4.8G free out of 38G --- insufficient for Oracle Grid Infrastructure.

2. Verified Disk Layout

lsblk
vgs
vgdisplay

3. Identified Additional Disk

4. Created a New Physical Volume (PV)

pvcreate /dev/sdb

5. Extended the Volume Group (VG)

vgextend ol /dev/sdb

6. Extended the Logical Volume (LV)

lvextend -L +10G /dev/mapper/ol-root

7. Resized the Filesystem

xfs_growfs /

8. Verified Final Disk Space

df -h /

Output:

/dev/mapper/ol-root   48G   33G   15G  69% /

Result

The disk space issue was resolved.
Oracle Grid Infrastructure installation continued successfully without errors.