[LU-11603] lfs setstripe of directory one stripe value resets the others Created: 02/Nov/18  Updated: 20/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Nathaniel Clark Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LUDOC-171 Document "lfs setstripe" behavior whe... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Expected behavior is unchanged values remain the same.

 

This is with lustre 2.10.4 client:

[root@ieel-c01 fs1]# mkdir testdir
[root@ieel-c01 fs1]# lfs getstripe -d testdir/
stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
[root@ieel-c01 fs1]# lfs setstripe -S 2M testdir/
[root@ieel-c01 fs1]# lfs setstripe -i -1 testdir/
[root@ieel-c01 fs1]# lfs getstripe -d testdir/
stripe_count:  1 stripe_size:   1048576 stripe_offset: -1

Expected: stripe_count: 1 stripe_size: 2097152 stripe_offset: -1

[root@ieel-c01 fs1]# lfs setstripe -c -1 -S 2M testdir/
[root@ieel-c01 fs1]# lfs getstripe -d testdir/
stripe_count:  -1 stripe_size:   2097152 stripe_offset: -1
[root@ieel-c01 fs1]# lfs setstripe -i 0 testdir/
[root@ieel-c01 fs1]# lfs getstripe -d testdir/
stripe_count:  1 stripe_size:   1048576 stripe_offset: 0

Expected: stripe_count: -1 stripe_size: 2097152 stripe_offset: 0



 Comments   
Comment by Andreas Dilger [ 20/Jan/22 ]

still an issue

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