[LU-16622] allow "lfs find --ost" to accept an OST range Created: 07/Mar/23 Updated: 19/Sep/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Amit |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | easy, lad23dd, lug23dd | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
It would be convenient to allow specifying a range of OSTs to find objects on, like "lfs find /mnt/testfs -type f --ost 8-15". Currently, one has to specify all of the OSTs in a comma-separated list like "... --ost 8,9,10,11,12,13,14,15", which can be inconvenient for large OST lists. Using the bash range syntax like "{8..15}" doesn't work because this will expand to a space-separated list of indices. |
| Comments |
| Comment by Andreas Dilger [ 19/Sep/23 ] |
|
ahkumarsmu, did you ever get anything working for this enhancement? I'm just looking at tickets for the next Lustre hackathon and wondering if you have something for this one already. |