[LU-10921] Re-striping of DoM file returns success but no effect/change Created: 17/Apr/18 Updated: 25/Jun/18 Resolved: 19/Jun/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Rahul Deshmukh (Inactive) | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
# lfs setstripe -E 1M -L mdt /mnt/lustre/dom # lfs setstripe -E 64K -L mdt /mnt/lustre/dom # lfs getstripe /mnt/lustre/dom /mnt/lustre/dom lcm_layout_gen: 1 lcm_mirror_count: 1 lcm_entry_count: 1 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 0 |
| Comments |
| Comment by Peter Jones [ 18/Apr/18 ] |
|
Mike Could you please advise? Thanks Peter |
| Comment by Andreas Dilger [ 19/Apr/18 ] |
|
This appears to be true for any composite layout (i.e. using -E), regardless of whether DoM is used or not. Using lfs setstripe with a plain layout (e.g. only -c2) prints an error "stripe already set". |
| Comment by Mikhail Pershin [ 15/May/18 ] |
|
yes, I've noticed that too while trying to create FLR layouts. Andreas, do you think it will be enough to return the same error for composite layout case? |
| Comment by Andreas Dilger [ 15/May/18 ] |
|
It would probably be OK, but it is also tricky since components can be added to existing files, while it is not possible to do this with plain layouts. |
| Comment by Gerrit Updater [ 16/May/18 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32442 |
| Comment by Andreas Dilger [ 16/May/18 ] |
|
This patch doesn't resolve the core problem, but at least improves the existing error messages to be more user friendly. |
| Comment by Gerrit Updater [ 14/Jun/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32442/ |
| Comment by Peter Jones [ 19/Jun/18 ] |
|
Landed for 2.12 |