[LU-13668] open-for-read should not conflict with mirror creation Created: 12/Jun/20 Updated: 14/Jan/22 Resolved: 11/Sep/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HPv3 | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
it should be possible to create mirror(s) while a file is opened for read. |
| Comments |
| Comment by Alex Zhuravlev [ 15/Jun/20 ] |
|
as reported by jhammond even lfs getstripe can interrupt replication: # lfs mirror extend -N /mnt/lustre/f0 & # lfs getstripe /mnt/lustre/f0 ... error: lfs mirror extend: /mnt/lustre/f0: data copy failed: Device or resource busy |
| Comment by Gerrit Updater [ 17/Jun/20 ] |
|
Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38964 |
| Comment by Jian Yu [ 20/Jun/20 ] |
|
I hit the same issue while reading or writing to a file that is being replicated: # lfs mirror extend -N --pool=slow_pool -c 3 /mnt/lustre/dir/file & [1] 55601 # tail /mnt/lustre/dir/file <~snip~> error: lfs mirror extend: /mnt/lustre/dir/file: data copy failed: Device or resource busy # lfs mirror extend -N --pool=slow_pool -c 3 /mnt/lustre/dir/file & [1] 55603 # echo foo >> /mnt/lustre/dir/file error: lfs mirror extend: /mnt/lustre/dir/file: data copy failed: Device or resource busy |
| Comment by Gerrit Updater [ 11/Sep/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/38964/ |
| Comment by Peter Jones [ 11/Sep/21 ] |
|
Landed for 2.15 |
| Comment by Gerrit Updater [ 14/Jan/22 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46113 |
| Comment by Etienne Aujames [ 14/Jan/22 ] |
|
This issue could be annoying when migrating files with "--non-blocking" option on a filesystem with a scanning software (like robinhood). |