[lustre-discuss] Using lctl lfsck syntax issues

Ms. Megan Larko dobsonunit at gmail.com
Thu Aug 9 10:49:27 PDT 2018


Howdy List!

I am checking Lustre-2.10.4 (kernel 3.10.0-693 on CentOS 7.3.1611).
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).

All of my queries (shown below) have the same response.
> lctl lfsck_query -t namespace --device meg1-MDT0000
Fail to query LFSCK: Invalid argument
> lctl lfsck_query --device meg1-MDT0000
Fail to query LFSCK: Invalid argument
> lctl lfsck_query -M meg1-MDT0000
Fail....
> lctl lfsck_query -M 4    # lctl dl shows MDT as device num. 4
Fail ....

I am running this on the Lustre client.  The lctl command is from:
> rpm -qf /usr/sbin/lctl
lustre-2.10.4-1.el7.centos.x86_64

I would like to test the lsfck_query|start|stop function.

P.S.  Can an actual--non-dryrun--lfsck be run on a mounted active Lustre
File System?

Cheers,
megan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180809/82c44640/attachment.html>


More information about the lustre-discuss mailing list