Currently HyperCheck checks that these vfat filesystems are present and warn if at 100%.
cmd = "df -h | grep vfat | grep 100%"
HyperCheck should also check for the presence of the filesystems.
Sometimes these filesystems go "missing" which prevents ESXi from upgrading/installing causing Hyperflex upgrade to fail.
In python, probably make sure len(cmd(df | grep vfat)) >= 3, otherwise warn about possible missing OS filesystem.
Or verify the return code of cmd(df | grep vfat) = 0.
Or maybe warn when return code of cmd(df | grep vfat) != 0.
Currently HyperCheck checks that these vfat filesystems are present and warn if at 100%.
HyperCheck should also check for the presence of the filesystems. Sometimes these filesystems go "missing" which prevents ESXi from upgrading/installing causing Hyperflex upgrade to fail.
In python, probably make sure len(cmd(
df | grep vfat
)) >= 3, otherwise warn about possible missing OS filesystem. Or verify the return code of cmd(df | grep vfat
) = 0. Or maybe warn when return code of cmd(df | grep vfat
) != 0.