Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1738

lfs find cannot find files in OST that died, whilst lfs getstripe can

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.1.2
    • 3
    • 10489

    Description

      OST2 died. When I run lfs getstripe it lists some files as on OST2, but lfs find cannot find them.

      [root@blah ~]# lfs getstripe /mnt/blah/Ac_270_res.txt
      /mnt/blah/Ac_270_res.txt
      lmm_stripe_count: 1
      lmm_stripe_size: 1048576
      lmm_stripe_offset: 2
      obdidx objid objid group
      2 137992 0x21b08 0
      [root@blah ~]# lfs find --obd lustre-OST0002 /mnt/blah
      [root@blah ~]# lfs find -r --obd lustre-OST0002 /mnt/blah # the -r works since it uses getstripe
      lfs find: -q, -r, -v options deprecated. Use 'lfs getstripe' instead.
      /mnt/blah/Ac_270_res.txt

      I think the lfs find should be able to find the files if lfs getstripe can.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              mattwilkins Matt Wilkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: