The lctl commands need to be run on the MDS. Cheers, Andreas
> On Aug 9, 2018, at 11:49, Ms. Megan Larko <dobsonu...@gmail.com> wrote: > > 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 > > _______________________________________________ > lustre-discuss mailing list > lustre-discuss@lists.lustre.org > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org