[lustre-discuss] Correct use of "lctl get_param health_check"
Dominic Sloan-Murphy
dominic.sloanmurphy at canonical.com
Thu Jun 11 13:21:11 UTC 2026
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 at lustre-build:~# mount -t lustre mytestpool/mgsmdt /mnt/mgs_mdt
root at lustre-build:~# mount -t lustre ostpool/ost1 /mnt/ost
root at lustre-build:~# lctl get_param health_check
health_check=healthy
root at lustre-build:~# umount /mnt/ost
root at lustre-build:~# lctl get_param health_check
health_check=healthy
root at lustre-build:~# umount /mnt/mgs_mdt
root at 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 at lustre-build:~# truncate -s 5G /root/mgs_mdt.img
root at lustre-build:~# truncate -s 10G /root/ost.img
root at lustre-build:~# mkfs.lustre --mgs --mdt --backfstype=zfs
--fsname=mytestfs --index=0 mytestpool/mgsmdt /root/mgs_mdt.img
root at lustre-build:~# MGS_IP=$(hostname -I | awk '{print $1}')
root at lustre-build:~# mkfs.lustre --ost --backfstype=zfs --fsname=mytestfs
--mgsnode=${MGS_IP}@tcp0 --index=0 ostpool/ost1 /root/ost.img
Regards,
Dominic
--
[image: Canonical Logo]
Dominic Sloan-Murphy
Software Engineer, High-Performance Computing Team
Email:
dominic.sloanmurphy at canonical.com
Location:
United Kingdom
canonical.com
ubuntu.com
We are hiring
<https://canonical.com/careers?utm_source=signature&utm_medium=email> |
Life at Canonical
<https://www.linkedin.com/company/canonical/life/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss_lists.lustre.org/attachments/20260611/d9bdc969/attachment.html>
More information about the lustre-discuss
mailing list