<div dir="ltr"><div><div>Thanks, Andreas.   That worked.<br><br></div><div>EXAMPLE: on MDS<br></div><div>> lctl lfsck_query -t namespace -M meg1-MDT0000<br></div><div>namespace_mdts_init: 0<br></div><div>namespace_mdts_scanning-phase1: 0<br></div><div>namespace_scaning-phase2: 0<br>   .<br>   .<br>   .<br></div><div>namespace_repaired: 0<br><br></div><div>Currently the values for me are all zeroes--happy file system.<br></div><div><br></div>Cheers,<br></div>m<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 9, 2018 at 11:02 PM, Andreas Dilger <span dir="ltr"><<a href="mailto:adilger@whamcloud.com" target="_blank">adilger@whamcloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The lctl commands need to be run on the MDS. <br>
<br>
Cheers, Andreas<br>
<div><div class="h5"><br>
> On Aug 9, 2018, at 11:49, Ms. Megan Larko <<a href="mailto:dobsonunit@gmail.com">dobsonunit@gmail.com</a>> wrote:<br>
> <br>
> Howdy List!<br>
> <br>
> I am checking Lustre-2.10.4 (kernel 3.10.0-693 on CentOS 7.3.1611).<br>
> I am having trouble using lctl lfsck.  I believe I am not using the proper syntax.  The manual page, "man 8 lctl-lfsck-start" (or query in place of start) is not providing me the info I seek (or rather I just am not 'getting' it).<br>
> <br>
> All of my queries (shown below) have the same response.<br>
> > lctl lfsck_query -t namespace --device meg1-MDT0000<br>
> Fail to query LFSCK: Invalid argument<br>
> > lctl lfsck_query --device meg1-MDT0000<br>
> Fail to query LFSCK: Invalid argument<br>
> > lctl lfsck_query -M meg1-MDT0000<br>
> Fail....<br>
> > lctl lfsck_query -M 4    # lctl dl shows MDT as device num. 4<br>
> Fail ....<br>
> <br>
> I am running this on the Lustre client.  The lctl command is from:<br>
> > rpm -qf /usr/sbin/lctl<br>
> lustre-2.10.4-1.el7.centos.<wbr>x86_64<br>
> <br>
> I would like to test the lsfck_query|start|stop function.<br>
> <br>
> P.S.  Can an actual--non-dryrun--lfsck be run on a mounted active Lustre File System?<br>
> <br>
> Cheers,<br>
> megan<br>
> <br>
</div></div>> ______________________________<wbr>_________________<br>
> lustre-discuss mailing list<br>
> <a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
> <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
</blockquote></div><br></div>