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

e2fsck reports inode reference count error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • Lustre 2.5.0
    • Lustre 2.5.0
    • None
    • 3
    • 10043

      It can be easily reproduced by:

      sh llmount.sh
      ....
      sh llmountcleanup.sh
      ....
      e2fsck -fn $ost_dev
      

      The e2fsck shows:

      e2fsck 1.42.7.wc1 (12-Apr-2013)
      Pass 1: Checking inodes, blocks, and sizes
      Pass 2: Checking directory structure
      Pass 3: Checking directory connectivity
      Pass 4: Checking reference counts
      Inode 90 ref count is 1, should be 2.  Fix? no
      
      Inode 94 ref count is 1, should be 2.  Fix? no
      
      Inode 105 ref count is 1, should be 2.  Fix? no
      
      Inode 107 ref count is 1, should be 2.  Fix? no
      
      Pass 5: Checking group summary information
      
      lustre-OST0000: ********** WARNING: Filesystem still has errors **********
      
      lustre-OST0000: 293/50016 files (0.7% non-contiguous), 9608/50000 blocks
      

      I tracked the problem and looks it's introduced by commit: e0702769f267dd009a6287bbc9da2760079a101d (LU-3126 osd: remove fld lookup during configuration)

            di.wang Di Wang (Inactive)
            niu Niu Yawei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: