[LU-14413] interop: sanity test 27M fails with '(1) stripe count 1, should be 4' Created: 11/Feb/21 Updated: 24/Mar/22 Resolved: 10/Aug/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.12.8, Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | interop | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
sanity test_27M fails for interop testing between 2.12.x, for x >= 4, clients and Lustre servers with version >= 2.13.51.81. Looking at the suite_log for a recent failure at https://testing.whamcloud.com/test_sets/6027d1c8-86b2-4ebc-97a4-6f10f337bdbf, we can see that the test fails because lfs doesn’t recognize the ‘-C’ flag == sanity test 27M: test O_APPEND striping =========================================================== 00:04:37 (1612829077)
CMD: trevis-203vm4 /usr/sbin/lctl get_param -n version 2>/dev/null ||
/usr/sbin/lctl lustre_build_version 2>/dev/null ||
/usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
lfs setstripe setstripe: unrecognized option '-C'
To create a file with specified striping/composite layout, or
create/replace the default layout on an existing directory:
usage: setstripe [--component-end|-E <comp_end>]
[--stripe-count|-c <stripe_count>]
[--stripe-index|-i <start_ost_idx>]
[--stripe-size|-S <stripe_size>]
[--layout|-L <pattern>]
[--pool|-p <pool_name>]
[--ost|-o <ost_indices>]
[--yaml|-y <yaml_template_file>]
[--copy=<lustre_src>]
<directory|filename>
or
…
The overstriping feature was landed to b2_13 with patch https://review.whamcloud.com/#/c/28425/ which added the ‘-C’ flag to lfs. We did not backport the overstriping feature to b2_12. We backported the patch “ As suggested by Andreas D., the test should work with using ‘lfs -c 4’, or max OSTs if there aren’t four OSTs configured, instead of ‘lfs -C 4’ . As an additional improvement, we should use "save_layout_restore_at_exit $MOUNT" to restore the root directory layout instead of "save_layout_restore_at_exit $MOUNT" . |
| Comments |
| Comment by Gerrit Updater [ 19/Jul/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44340 |
| Comment by Gerrit Updater [ 20/Jul/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44354 |
| Comment by Gerrit Updater [ 10/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44340/ |
| Comment by Peter Jones [ 10/Aug/21 ] |
|
Landed for 2.15 |
| Comment by Gerrit Updater [ 14/Nov/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44354/ |