[lustre-discuss] online LFSCK - detailed output?

Yong, Fan fan.yong at intel.com
Thu Mar 2 16:51:10 PST 2017

Hi Steve,

The online LFSCK has two kinds of main outputs: one is the LFSCK process and statistics, the other is the LFSCK logs about what inconsistencies are found and fixed.

The former one depends on the LFSCK type, can be found via:
1. namespace LFSCK: "lctl get_param -n mdd.${MDT_DEV}.lfsck_namespace"
2. layout LFSCK "lctl get_param -n obdfilter.${DEV}.lfsck_layout"
3. oi_scrub: "lctl get_param -n osd-ldiskfs.${MDT_DEV}.oi_scrub"

The latter one needs to be dumped on related server (MDT and/or OST) via "lctl dk" with lfsck debug enabled (lctl set_param debug=+lfsck).

-----Original Message-----
From: lustre-discuss [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Steve Barnet
Sent: Friday, March 3, 2017 2:28 AM
To: lustre-discuss at lists.lustre.org
Subject: [lustre-discuss] online LFSCK - detailed output?

Hi all,

   I have a filesystem that definitely has some consistency errors (very long tail of woe). I'm planning to run the online LFSCK to find and fix these errors. At the moment, I'm just doing a dry run to get a feel for how much corruption it's finding.

   One thing that would be very interesting would be more detailed output about corrective actions that *would be* taken. The traditional filesystem fsck provide this sort of information with the right flags. You can also capture the output of a live run which is occasionally very helpful.

   I've been poking around the documentation, and I don't see that it is possible to do this for the online check. Is there any option (possibly undocumented :-) ) for doing this? We're running the 2.8.0 community edition.



lustre-discuss mailing list
lustre-discuss at lists.lustre.org

More information about the lustre-discuss mailing list