Hi Dominic, If health_check returns an error, there is something bad. If health_check returns healthy, run more checks.
This is more like required, but not sufficient. It catches errors reported by Lustre targets, but that's all. Aurélien ________________________________ De : lustre-discuss <[email protected]> de la part de Dominic Sloan-Murphy via lustre-discuss <[email protected]> Envoyé : jeudi 11 juin 2026 15:21 À : [email protected] <[email protected]> Objet : [lustre-discuss] Correct use of "lctl get_param health_check" External email: Use caution opening links or attachments Hi all, Would you be able to advise on the correct use of the "lctl get_param health_check" command from https://wiki.lustre.org/Lustre_Health_Checks and under which circumstances it reports errors? I've found it always returns "healthy", even when I intentionally break my test setup. For example, removing Lustre mounts: root@lustre-build:~# mount -t lustre mytestpool/mgsmdt /mnt/mgs_mdt root@lustre-build:~# mount -t lustre ostpool/ost1 /mnt/ost root@lustre-build:~# lctl get_param health_check health_check=healthy root@lustre-build:~# umount /mnt/ost root@lustre-build:~# lctl get_param health_check health_check=healthy root@lustre-build:~# umount /mnt/mgs_mdt root@lustre-build:~# lctl get_param health_check health_check=healthy My setup is a single Ubuntu 24.04 VM with Lustre 2.17 built from source. The Lustre file system was created with: root@lustre-build:~# truncate -s 5G /root/mgs_mdt.img root@lustre-build:~# truncate -s 10G /root/ost.img root@lustre-build:~# mkfs.lustre --mgs --mdt --backfstype=zfs --fsname=mytestfs --index=0 mytestpool/mgsmdt /root/mgs_mdt.img root@lustre-build:~# MGS_IP=$(hostname -I | awk '{print $1}') root@lustre-build:~# mkfs.lustre --ost --backfstype=zfs --fsname=mytestfs --mgsnode=${MGS_IP}@tcp0 --index=0 ostpool/ost1 /root/ost.img Regards, Dominic -- [Canonical Logo] Dominic Sloan-Murphy Software Engineer, High-Performance Computing Team Email: [email protected]<mailto:[email protected]> Location: United Kingdom <https://canonical.com/> canonical.com <https://ubuntu.com/> ubuntu.com <https://canonical.com/careers?utm_source=signature&utm_medium=email> We are hiring | <https://www.linkedin.com/company/canonical/life/> Life at Canonical
_______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
