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

debugfs stat reports invalid EA entry in inode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.7.0, Lustre 2.5.3
    • e2fsprogs-1.42.13.wc4
    • 3
    • 9223372036854775807

    Description

      Cannot get file extended attributes using debugfs stat command

      debugfs: stat fs68.lmf
      Inode: 139 Type: regular Mode: 0644 Flags: 0x0
      Generation: 100269556 Version: 0x00000001:00000032
      User: 50304 Group: 1638 Size: 0
      File ACL: 0 Directory ACL: 0
      Links: 1 Blockcount: 0
      Fragment: Address: 0 Number: 0 Size: 0
      ctime: 0x56f55e9f:00000000 – Fri Mar 25 16:51:59 2016
      atime: 0x5582a136:00000000 – Thu Jun 18 12:45:10 2015
      mtime: 0x5582a136:00000000 – Thu Jun 18 12:45:10 2015
      crtime: 0x56f55e9f:7b34df44 – Fri Mar 25 16:51:59 2016
      Size of extra inode fields: 28
      Extended attributes stored in inode body:
      invalid EA entry in inode
      BLOCKS:

      BTW, extended attributes are correctly reported by a former e2fsprogs version (<1.42.13.wc3)

      Extended attributes stored in inode body:
      lma = "00 00 00 00 00 00 00 00 00 04 00 c0 02 00 00 00 0b 00 00 00 00 00 00 00 " (24)
      lma: fid=[0x2c0000400:0xb:0x0] compat=0 incompat=0
      lov = "d0 0b d1 0b 01 00 00 00 0b 00 00 00 00 00 00 00 00 04 00 c0 02 00 00 00 00 00 10 00 01 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00" (56)
      link = "df f1 ea 11 01 00 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 0 00 00 00 1a 00 00 00 02 c0 00 04 00 00 00 00 01 00 00 00 00 66 73 36 38 2e 6c 6d 66 " (50)

      Here is the related raw inode dump:

      debugfs: inode_dump fs68.lmf
      0000 a481 80c4 0000 0000 36a1 8255 9f5e f556 ........6..U.^.V
      0020 36a1 8255 0000 0000 6606 0100 0000 0000 6..U....f.......
      0040 0000 0000 3200 0000 0000 0000 0000 0000 ....2...........
      0060 0000 0000 0000 0000 0000 0000 0000 0000 ................
      *
      0140 0000 0000 f4fd f905 0000 0000 0000 0000 ................
      0160 0000 0000 0000 0000 0000 0000 0000 0000 ................
      0200 1c00 0000 0000 0000 0000 0000 0000 0000 ................
      0220 9f5e f556 44df 347b 0100 0000 0000 02ea .^.VD.4{........
      0240 0304 4801 0000 0000 1800 0000 0000 0000 ..H.............
      0260 6c6d 6100 0304 1001 0000 0000 3800 0000 lma.........8...
      0300 0000 0000 6c6f 7600 0404 dc00 0000 0000 ....lov.........
      0320 3200 0000 0000 0000 6c69 6e6b 0000 0000 2.......link....
      0340 0000 0000 0000 0000 0000 0000 0000 0000 ................
      *
      0560 0000 0000 0000 0000 0000 0000 dff1 ea11 ................
      0600 0100 0000 3200 0000 0000 0000 0000 0000 ....2...........
      0620 0000 0000 001a 0000 0002 c000 0400 0000 ................
      0640 0001 0000 0000 6673 3638 2e6c 6d66 0000 ......fs68.lmf..
      0660 d00b d10b 0100 0000 0b00 0000 0000 0000 ................
      0700 0004 00c0 0200 0000 0000 1000 0100 0000 ................
      0720 0400 0000 0000 0000 0000 0000 0000 0000 ................
      0740 0000 0000 0200 0000 0000 0000 0000 0000 ................
      0760 0004 00c0 0200 0000 0b00 0000 0000 0000 ................

      Attachments

        Issue Links

          Activity

            People

              ys Yang Sheng
              FSaunier Frederic Saunier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: