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

incorrect inode count in lfs df -i

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • Lustre 2.6.0
    • Lustre 1.8.7
    • None
    • 3
    • 10432

    Description

      SFU recently reformatted their MDT to have more inodes, using -i. We did a file-level backup and restore. Everything looks good except client-side df and lfs df are both reporting the old inode count:

      client1# lfs df -i
      UUID Inodes IUsed IFree IUse% Mounted on
      lfs_scra-MDT0000_UUID 121693414 98842604 22850810 81% /global/scratch[MDT:0]
      lfs_scra-OST0000_UUID 119472128 21603481 97868647 18% /global/scratch[OST:0]
      ...

      mds# df -i /dev/vg_lfs_scra/mdt
      Filesystem Inodes IUsed IFree IUse% Mounted on
      /dev/vg_lfs_scra/mdt 251658240 98842604 152815636 40% /lustre/lfs_scra/mdt

      mds# dumpe2fs -h /dev/vg_lfs_scra/mdt
      ...
      Inode count: 251658240
      Block count: 62914560
      Reserved block count: 3145728
      Free blocks: 22850811
      Free inodes: 152815677
      ...

      I'm pretty puzzled by this. Is there something I'm doing wrong? Any other information I can get you?

      Attachments

        Activity

          People

            yujian Jian Yu
            kitwestneat Kit Westneat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: