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

sanity-lfsck test_18d failure: Expect file2 size 4, but got 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.6.0
    • Lustre 2.5.60 on the OpenSFS cluster, CentOS 6.5 with one server (mds01) with a MGS and MDS with two MDTs, another server (mds02) with MDS and two MDTs, four OSSs with two OSTs each and four clients.
    • 3
    • 14538

    Description

      Running sanity-lfsck with the stated environment, tests 18c, 18d, 18e, and 19a fail and test 19b hangs. Test results are at https://maloo.whamcloud.com/test_sessions/5ad54b54-f5a5-11e3-b29e-52540035b04c .

      sanity-lfsck test 18d fails with the error:

      sanity-lfsck test_18d: @@@@@@ FAIL: (6) Expect file2 size 4, but got 0
      

      The file size of 0 is correct

      ls -il /lustre/scratch/d18d.sanity-lfsck/a1/f2
      216172799293652997 -rw-r--r-- 1 bin bin 0 Jun 16 16:00 /lustre/scratch/d18d.sanity-lfsck/a1/f2
      

      Calling

      do_facet mds1 /usr/sbin/lctl get_param -n mdd.scratch-MDT0000.lfsck_layout 

      before the call to ls shows:

      name: lfsck_layout
      magic: 0xb173ae14
      version: 2
      status: completed
      flags:
      param: all_targets,orphan,create_ostobj
      time_since_last_completed: 2 seconds
      time_since_latest_start: 7 seconds
      time_since_last_checkpoint: 2 seconds
      latest_start_position: 0
      last_checkpoint_position: 25097
      first_failure_position: 0
      success_count: 1
      repaired_dangling: 1
      repaired_unmatched_pair: 0
      repaired_multiple_referenced: 0
      repaired_orphan: 1
      repaired_inconsistent_owner: 0
      repaired_others: 0
      skipped: 0
      failed_phase1: 0
      failed_phase2: 0
      checked_phase1: 9
      checked_phase2: 1
      run_time_phase1: 0 seconds
      run_time_phase2: 5 seconds
      average_speed_phase1: 9 items/sec
      average_speed_phase2: 0 objs/sec
      real-time_speed_phase1: N/A
      real-time_speed_phase2: N/A
      current_position: N/A
      

      Attachments

        Issue Links

          Activity

            People

              yong.fan nasf (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: