[LU-17199] 'lfs setstripe -C -1' can be set beyond overstripe count > 2000 Created: 16/Oct/23 Updated: 30/Oct/23 Resolved: 27/Oct/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shuichi Ihara | Assignee: | Sergey Cheremencev |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
[root@ec01 ~]# lfs setstripe -C 2000 /lustre/out [root@ec01 ~]# lfs setstripe -C 2001 /lustre/out lfs setstripe setstripe: invalid stripe count '2001' To create a file with specified striping/composite layout, or create/replace the default layout on an existing directory: 'lfs setstripe -C 2000' works, but '-C 2001' doesn't work. that's expected. However, 'lfs setstripe -C -1' can be set beyond overstripe count 2000. [root@ec01 ~]# lfs setstripe -C -1 /lustre/out [root@ec01 ~]# lfs getstripe /lustre/out/a | grep 0x | wc -l 2727 |
| Comments |
| Comment by Andreas Dilger [ 16/Oct/23 ] |
|
This issue has already been fixed in master by limiting the "-C -1" stripe count to LOV_MAX_STRIPE_COUNT by patch https://review.whamcloud.com/50250 " |
| Comment by Peter Jones [ 27/Oct/23 ] |
|
Duplicate of |