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
--
[image: Canonical Logo]
Dominic Sloan-Murphy
Software Engineer, High-Performance Computing Team
Email:
[email protected]
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/>
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org