[LU-6198] large-lun test_1, test_2 defects: lustre format is not restored Created: 02/Feb/15  Updated: 17/May/16  Resolved: 21/Jul/15

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

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch, test
Severity: 3
Rank (Obsolete): 17327

 Description   

setupall()->start ost called at the end of large-lun.sh
fails to start the ost devices which leads test_1() and
test_2() fail if run separately.
The reasons are:
1) osts data are destroyed by test_1()->llverdev
2) osts are reformatted by test_2, but mds config not changed

To reproduce:

# sh llmount.sh
# ONLY=1 sh large-lun.sh

xtrace:

+ true
+ setupall
...
+ start ost1 /dev/vdb -o user_xattr
...
+ /usr/bin/pdsh -R ssh -S -w fre806 '(PATH=$PATH:/usr/lib64/lustre/utils:/usr/lib64/lustre/tests:/sbin:/usr/sbin; cd /usr/lib64/lustre/tests; LUSTRE="/usr/lib64/lustre" sh -c "mkdir -p /mnt/ost1; mount -t lustre -o user_xattr                                  /dev/vdb /mnt/ost1")'
+ sed 's/^fre806: //'
fre806: mount.lustre: /dev/vdb has not been formatted with mkfs.lustre or the backend filesystem type is not supported by this tool
pdsh@fre807: fre806: ssh exited with exit code 19
+ return 19
# NOFORMAT=: sh llmount.sh
Checking servers environments
Checking clients fre807 environments
Loading modules from /usr/lib64/lustre/tests/..
detected 2 online CPUs by sysfs
...
Starting ost1: -o user_xattr  /dev/vdb /mnt/ost1
fre806: mount.lustre: /dev/vdb has not been formatted with mkfs.lustre or the backend filesystem type is not supported by this tool
pdsh@fre807: fre806: ssh exited with exit code 19
[root@fre807 tests]# 


 Comments   
Comment by Gerrit Updater [ 02/Feb/15 ]

Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/13601
Subject: LU-6198 test: fix large-lun test_1, test_2 defects
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2fd4b1b75c86c64e506abf1c5ab34c04be50560f

Comment by Gerrit Updater [ 21/Jul/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13601/
Subject: LU-6198 test: fix large-lun test_1, test_2 defects
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 935d49c9c19edb8a71d281bbbca2c8e801cb81af

Comment by Peter Jones [ 21/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 01:58:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.