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

ldiskfs_dx_add_entry large directory

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.12.3
    • None
    • CentOS7
    • 3
    • 9223372036854775807

    Description

      We are seeing a lot of warnings in our MDT logs:
      May 28 19:24:13 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:14 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413065: comm mdt00_084: index 2: reach max htree level
      2
      May 28 19:24:14 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:14 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413066: comm mdt01_069: index 2: reach max htree level
      2
      May 28 19:24:14 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:15 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413065: comm mdt02_115: index 2: reach max htree level
      2
      May 28 19:24:15 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:17 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413066: comm mdt02_036: index 2: reach max htree level
      2
      May 28 19:24:17 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:21 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413066: comm mdt03_119: index 2: reach max htree level
      2
      May 28 19:24:21 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:21 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413061: comm mdt00_075: index 2: reach max htree level
      2
      May 28 19:24:21 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
      May 28 19:24:25 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2624: inode 71413060: comm mdt03_106: index 2: reach max htree level
      2
      May 28 19:24:25 holyscratch01mds01 kernel: LDISKFS-fs warning (device dm-4): ldiskfs_dx_add_entry:2628: Large directory feature is not enabled on this filesystem
       

      I'm guessing this is related to a directory having too many files in it.  Is there a way to figure out which directory it is?  Can an inode number be correlated back to a filesystem path?

      Paul Edmon

      Attachments

        Issue Links

          Activity

            [LU-13610] ldiskfs_dx_add_entry large directory
            pjones Peter Jones added a comment -

            Ah great!

            pjones Peter Jones added a comment - Ah great!

            We found this: https://jira.whamcloud.com/browse/LU-12892, and the lfs fid2path tool.  That solved this issue.  Thanks

            pedmon Paul Edmon (Inactive) added a comment - We found this: https://jira.whamcloud.com/browse/LU-12892 , and the lfs fid2path tool.  That solved this issue.  Thanks

            Also we are seeing this:

            May 28 21:45:41 holyscratch01mds01 kernel: Lustre: 180976:0:(osd_handler.c:501:osd_ldiskfs_add_entry()) scratch1-MDT0000: directory (inode: 71413065, FID: [0x20001ef38:0x5b48
            :0x0]) has reached maximum entry limit

            pedmon Paul Edmon (Inactive) added a comment - Also we are seeing this: May 28 21:45:41 holyscratch01mds01 kernel: Lustre: 180976:0:(osd_handler.c:501:osd_ldiskfs_add_entry()) scratch1-MDT0000: directory (inode: 71413065, FID: [0x20001ef38:0x5b48 :0x0]) has reached maximum entry limit

            People

              wc-triage WC Triage
              pauledmon Paul Edmon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: