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

Missing --mods option of e2fsck in test lfsck.sh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Got following error when running lfsck.sh. e2fsck has no --mdsdb option. Maybe the test script is outdated?

      CMD: atest-vm27 e2fsck -d -v -t -t -f -n --mdsdb /mnt/nfs/mdsdb /dev/sdb
      atest-vm27: e2fsck: invalid option – '-'
      atest-vm27: Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
      atest-vm27: [-I inode_buffer_blocks] [-P process_inode_size]
      atest-vm27: [-l|-L bad_blocks_file] [-C fd] [-j external_journal]
      atest-vm27: [-E extended-options] device
      atest-vm27:
      atest-vm27: Emergency help:
      atest-vm27: -p Automatic repair (no questions)
      atest-vm27: -n Make no changes to the filesystem
      atest-vm27: -y Assume "yes" to all questions
      atest-vm27: -c Check for bad blocks and add them to the badblock list
      atest-vm27: -f Force checking even if filesystem is marked clean
      atest-vm27: -v Be verbose
      atest-vm27: -b superblock Use alternative superblock
      atest-vm27: -B blocksize Force blocksize when looking for superblock
      atest-vm27: -j external_journal Set location of the external journal
      atest-vm27: -l bad_blocks_file Add to badblocks list
      atest-vm27: -L bad_blocks_file Set badblocks list
      lfsck : @@@@@@ FAIL: e2fsck -d -v -t -t -f -n --mdsdb /mnt/nfs/mdsdb /dev/sdb returned 16, should be <= 1
      Trace dump:
      = /usr/lib64/lustre/tests/test-framework.sh:4421:error_noexit()
      = /usr/lib64/lustre/tests/test-framework.sh:4452:error()
      = /usr/lib64/lustre/tests/test-framework.sh:3850:run_e2fsck()
      = /usr/lib64/lustre/tests/test-framework.sh:3884:generate_db()
      = /usr/lib64/lustre/tests/lfsck.sh:239:main()

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              lixi Li Xi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: