Re: [lustre-discuss] A question about lctl lfsck

2019-07-04 Thread Andreas Dilger
You can use "lctl dk" to dump the kernel debug log on the MDS/OSS nodes, and 
grep for the LFSCK messages, but if there are lots of messages the kernel logs 
would not be enough to hold them all.

Another option is to enable "lctl set_param printk=+lfsck" on the MDS and OSS 
and have it print repair messages to the console, and use syslog filtering 
rules to put those messages into their own log file.

> On Jul 3, 2019, at 14:15, Kurt Strosahl  wrote:
> 
> Good Afternoon,
> 
> Hopefully a simple question... If I run lctl lfsck_start is there a place 
> where I can get a list of what it did?

Cheers, Andreas
--
Andreas Dilger
Principal Lustre Architect
Whamcloud






___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Re: [lustre-discuss] A question about lctl lfsck

2019-07-04 Thread Nathan Dauchy - NOAA Affiliate
On Wed, Jul 3, 2019 at 2:15 PM Kurt Strosahl  wrote:

>
> Hopefully a simple question... If I run lctl lfsck_start is there a place
> where I can get a list of what it did?
>
>
Kurt,

As far as I know, this is still an open feature request...
https://jira.whamcloud.com/browse/LU-5202 (LFSCK 5: LFSCK needs to log all
changes and errors found)

The debug_daemon method is tolerable as a workaround, with the caveat that
you have to periodically run debug_file to dump to a log, since the debug
buffer will definitely fill up before the lfsck finishes, and then
post-process those files to remove duplicates.

Regards,
Nathan
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] A question about lctl lfsck

2019-07-03 Thread Kurt Strosahl
Good Afternoon,

Hopefully a simple question... If I run lctl lfsck_start is there a place where 
I can get a list of what it did?

w/r,

Kurt J. Strosahl
System Administrator: Lustre, HPC
Scientific Computing Group, Thomas Jefferson National Accelerator Facility
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org