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

ls -l returns "ls: cannot access Invalid argument"

Details

    • 2
    • 9223372036854775807

    Description

      After upgrading from 2.7 to 2.10.5 unable to access 97050 files all in the same directory
      Here is an example

      bash-4.3$ lfs getstripe -d .
      stripe_count:  -1 stripe_size:   1048576 stripe_offset: -1
      
      bash-4.3$ lfs path2fid .
      [0x224179d4c:0x1a0a:0x0]
      
      bash-4.3$ ls -l Eta.0000707880.data
      ls: cannot access 'Eta.0000707880.data': Invalid argument
      
      bash-4.3$ lfs path2fid Eta.0000707880.data
      [0x224179d4c:0x2883:0x0]
      

      Attaching lfs getstripe out  and stat of each object.

      Eta.0000707880.data.obj_stats

      Attachments

        1. s219.dk.out.gz
          24.32 MB
        2. ls_client_debug.out
          74 kB
        3. Eta.0000707880.data.stripeinfo
          8 kB
        4. Eta.0000707880.data.obj_stats
          111 kB

        Issue Links

          Activity

            [LU-11625] ls -l returns "ls: cannot access Invalid argument"

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34304/
            Subject: LU-11625 ofd: handle upgraded filter_fid properly
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: e18486abdb1192bbb7402a5970521e6d52ced382

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34304/ Subject: LU-11625 ofd: handle upgraded filter_fid properly Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: e18486abdb1192bbb7402a5970521e6d52ced382

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34304
            Subject: LU-11625 ofd: handle upgraded filter_fid properly
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: e19de1850fcc80791a7a701f9290534104aed0e9

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34304 Subject: LU-11625 ofd: handle upgraded filter_fid properly Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: e19de1850fcc80791a7a701f9290534104aed0e9

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33958/
            Subject: LU-11625 ofd: handle upgraded filter_fid properly
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: e23385f9b0184462e42c2a00fc46d43650d6b1cc

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33958/ Subject: LU-11625 ofd: handle upgraded filter_fid properly Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: e23385f9b0184462e42c2a00fc46d43650d6b1cc
            bzzz Alex Zhuravlev added a comment - - edited

            mhanafi no, you don't need to change the clients. the idea is that the server upgrades LOV EA properly.

            bzzz Alex Zhuravlev added a comment - - edited mhanafi no, you don't need to change the clients. the idea is that the server upgrades LOV EA properly.

            Is the patch required on the client side? Or can this fix work work older clients?

            mhanafi Mahmoud Hanafi added a comment - Is the patch required on the client side? Or can this fix work work older clients?
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33627/
            Subject: LU-11625 ofd: handle upgraded filter_fid properly
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 381a8cdd527ce4deccfc3f7eb461892f6f2f3fff

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33627/ Subject: LU-11625 ofd: handle upgraded filter_fid properly Project: fs/lustre-release Branch: master Current Patch Set: Commit: 381a8cdd527ce4deccfc3f7eb461892f6f2f3fff
            pjones Peter Jones added a comment -

            Mahmoud

            The patch is undergoing pre-landing testing ATM so hopefully will land in the coming days.

            Peter

            pjones Peter Jones added a comment - Mahmoud The patch is undergoing pre-landing testing ATM so hopefully will land in the coming days. Peter

            Please provide an update on the status of the patch.

            mhanafi Mahmoud Hanafi added a comment - Please provide an update on the status of the patch.

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33958
            Subject: LU-11625 ofd: handle upgraded filter_fid properly
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 6d77bd656efcf3c5e2f9e934f5c6dd55d69fecba

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33958 Subject: LU-11625 ofd: handle upgraded filter_fid properly Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 6d77bd656efcf3c5e2f9e934f5c6dd55d69fecba

            People

              bzzz Alex Zhuravlev
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: