[lustre-discuss] Using lctl lfsck syntax issues
Ms. Megan Larko
dobsonunit at gmail.com
Fri Aug 10 05:57:16 PDT 2018
Thanks, Andreas. That worked.
EXAMPLE: on MDS
> lctl lfsck_query -t namespace -M meg1-MDT0000
namespace_mdts_init: 0
namespace_mdts_scanning-phase1: 0
namespace_scaning-phase2: 0
.
.
.
namespace_repaired: 0
Currently the values for me are all zeroes--happy file system.
Cheers,
m
On Thu, Aug 9, 2018 at 11:02 PM, Andreas Dilger <adilger at whamcloud.com>
wrote:
> The lctl commands need to be run on the MDS.
>
> Cheers, Andreas
>
> > On Aug 9, 2018, at 11:49, Ms. Megan Larko <dobsonunit at 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 at lists.lustre.org
> > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180810/f6d66ca1/attachment.html>
More information about the lustre-discuss
mailing list