redhat-cop / ocp4-helpernode

This playbook helps set up an "all-in-one" node, that has all the infrastructure/services in order to install OpenShift 4.
335 stars 301 forks source link

Fix nfs export size check #288

Closed gauthiersiri closed 1 year ago

gauthiersiri commented 2 years ago

df -h may return a size in TB, like 1.1TB which will fail the size condition. using df -BM will return the size in megabytes which solve the issue.

christianh814 commented 1 year ago

df -h may return a size in TB, like 1.1TB which will fail the size condition. using df -BM will return the size in megabytes which solve the issue.

Can you PR against devel? Thanks!