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

OST object missing parent fid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.12.4
    • None
    • 3
    • 9223372036854775807

    Description

      We have files who's object are missing parent fid. For example this file:

      # lfs getstripe img.0291328.ppm# lfs getstripe 
      img.0291328.ppmimg.0291328.ppmlmm_stripe_count:  4lmm_stripe_size:   1048576lmm_pattern:       raid0lmm_layout_gen:    0lmm_stripe_offset: 68 obdidx  objid  objid  group     68        3671546      0x3805fa              0     80        5285906      0x50a812              0     97        5277923      0x5088e3              0    122        6631005      0x652e5d              0
      

      When we look at the first object on ost68 we see the parrent fid is missing.

      # debugfs -c -R "stat /O/0/d26/3671546" /dev/mapper/nbp1_6-OST68
      debugfs 1.45.2.wc1 (27-May-2019)
      /dev/mapper/nbp1_6-OST68: catastrophic mode - not reading inode or group bitmaps
      Inode: 378232   Type: regular    Mode:  01666   Flags: 0x80000
      Generation: 1064600594    Version: 0x0000001b:00041e9e
      User:  4806   Group:  1128   Project:     0   Size: 2097152
      File ACL: 0
      Links: 1   Blockcount: 4096
      Fragment:  Address: 0    Number: 0    Size: 0
       ctime: 0x5d4f4613:00000000 -- Sat Aug 10 15:32:51 2019
       atime: 0x00000000:00000000 -- Wed Dec 31 16:00:00 1969
       mtime: 0x5d4f4613:00000000 -- Sat Aug 10 15:32:51 2019
      crtime: 0x5d4f4187:7a7cf08c -- Sat Aug 10 15:13:27 2019
      Size of extra inode fields: 32
      Extended attributes:
        trusted.lma (64)
        lma: fid=[0x100440000:0x3805fa:0x0] compat=8 incompat=0
        fid: parent=[0:0x0:0x0] stripe=0 stripe_size=0 stripe_count=0
      EXTENTS:
      (0-511):419245056-419245567
      

      How can we fix the object missing parent fid.

      Attachments

        Activity

          People

            hongchao.zhang Hongchao Zhang
            mhanafi Mahmoud Hanafi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: