[LU-7548] Missing --mods option of e2fsck in test lfsck.sh Created: 13/Dec/15  Updated: 13/Dec/15  Resolved: 13/Dec/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Li Xi (Inactive) Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-7301 change test-framework to exclude the ... Resolved
Severity: 3
Rank (Obsolete): 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()



 Comments   
Comment by Andreas Dilger [ 13/Dec/15 ]

The lfsck.sh test is obsolete. Please see http://review.whamcloud.com/16237 for the removal of this test script.

Comment by Li Xi (Inactive) [ 13/Dec/15 ]

Thank you for the information! Please mark this ticket duplicated with LU-7301.

Generated at Sat Feb 10 02:09:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.